[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    Re: [jira] Commented: (VELOCITY-426) move of Node object broke compatibility with custom directives
From:       Malcolm Edgar <malcolm.edgar () gmail ! com>
Date:       2005-12-15 11:39:38
Message-ID: 525d8e10512150339j380662d3t99a455fb740394d2 () mail ! gmail ! com
[Download RAW message or body]


Hi Will,

Yes I forwarded this message to the cayenne-dev list. I think it got
through.

Its great to see Velocity 1.5 moving forward. There is a lot of support out
there for Velocity.

regards Malcolm Edgar

On 12/15/05, Will Glass-Husain <wglass@forio.com> wrote:
>
> Hi Malcom,
>
> Thanks for checking this.  Will you be communicating this to the rest of
> the
> Cayenne community?  When I tried to post to the cayenne-dev list my
> message
> bounced "not a subscriber".
>
> And appreciate again your raising this issue.  The more users of the dev
> tree we have, the better we will be able to keep our goals of incremental
> improvement with 100% backwards compatibility.
>
> Best, WILL
>
> ----- Original Message -----
> From: "Malcolm Edgar (JIRA)" <jira@apache.org>
> To: <velocity-dev@jakarta.apache.org>
> Sent: Wednesday, December 14, 2005 5:01 AM
> Subject: [jira] Commented: (VELOCITY-426) move of Node object broke
> compatibility with custom directives
>
>
> >    [
> >
> http://issues.apache.org/jira/browse/VELOCITY-426?page=comments#action_12360417]
> >
> > Malcolm Edgar commented on VELOCITY-426:
> > ----------------------------------------
> >
> > Hi guys,
> >
> > I have tested head stream against Cayenne 1.2M6 and confirm that this
> > change resolves this issue.
> >
> > Thanks for your help.
> >
> > regards Malcolm Edgar
> >
> >> move of Node object broke compatibility with custom directives
> >> --------------------------------------------------------------
> >>
> >>          Key: VELOCITY-426
> >>          URL: http://issues.apache.org/jira/browse/VELOCITY-426
> >>      Project: Velocity
> >>         Type: Bug
> >>   Components: Source
> >>     Versions: 1.5
> >>     Reporter: Will Glass-Husain
> >>     Assignee: Henning Schmiedehausen
> >>      Fix For: 1.5
> >
> >>
> >> From Malcolm Edgar:
> >> Hi Will & company,
> >> Regarding the cause of the problem.
> >> This is the code from Cayenne class ResultDirective (Cayenne 1.2 M6):
> >> import org.apache.velocity.runtime.parser.node.Node;
> >>     protected Object getChild(InternalContextAdapter context, Node
> node,
> >> int
> >> i)
> >>         throws MethodInvocationException {
> >>         return (i >= 0 && i < node.jjtGetNumChildren())
> >>             ? node.jjtGetChild(i).value(context)
> >>             : null;
> >>     }
> >> When running with Velocity 1.5-dev this throwing the exception:
> >> Caused by: java.lang.NoSuchMethodError:
> >> org.apache.velocity.runtime.parser.node.Node.jjtGetChild
> >> (I)Lorg/apache/velocity/runtime/parser/node/Node;
> >>     at org.objectstyle.cayenne.access.jdbc.ResultDirective.getChild(
> >> ResultDirective.java:190)
> >> As the Node.jttGetChild(i) returns:
> >> org.apache.velocity.runtime.parser.Node
> >> rather than:
> >> org.apache.velocity.runtime.parser.node.Node
> >> This issue, plus another Velocity/Cayenne issue of a disappearing
> object
> >> reference in the velocity Context, is causing a lot of grief.  We have
> >> been
> >> burning a lot of time over the last couple of weeks trying identify the
> >> latter issue, plus having to rollback Velocity changes maintain Cayenne
> >> compatability.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of the administrators:
> >   http://issues.apache.org/jira/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
> >   http://www.atlassian.com/software/jira
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-dev-help@jakarta.apache.org
>
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic