[jira] [Commented] (VELOCITY-952) Velocity is calling the "wrong" method

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17772341#comment-17772341 ] Christopher Schultz commented on VELOCITY-952: -- I reported this as VELOCITY-968

[jira] [Resolved] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELOCITY-968. -- Resolution: Duplicate Duplicate of VELOCITY-952 > In Java

[jira] [Commented] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17772338#comment-17772338 ] Christopher Schultz commented on VELOCITY-968: -- Yes, it does indeed look like a duplicate

[jira] [Comment Edited] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17772335#comment-17772335 ] Christopher Schultz edited comment on VELOCITY-968 at 10/5/23 6:28 PM

[jira] [Commented] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17772335#comment-17772335 ] Christopher Schultz commented on VELOCITY-968: -- Maybe

[jira] [Updated] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz updated VELOCITY-968: - Description: When running under Java 17 or later, introspection often picks

[jira] [Created] (VELOCITY-968) In Java 17+, introspection fails in many cases due to permissions

2023-10-05 Thread Christopher Schultz (Jira)
Christopher Schultz created VELOCITY-968: Summary: In Java 17+, introspection fails in many cases due to permissions Key: VELOCITY-968 URL: https://issues.apache.org/jira/browse/VELOCITY-968

[jira] [Commented] (VELTOOLS-184) EscapeTool: add a json method, or a javascript method with a second parameter

2022-11-18 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17636051#comment-17636051 ] Christopher Schultz commented on VELTOOLS-184: -- I stand corrected. > EscapeTool:

[jira] [Comment Edited] (VELTOOLS-184) EscapeTool: add a json method, or a javascript method with a second parameter

2022-11-18 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635999#comment-17635999 ] Christopher Schultz edited comment on VELTOOLS-184 at 11/18/22 7:12 PM

[jira] [Commented] (VELTOOLS-184) EscapeTool: add a json method, or a javascript method with a second parameter

2022-11-18 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17635999#comment-17635999 ] Christopher Schultz commented on VELTOOLS-184: -- I'm sorry, but whatever JSON parser you

[jira] [Updated] (VELTOOLS-196) MathTool.matchType can truncate integral values

2022-05-18 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz updated VELTOOLS-196: - Description: I found this while trying to create random numbers with a huge

[jira] [Created] (VELTOOLS-196) MathTool.matchType can truncate integral values

2022-05-18 Thread Christopher Schultz (Jira)
Christopher Schultz created VELTOOLS-196: Summary: MathTool.matchType can truncate integral values Key: VELTOOLS-196 URL: https://issues.apache.org/jira/browse/VELTOOLS-196 Project: Velocity

[jira] [Resolved] (VELOCITY-949) Extra whitespaces in converting from Word to PDF

2022-01-25 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELOCITY-949. -- Resolution: Duplicate > Extra whitespaces in converting from Word to

[jira] [Commented] (VELOCITY-950) Skipping empty lines

2022-01-25 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17481889#comment-17481889 ] Christopher Schultz commented on VELOCITY-950: -- [~igalkin98] Just remove the completely

[jira] [Resolved] (VELTOOLS-191) Upgrading commons-validator past v1.4.1 and still trying to use javascript validation causes NullPointerException

2021-10-27 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-191. -- Fix Version/s: 2.x Assignee: Christopher Schultz Resolution

[jira] [Commented] (VELTOOLS-191) Upgrading commons-validator past v1.4.1 and still trying to use javascript validation causes NullPointerException

2021-10-27 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17435018#comment-17435018 ] Christopher Schultz commented on VELTOOLS-191: -- Exception stack trace

[jira] [Comment Edited] (VELTOOLS-191) Upgrading commons-validator past v1.4.1 and still trying to use javascript validation causes NullPointerException

2021-10-27 Thread Christopher Schultz (Jira)
[ https://issues.apache.org/jira/browse/VELTOOLS-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17435018#comment-17435018 ] Christopher Schultz edited comment on VELTOOLS-191 at 10/27/21, 7:14 PM

[jira] [Created] (VELTOOLS-191) Upgrading commons-validator past v1.4.1 and still trying to use javascript validation causes NullPointerException

2021-10-27 Thread Christopher Schultz (Jira)
Christopher Schultz created VELTOOLS-191: Summary: Upgrading commons-validator past v1.4.1 and still trying to use javascript validation causes NullPointerException Key: VELTOOLS-191 URL: https

Re: 1.7.x backport for [SecureUberspector should block methods on ClassLoader and subclasses]

2021-04-30 Thread Christopher Schultz
Claude, On 3/23/21 03:06, Claude Brisson wrote: If I go to this page:     https://wiki.shibboleth.net/confluence/display/OS30/Home the first thing I see is the not at the top which states:     "The OpenSAML 3 software has reached its End of Life and is no longer supported. This space is

Re: Limiting VelocityLayoutServlet buffer size

2020-12-18 Thread Christopher Schultz
der sb, int iterations, int size) { for(int i=0; ipublic static void exercise(StringBuffer sb, int iterations, int size) { for(int i=0; i On Mon, Dec 14, 2020 at 8:38 AM Christopher Schultz < ch...@christopherschultz.net> wrote: Nathan, On 12/14/20 11:15, Nathan Bubn

[tools] Errors running 2.0.x branch unit tests in trunk

2020-12-14 Thread Christopher Schultz
All, I realize that 2.0 is a little long in the tooth, but I haven't yet moved to 3.0 (I still need Struts support) and so I'm working with that for the time being. $ svn checkout http://svn.apache.org/repos/asf/velocity/tools/branches/2.0.x velocity-tools-2.0.x $ cd velocity-tools-2.0.x

Re: Limiting VelocityLayoutServlet buffer size

2020-12-14 Thread Christopher Schultz
in commons-lang or similar existing dependencies that might fit the billing, so I have left it alone for now. -chris On Mon, Dec 14, 2020 at 8:01 AM Christopher Schultz < ch...@christopherschultz.net> wrote: All, We recently suffered an OOME in production because we had a huge SQL qu

Limiting VelocityLayoutServlet buffer size

2020-12-14 Thread Christopher Schultz
All, We recently suffered an OOME in production because we had a huge SQL query return a log of data which, in turn, generated even more HTML output for a particular screen. We got an OOME with ASTNode.render trying to call StringWriter.write (which calls StringBuffer's auto-re-sizing)

Re: [OT] Problems with commons-beanutils-1.9.4

2020-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Claude, On 2/7/20 02:09, Claude Brisson wrote: > On 20-02-06 16 h 15, Christopher Schultz wrote: > >> 3.0 completely dropped support for Struts, which is a requirement >> for me, so I don't have any current stake in velocity-tools

Re: Problems with commons-beanutils-1.9.4

2020-02-06 Thread Christopher Schultz
it) but I won't have anything to test it with other than the existing unit tests. - -chris > On Wed, Feb 5, 2020 at 9:55 AM Christopher Schultz < > ch...@christopherschultz.net> wrote: > > All, > > This may be an uncommon configuration, but I just upgraded from > veloc

Re: Error starting Velocity 1.7 + Tools 2.0 after upgrading commons-beanutils

2020-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 2/4/20 3:33 PM, Christopher Schultz wrote: > I just upgraded an application from commons-beanutils-1.9.3 to > commons-beanutils-1.9.4 that is using Velocity 1.7 and Tools 2.0 > and I'm getting this error on startup: &g

Re: Error starting Velocity 1.7 + Tools 2.0 after upgrading commons-beanutils

2020-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 2/4/20 3:33 PM, Christopher Schultz wrote: > All, > > I just upgraded an application from commons-beanutils-1.9.3 to > commons-beanutils-1.9.4 that is using Velocity 1.7 and Tools 2.0 > and I'm getting this e

Error starting Velocity 1.7 + Tools 2.0 after upgrading commons-beanutils

2020-02-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I just upgraded an application from commons-beanutils-1.9.3 to commons-beanutils-1.9.4 that is using Velocity 1.7 and Tools 2.0 and I'm getting this error on startup: javax.servlet.ServletException: Servlet.init() for servlet [velocity] threw

Re: Cannot build Tools from trunk

2018-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Claude, On 6/25/18 6:12 PM, Claude Brisson wrote: > It's running for me under java 8. Log for the cargo section copy > pasted below. > > Is it a linux/windows cargo/jetty problem? I think it's running under a SecurityManager and the policy isn't

Re: [tools] Running under a SecurityManager

2018-05-07 Thread Christopher Schultz
tResource* family of methods. - -chris > On 21/03/2018 22:23, Nathan Bubna wrote: >> If we're talking 2.x, then adding a PrivilegedAction sounds >> better. If 3.0 (which, i think needs to happen anyway, right >> Claude?), then i'd agree with Michael. The auto config would b

[tools] Running under a SecurityManager

2018-03-20 Thread Christopher Schultz
All, Using velocity-tools 2.0. I've been exploring what it takes to get my application working under a SecurityManager and it seems that o.a.v.t.view.VelocityView tries to load a few configuration files from their default locations even when a specific configuration file has been specified by a

Re: [ANNOUNCE] Velocity Engine 2.0 RC9 test build available

2017-07-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Claude, On 7/17/17 7:09 AM, Claude Brisson wrote: > A new test build of Velocity Engine 2.0 is available (RC9). > > No determination as to the quality ('alpha,' 'beta,' or 'GA') of > Velocity Engine 2.0 has been made, and at this time it is

Re: [jira] [Commented] (VELTOOLS-171) Upgrade to supported, secure version of Struts

2017-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 3/9/17 6:57 PM, Claude Brisson (JIRA) wrote: > > [ > https://issues.apache.org/jira/browse/VELTOOLS-171?page=com.atlassian. jira.plugin.system.issuetabpanels:comment-tabpanel=1590 4098#comment-15904098 > ] > > Claude Brisson commented on

Re: Velocity truth

2017-02-06 Thread Christopher Schultz
Claude, On 1/28/17 10:15 AM, Claude Brisson wrote: > Here's what had been specified by Nathan at the time (order is > meaningful, and falseness seems easier to specify than truth): > > $obj is null > $obj is boolean false > $obj returns false from getAsBoolean() (provided there is such a method)

Re: [VOTE] Michael Osipov as committer

2017-02-06 Thread Christopher Schultz
Nathan, Hey! I didn't know I was on the PMC. :) Vote below. On 1/27/17 1:05 PM, Nathan Bubna wrote: > Hey folks, > > Michael Osipov has been rigorously and vigorously reviewing the progress of > Engine 2.0, with commits specific and knowledgeable to be nigh > indistinguishable from code

Re: Reloading resources adding new macros

2017-01-05 Thread Christopher Schultz
Greg, On 1/4/17 11:40 AM, Greg Huber wrote: >> Velocity version? > > The latest version ie 2.0. > >> When you say you "shut down the container (tomcat)", >can you be more > specific? Do you bounce the >application, or do you >terminate Tomcat and > the JVM, >etc.? > > Terminate tomcat

Re: Reloading resources adding new macros

2017-01-04 Thread Christopher Schultz
Greg, On 1/4/17 8:43 AM, Greg Huber wrote: > The was one issue that has been around for ages, and I am not sure if it is > possible to fix it. > > If I have added a new macro into a velocity template file loaded via a > resource loader, I have to shut down the container (tomcat) and restart for

ApacheCon NA 2017

2017-01-04 Thread Christopher Schultz
All, I'm going to be in Miami for this year's ApacheCon. In all the years I've been going to ApacheCons, I've never seen a single presentation on Velocity. That probably has something to do with the following: 1. Until recent work, it's been a "mature" project (no excitement) 2. It's not

Re: [tools] Tools reeng

2016-11-21 Thread Christopher Schultz
Claude, On 11/17/16 12:58 PM, Claude Brisson wrote: > There are several things I'd like to do for the tools before releasing > them: > > 1) deprecate the ConversionTool: > - date formatting and parsing methods are redundant with (and less > complete than) DateTool ones. > - number

[jira] [Commented] (VELOCITY-798) Velocity wraps java.lang.Error in org.apache.velocity.exception.MethodInvocationException

2016-08-10 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15416412#comment-15416412 ] Christopher Schultz commented on VELOCITY-798: -- I would argue that java.lang.Error should

Re: svn commit: r1696822 - in /velocity/tools/trunk: src/site/xdoc/ velocity-tools-struts/src/main/java/org/apache/velocity/tools/struts/ velocity-tools-view/src/main/java/org/apache/velocity/tools/vi

2015-08-31 Thread Christopher Schultz
Claude, On 8/20/15 3:12 PM, Claude Brisson wrote: > Yes, we should be using Velocity logging facade, but I just don't see > for now how we should do this while preserving tools serialization. A little late to the (logging) party, and this may be a bit off-topic, but why bother using a

Re: svn commit: r1696822 - in /velocity/tools/trunk: src/site/xdoc/ velocity-tools-struts/src/main/java/org/apache/velocity/tools/struts/ velocity-tools-view/src/main/java/org/apache/velocity/tools/vi

2015-08-31 Thread Christopher Schultz
Mike, On 8/31/15 1:48 PM, Mike Kienenberger wrote: > Read the whole thread. Yeah, I'm catching-up now. > My understanding is that serialization of static commons-logging was > the original problem needing fixed. slf4j doesn't have that issue. I didn't think that static members were serialized.

Re: Upgraded Commons and Velocity 2.0

2015-05-28 Thread Christopher Schultz
Mike, On 5/28/15 3:41 PM, Mike Kienenberger wrote: No, maven isn't mandated. I'd be happy if we reverted back to ant as Eclipse and ant is also what I use, and the only thing maven ever did for me to was to make everything more complicated and slow. For better or worse, it appears most of

Re: Upgraded Commons and Velocity 2.0

2015-05-28 Thread Christopher Schultz
Jacob, On 5/28/15 9:13 AM, Jacob Champlin wrote: So building 2.0 has not gone well. There are no valid instructions online, eventually I figured out: $ svn checkout http://svn.apache.org/repos/asf/velocity/engine/trunk velocity-master $ cd velocity-master $ mvn However, almost all the

Re: Upgraded Commons and Velocity 2.0

2015-05-28 Thread Christopher Schultz
Jacob, On 5/28/15 11:21 AM, Jacob Champlin wrote: On 05/28/2015 10:48 AM, Mike Kienenberger wrote: On Thu, May 28, 2015 at 10:42 AM, Antonio Petrelli But when repository branches do not build from source, releases do not build from source, and no one seems to be around to suggest how it's

Re: Spent time working on Velocity

2014-11-27 Thread Christopher Schultz
Nathan, On 11/26/14 4:55 PM, Nathan Bubna wrote: On Wed, Nov 26, 2014 at 1:41 PM, Christopher Schultz ch...@christopherschultz.net wrote: ... If all logging could be replaced by using commons-logging, then all will be well. commons-logging is just a pass-through for whatever logger

Re: Spent time working on Velocity

2014-11-26 Thread Christopher Schultz
All, On 9/26/14 12:22 PM, Sergiu Dumitriu wrote: On 09/25/2014 11:27 PM, Nathan Bubna wrote: https://github.com/apache/velocity-engine https://github.com/apache/velocity-engine/tree/2.0_Exp Now, that said, i've not used the git mirror. The Subversion repository may still be considered the

Re: Velcity and Texen DOAPs - trivial fixes, needs Velocity committer assistance please

2014-04-21 Thread Christopher Schultz
Sebb, On 4/16/14, 10:58 AM, sebb wrote: The Velocity and Texen DOAPs are the only ones that don't use the Apache prefix See TEXEN-18 and VELOCITY-848 Please could one of the Velocity committers fix the DOAPS? What exactly needs to be fixed? I can fix in svn... not sure how the site gets

Re: [PROPOSAL][REPORT] Apache Velocity - May 2013

2013-05-31 Thread Christopher Schultz
Nathan, On 5/6/13 12:17 PM, Nathan Bubna wrote: Well, even though you're not technically on the PMC, we don't keep a division between committers and PMC in practice. Your votes count now, as far as anything practical. And we'll put you on the PMC formally in just a few months, per typical

[tools] Interest in (or aversion to) adding CSV escaping to EscapeTool

2013-02-08 Thread Christopher Schultz
All, I'd like to use Velocity to produce CSV files and I have a routine I've been using for years in automated reports to escape field values for CSV. Any objections to adding it to EscapeTool? Actually... StringEscapeUtils (from commons-lang, which does most of EscapeTool's actual work) has an

Re: Velocity Macro Stack Traces Patch

2012-10-10 Thread Christopher Schultz
Sergiu and Benson, On 10/2/12 4:40 PM, Sergiu Dumitriu wrote: On 10/02/2012 02:25 PM, Benson Margulies wrote: Sergey, As I understand it, since the birth of Httpd and the license, patches sent to the mailing list (a) don't require a CLA and (b) are acceptable contributions. The idea is

[jira] [Reopened] (VELTOOLS-152) ValidatorTool generates invalid XHTML even when in XHTML mode

2012-03-09 Thread Christopher Schultz (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz reopened VELTOOLS-152: -- So, this doesn't fix the issue properly. What I did was essentially change

[jira] [Resolved] (VELTOOLS-152) ValidatorTool generates invalid XHTML even when in XHTML mode

2012-03-07 Thread Christopher Schultz (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-152. -- Resolution: Fixed Fix Version/s: 2.1 2.0.x

[jira] [Commented] (VELTOOLS-126) XSS Vulnerability when using struts/ErrorsTool.getMsgs

2012-03-07 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13224501#comment-13224501 ] Christopher Schultz commented on VELTOOLS-126: -- ErrorsTool now uses

[jira] [Created] (VELTOOLS-152) ValidatorTool generates invalid XHTML even when in XHTML mode

2012-03-06 Thread Christopher Schultz (Created) (JIRA)
Components: VelocityStruts Affects Versions: 2.0 Reporter: Christopher Schultz Assignee: Christopher Schultz When using the validator tool in XHTML mode, the main validate method emits code like this: function validateMyForm(form) { if (bCancel) return

[jira] [Commented] (VELTOOLS-152) ValidatorTool generates invalid XHTML even when in XHTML mode

2012-03-06 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13223732#comment-13223732 ] Christopher Schultz commented on VELTOOLS-152: -- Fixed in trunk: r1297753

Re: [OT] tools-2.1-dev and engine-2.x

2012-01-31 Thread Christopher Schultz
Nathan, On 4/13/11 12:03 PM, Nathan Bubna wrote: On Wed, Apr 13, 2011 at 4:19 AM, Claude Brisson cla...@renegat.net wrote: On 2011-04-13 11:57, Antonio Petrelli wrote: Hi Claude 2011/4/13 Claude Brissoncla...@renegat.net ... Then I'd vote for the first solution: have tools-2.1 require

[jira] [Commented] (VELTOOLS-136) SortTool fails on null values

2012-01-31 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13197024#comment-13197024 ] Christopher Schultz commented on VELTOOLS-136: -- Did you mean that SortTool

Re: [OT] tools-2.1-dev and engine-2.x

2012-01-31 Thread Christopher Schultz
Nathan, On 1/31/12 12:39 PM, Nathan Bubna wrote: Do you want a new 2.0 release? I can't recall offhand if there is/was a particular need or demand for one. No, but I was going to make some changes that I need fixing :) So, the question is whether to commit to trunk and back-port to 2.0.x, or

Re: Update on VELTOOLS-143

2012-01-20 Thread Christopher Schultz
Nathan, On 1/19/12 12:45 PM, Nathan Bubna wrote: https://issues.apache.org/jira/browse/VELOCITY-143 ?? No, VELTOOLS-143: https://issues.apache.org/jira/browse/VELTOOLS-143 -chris signature.asc Description: OpenPGP digital signature

[jira] [Commented] (VELTOOLS-150) VelocityLayoutServlet allows clients to specify layout without performing any security checks.

2012-01-20 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13189838#comment-13189838 ] Christopher Schultz commented on VELTOOLS-150: -- Sure, I can do a simple fix

Update on VELTOOLS-143

2012-01-19 Thread Christopher Schultz
All, I logged VELTOOLS-143 a while ago and I'd like to get it fixed for an upcoming release of my own software. Can someone help me understand why mailto: links don't accept params? Thanks, -chris signature.asc Description: OpenPGP digital signature

[jira] [Commented] (VELOCITY-731) Velocity 1.6 performance is degraded by introduced toString() calls

2012-01-17 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13187966#comment-13187966 ] Christopher Schultz commented on VELOCITY-731: -- Colin, So your bean has

[jira] [Commented] (VELTOOLS-150) VelocityLayoutServlet allows clients to specify layout without performing any security checks.

2012-01-09 Thread Christopher Schultz (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13182702#comment-13182702 ] Christopher Schultz commented on VELTOOLS-150: -- I see us having several

[jira] [Created] (VELTOOLS-150) VelocityLayoutServlet allows clients to specify layout without performing any security checks.

2012-01-05 Thread Christopher Schultz (Created) (JIRA)
-150 Project: Velocity Tools Issue Type: Bug Components: VelocityView Affects Versions: 2.0, 1.4 Environment: Velocity 1.7, Velocity Tools 2.0. Confirmed also affects Velocity 1.4, Velocity Tools 1.4. Reporter: Christopher Schultz

[jira] [Created] (VELTOOLS-148) LinkTool.addAllParameters causes ignored parameters to pollute parent link objects

2011-07-27 Thread Christopher Schultz (JIRA)
: Velocity Tools Issue Type: Bug Components: VelocityView Affects Versions: 2.0 Environment: Velocity 1.7, Velocity-Tools 2.0 Reporter: Christopher Schultz The following code will not perform as expected with $link represents an instance

[jira] [Created] (VELTOOLS-149) LinkTool.addRequestParams methods are difficult to use from VTL due to their String[] parameter type

2011-07-27 Thread Christopher Schultz (JIRA)
/VELTOOLS-149 Project: Velocity Tools Issue Type: Bug Affects Versions: 2.0 Environment: Velocity 1.7, Velocity-Tools 2.0 Reporter: Christopher Schultz Priority: Minor If I call addRequestParams() with no argument, things work as expect

[jira] [Resolved] (VELTOOLS-148) LinkTool.addAllParameters causes ignored parameters to pollute parent link objects

2011-07-27 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-148. -- Resolution: Fixed Fix Version/s: 2.0.x Fixed in r1151642: New

[jira] [Resolved] (VELTOOLS-149) LinkTool.addRequestParams methods are difficult to use from VTL due to their String[] parameter type

2011-07-27 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-149. -- Resolution: Fixed Fix Version/s: 2.0.x Fixed in r1151648. - Change

[jira] [Closed] (VELTOOLS-52) ValidatorTool javascript generator can generate invalid Javascript

2011-07-21 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz closed VELTOOLS-52. --- ValidatorTool javascript generator can generate invalid Javascript

[jira] [Closed] (VELTOOLS-58) ValidatorTool does not respect 'bundle' property for message elements when generating client-side validation code.

2011-07-21 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz closed VELTOOLS-58. --- ValidatorTool does not respect 'bundle' property for message elements when

[jira] [Closed] (VELTOOLS-89) LinkTool's addQueryData method should automatically add an 'ignore' so addAllParameters will ignore manually-added query data

2011-07-21 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz closed VELTOOLS-89. --- LinkTool's addQueryData method should automatically add an 'ignore' so

[jira] [Created] (VELTOOLS-144) DateTool can be improved to allow cross-localization of format strings

2011-07-21 Thread Christopher Schultz (JIRA)
Issue Type: New Feature Components: GenericTools Affects Versions: 2.0 Environment: All VELTOOLS versions Reporter: Christopher Schultz Priority: Minor I thought I had reported this earlier, but evidently not. We use SimpleDateFormat patterns (which

[jira] [Resolved] (VELTOOLS-144) DateTool can be improved to allow cross-localization of format strings

2011-07-21 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-144. -- Resolution: Fixed Fix Version/s: 2.0.x Fixed in r1149273. Added

ClassUtils.getResource and friends

2011-07-21 Thread Christopher Schultz
All, In a somewhat unrelated thread on the user's list, Nathan and I have been discussing changing the ClassUtils.getResource method from calling (in order): Thread.currentThread.getContextClassLoader().getResource() ClassUtils.class.getResource() callingObject.getClass().getResource()

[jira] [Created] (VELTOOLS-145) StrutsLinkTool is not a drop-in replacement for previous versions because it extends view.LinkTool instead of view.tools.LinkTool

2011-07-21 Thread Christopher Schultz (JIRA)
URL: https://issues.apache.org/jira/browse/VELTOOLS-145 Project: Velocity Tools Issue Type: Bug Components: VelocityStruts Affects Versions: 2.0 Environment: Velocity Tools 2.0 Reporter: Christopher Schultz StrutsLinkTool's

[jira] [Resolved] (VELTOOLS-145) StrutsLinkTool is not a drop-in replacement for previous versions because it extends view.LinkTool instead of view.tools.LinkTool

2011-07-21 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELTOOLS-145. -- Resolution: Fixed Fix Version/s: 2.0.x Fixed in r1149367

[jira] [Created] (VELTOOLS-143) LinkTool.setURI does not allow mailto: links to have parameters added usign param() method

2011-07-20 Thread Christopher Schultz (JIRA)
Project: Velocity Tools Issue Type: Bug Components: GenericTools Affects Versions: 2.0 Environment: Velocity 1.7, Velocity Tools 2.0 Reporter: Christopher Schultz Priority: Minor This worked in Velocity Tools 1.4. -- This message

[jira] [Updated] (VELTOOLS-143) LinkTool.uri() causes mailto: links to ignore parameters added using param() method

2011-07-20 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz updated VELTOOLS-143: - Summary: LinkTool.uri() causes mailto: links to ignore parameters added using

[jira] [Commented] (VELOCITY-801) Velocity 1.7 uses string interning

2011-05-11 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13032077#comment-13032077 ] Christopher Schultz commented on VELOCITY-801: -- This is a relatively easy

[jira] [Commented] (VELOCITY-801) Velocity 1.7 uses string interning

2011-05-11 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13032081#comment-13032081 ] Christopher Schultz commented on VELOCITY-801: -- Alexander, one more comment

[jira] Commented: (VELTOOLS-103) ImportSupport really needs a unit test

2011-01-12 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12980754#action_12980754 ] Christopher Schultz commented on VELTOOLS-103: -- Since it's already hosted

Re: Upgrading ASF Jira to 4.2.x [rant]

2011-01-11 Thread Christopher Schultz
Antonio, On 1/10/2011 11:25 AM, Antonio Petrelli wrote: 2011/1/10 Christopher Schultz ch...@christopherschultz.net: First, JIRA was always painfully slow and would never remember a password I chose -- I had to reset it every time I wanted to use it. So you are complaining that Jira would

[jira] Commented: (VELTOOLS-103) ImportSupport really needs a unit test

2011-01-11 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELTOOLS-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12980355#action_12980355 ] Christopher Schultz commented on VELTOOLS-103: -- Sure, I can make

RE: Upgrading ASF Jira to 4.2.x [rant]

2011-01-10 Thread Christopher Schultz
All, I have only just logged-into the test instance of the new JIRA and, I have to admit, I wasn't sure how the JIRA team could make the product worse. First, JIRA was always painfully slow and would never remember a password I chose -- I had to reset it every time I wanted to use it. I gave up

[jira] Resolved: (VELOCITY-794) can't get the velocity template in networks

2011-01-07 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Schultz resolved VELOCITY-794. -- Resolution: Duplicate Duplicate of VELTOOLS-782 can't get the velocity

[jira] Commented: (VELOCITY-782) UNC Path support for Velocity

2011-01-06 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978533#action_12978533 ] Christopher Schultz commented on VELOCITY-782: -- Shouldn't there be some back

[jira] Commented: (VELOCITY-599) DataSourceResourceLoader doesn't support UTF8

2011-01-06 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12978540#action_12978540 ] Christopher Schultz commented on VELOCITY-599: -- Mark's hack could waste huge

[jira] Created: (VELOCITY-793) Change ResourceLoader.getResourceStream to getResourceReader

2011-01-06 Thread Christopher Schultz (JIRA)
Components: Engine Reporter: Christopher Schultz Fix For: 2.x It would be nice to use Readers instead of InputStreams for templates. Velocity is all about text-based rendering, so the templates are certainly going to be text-based. Using a Reader allows individual

Re: [tools] Ideas about future Velocity Tools features

2010-12-16 Thread Christopher Schultz
Antonio, On 12/10/2010 3:43 AM, Antonio Petrelli wrote: Who used DisplayTag knows what I mean: a tag library that manages sorting and pagination (internal and external), alternate coloring etc. IOW, all the aspects of a table of results that you might imagine. I've developed what I think is

[jira] Commented: (VELOCITY-761) Can not reference a property declared in a super-interface and implemented in a non-public class

2010-09-24 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12914523#action_12914523 ] Christopher Schultz commented on VELOCITY-761: -- William, it's hard to tell

[jira] Commented: (VELOCITY-774) Provide #unset directive

2010-09-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12910872#action_12910872 ] Christopher Schultz commented on VELOCITY-774: -- You can also do #set($foo

[jira] Commented: (VELOCITY-773) Provide locally scoped #set variables

2010-09-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12910874#action_12910874 ] Christopher Schultz commented on VELOCITY-773: -- What implications does

[jira] Commented: (VELOCITY-761) Can not reference a property declared in a super-interface and implemented in a non-public class

2010-09-17 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12910876#action_12910876 ] Christopher Schultz commented on VELOCITY-761: -- William, you didn't answer

Re: Problems with svn

2010-07-30 Thread Christopher Schultz
Antonio, On 7/30/2010 3:34 AM, Antonio Petrelli wrote: 2010/7/29 Christopher Schultz ch...@christopherschultz.net: svn reports this version: $ svn --version svn, version 1.5.1 (r32289) compiled Aug 6 2009, 20:47:37 You must use Subversion 1.6.x Hmm... Debian Lenny says I'm all up

Re: Problems with svn

2010-07-30 Thread Christopher Schultz
All, On 7/30/2010 10:40 AM, Christopher Schultz wrote: Can someone give me a few pointers if they happen to know? Nevermind, I've got it working through lenny-backports: svn update works just fine, now. Thanks, -chris signature.asc Description: OpenPGP digital signature

Problems with svn

2010-07-29 Thread Christopher Schultz
All, After a long hiatus, today, I tried to do an svn update and I got this message: ~/projects/velocity/tools/trunk$ svn update svn: This client is too old to work with working copy '.'. You need to get a newer Subversion client, or to downgrade this working copy. See

[jira] Created: (VELTOOLS-126) XSS Vulnerability when using struts/ErrorsTool.getMsgs

2010-07-29 Thread Christopher Schultz (JIRA)
Components: VelocityStruts Affects Versions: 1.4, 2.x Environment: Identified in velocity-tools 1.4, verified by reading code in trunk. Reporter: Christopher Schultz The code for ErrorsTool.getMsgs goes roughly like this: String message = message(errors.header); foreach(error

[jira] Commented: (VELOCITY-761) Can not reference a property declared in a super-interface and implemented in a non-public class

2010-07-29 Thread Christopher Schultz (JIRA)
[ https://issues.apache.org/jira/browse/VELOCITY-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12893880#action_12893880 ] Christopher Schultz commented on VELOCITY-761: -- William, Which get method

Re: [tools] Adding localization method to DateTool

2009-11-15 Thread Christopher Schultz
Nathan, Resurrecting this because I'm ready to commit. On 10/29/2009 3:04 PM, Nathan Bubna wrote: On Thu, Oct 29, 2009 at 8:06 AM, Christopher Schultz ch...@christopherschultz.net wrote: Nathan, On 10/29/2009 11:02 AM, Christopher Schultz wrote: I like re-coding into SimpleDataFormat

  1   2   3   >