I throw an bug report for to Railo ML inmy case.And I got replies
below.

1 creat java object  eroor in cflib like MathLib etc.

---- Answer
---------------------------------------------------------------------------------------
We will fix this issue for next release and we will check all other
libs
from cflib.

tnx for input
Michael
============================================================

2 CFLib(.cfm) include error by <cfset this = variables />

---- Answer
---------------------------------------------------------------------------------------
this is more (Railo) politics than a bug ;-)
in our meaning it should not be allowed to overwrite the this scope,
because the this scope is more than a scope it refelct the cfc itself.
in cfmx you can do something like
<cfset this = "susi" />

this breaks our following code completly, because "this" does no
longer point to the cfc, it points to something else, in other words
railo
ignore overwritings of this or super scopes.

in this case the idea is (i think) to simply add all elements of the
variables scope to the this scope, but this is not the case it is
overwriting this with variables, this no longer point on the cfc.

what we can do (for 008) is the following:
railo still ignore something like <cfset this=value>, the only
exception is, when "value" is of type struct, in this case we ADD all
members of the struct to this.

similar to:
<cfloop collection="#variables#" item="key">
    <cfset this[key]=variables[key]>
</cfloop>


tnx for input
greetings Michael
============================================================

I  create a patch below and well work.
This is my patch:

Index: C:/Program Files/Railo/webapps/ROOT/ModelGlue/gesture/helper/
IncludeHelperShell.cfc
===================================================================
--- C:/Program Files/Railo/webapps/ROOT/ModelGlue/gesture/helper/
IncludeHelperShell.cfc  (revision 111)
+++ C:/Program Files/Railo/webapps/ROOT/ModelGlue/gesture/helper/
IncludeHelperShell.cfc  (working copy)
@@ -6,7 +6,12 @@
        <cfinclude template="#arguments.template#" />

        <!--- Put your underwear on the outside. --->
-       <cfset this = variables />
+       <!---
+       <cfset this = "variables" />
+       --->
+       <cfloop collection="#variables#" item="key">
+           <cfset this[key]=variables[key]>
+       </cfloop>

        <cfreturn this />
 </cffunction>


On 9月30日, 午後11:35, "Tomoaki Tanaka" <[EMAIL PROTECTED]> wrote:
> Hi Dan.
>
> It is no chenge by deleting and re-put MathLib.cfm.
> I 'll try find the ploblematic line and repot an bug inrailo.
>
> Regards,
>
> -- Tomoaki Tanaka
>
> 2008/09/30 23:25 Dan Wilson <[EMAIL PROTECTED]>:
>
>
>
> > This means that whatever problem you are having, it is with the contents of
> > MathLib.cfm, not ModelGlue.
> > That error often means that the .cfm file is too large, but I can't say for
> > sure onRailo.  My Advice would be to delete half the file and run it again.
> > If the error goes away, put back the half you deleted, then delete the other
> > half.  Keep doing that until you find the problematic line.  Then report an
> > bug inRailo.
> > DW
>
> > 2008/9/30 Tomoaki Tanaka <[EMAIL PROTECTED]>
>
> >> Hi Dan,
>
> >> I put methlib.cfm in my webroot and call it ;
> >>http://localhost:8888/MathLib.cfm
> >> And Igot the error below; Java Object call Error?
>
> >> Thanks,
>
> >> -- Tomoaki Tanaka
>
> >> ---- Error Trace -------------------------------------------------
> >>Railo3.0.0.005 Error (Java.lang.verifyerror)
> >> Message         (class: mathlib$cfm, method: udfCall8 signature:
> >> (Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;)
> >> Illegal target of jump or branch
> >> Java Stacktrace
>
> >> (class: mathlib$cfm, method: udfCall8 signature:
> >> (Lrailo/runtime/PageContext;Lrailo/runtime/type/UDF;I)Ljava/lang/Object;)
> >> Illegal target of jump or branch
> >>        at java.lang.Class.getDeclaredConstructors0(Native Method):-2
> >>        at java.lang.Class.privateGetDeclaredConstructors(Unknown
> >> Source):-1
> >>        at java.lang.Class.getConstructor0(Unknown Source):-1
> >>        at java.lang.Class.newInstance0(Unknown Source):-1
> >>        at java.lang.Class.newInstance(Unknown Source):-1
> >>        atrailo.runtime.PageSourceImpl.a(Unknown Source):-1
> >>        atrailo.runtime.PageSourceImpl.a(Unknown Source):-1
> >>        atrailo.runtime.PageSourceImpl.loadPage(Unknown Source):-1
> >>        atrailo.runtime.PageContextImpl.include(Unknown Source):-1
> >>        atrailo.runtime.listener.ClassicAppListener._onRequest(Unknown
> >> Source):-1
> >>        atrailo.runtime.listener.MixedAppListener.onRequest(Unknown
> >> Source):-1
> >>        atrailo.runtime.PageContextImpl.execute(Unknown Source):-1
> >>        atrailo.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown
> >> Source):-1
> >>        atrailo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
> >>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853):853
> >>        at
> >> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491):491
> >>        at
> >> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367):367
> >>        at
> >> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185):185
> >>        at
> >> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181):181
> >>        at
> >> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689):689
> >>        at
> >> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391):391
> >>        at
> >> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146):146
> >>        at
> >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114):114
> >>        at
> >> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139):139
> >>        at org.mortbay.jetty.Server.handle(Server.java:285):285
> >>        at
> >> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457):457
> >>        at
> >> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:751):751
> >>        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500):500
> >>        at
> >> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209):209
> >>        at
> >> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357):357
> >>        at
> >> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329):329
> >>        at
> >> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475):475
>
> >> 2008/09/30 23:03 Dan Wilson <[EMAIL PROTECTED]>:
> >> > Did you intentionally put mathlib.cfm in your application? If so, we
> >> > need to
> >> > make sure there is not an error in the file. Put mathlib.cfm in your
> >> > webroot
> >> > and call the file like this:  http://localhost/mathLib.cfm
> >> > Is there an error?
> >> > If you did not intentionally put mathLib.cfm in your application, then
> >> > remove it and see if you get a different error.
>
> >> > DW
> >> > 2008/9/30 Tomoaki Tanaka <[EMAIL PROTECTED]>
>
> >> >> Dan,
>
> >> >> My Mathlib.cfm  include Error is below.
>
> >> >> Scope Arguments
> >> >> TARGET  1
> >> >> Component (ModelGlue.gesture.helper.Helpers)
> >> >> Only the function and data member that are accesible from your
> >> >> location are displayed
> >> >> Hint    I act as a target for the helpers loaded into a Model-Glue
> >> >> application.
>
> >> >> PATH    2
> >> >> string  /ModelGlue/helpers/cflib
>
> >> >>Railo3.0.0.005 Error (Application)
> >> >> Message         Couldn't add helper:
> >> >> /ModelGlue/helpers/cflib/MathLib.cfm
> >> >> because of this: [] I'm sorry it didn't work out.
> >> >> Stacktrace      The Error Occurred in
> >> >> C:\railo-3.0.0.005\webroot\ModelGlue\gesture\helper\HelperInjector.cfc:
> >> >> line 28
>
> >> >>    26: </cfcatch>
> >> >>    27: <cfcatch>
> >> >>    28: <cfthrow message="Couldn't add helper:
> >> >> #arguments.path#/#files.name# because of this: [#CFCatch.Detail#] I'm
> >> >> sorry it didn't work out. " />
> >> >>    29: </cfcatch>
> >> >>    30: </cftry>
>
> >> >> regards,
>
> >> >> -- Tomoaki Tanaka
> >> >> 2008/09/30 22:54 Dan Wilson <[EMAIL PROTECTED]>:
> >> >> > What happens if you remove the math.cfm file?  Does that make the
> >> >> > error
> >> >> > go
> >> >> > away?
> >> >> > DW
>
> >> >> > 2008/9/30 Tomoaki Tanaka <[EMAIL PROTECTED]>
>
> >> >> >> Hi Mark and Dan.
>
> >> >> >> Thanks for your reply.
>
> >> >> >> My gesture  version is 111 and MyRailois 3.0.0.005 for Windows.
> >> >> >> And you can check my cfdump result below.
>
> >> >> >>http://blog.ganymean.org/cfdev/2008/09/do-not-work-the.html
>
> >> >> >> -- Tomoaki Tanaka
> >> >> >>http://blog.ganymean.org/
> >> >> >>http://ganymean.org/mediawiki/
>
> >> >> >> 2008/9/30 Dan Wilson <[EMAIL PROTECTED]>:
> >> >> >> > There was a very early Gesture bug where some of the helpers
> >> >> >> > originally
> >> >> >> > included used CF8 specific syntax like < and =.  This naturally
> >> >> >> > caused
> >> >> >> > problems in CF7 and below code that expected LT and EQ
> >> >> >> > respectively.
>
> >> >> >> > The current revision is 111. Please update your local copy of
> >> >> >> > Gesture,
> >> >> >> > reload your application and let me know if the situation persists.
>
> >> >> >> > DW
>
> >> >> >> > On Tue, Sep 30, 2008 at 9:22 AM, Mark Drew <[EMAIL PROTECTED]>
> >> >> >> > wrote:
>
> >> >> >> >> I am sure I run this with Joe @ Scotch on the Rocks... it seemed
> >> >> >> >> to
> >> >> >> >> work
> >> >> >> >> fine
>
> >> >> >> >> MD
>
> >> >> >> >> On Tue, Sep 30, 2008 at 2:17 PM, ganymean <[EMAIL PROTECTED]>
> >> >> >> >> wrote:
>
> >> >> >> >> > Hi there,
>
> >> >> >> >> > I am trying the gesture sample applications onrailo.
> >> >> >> >> > But it does not work gesture helper's cfm include.
>
> >> >> >> >> > Is this anrailo'sBug?
> >> >> >> >> > I wonder if therailodoes not work <cfset this = variables />
> >> >> >> >> > correctly in includeHelperShell.cfc.
>
> >> >> >> >> > Any idea?
>
> >> >> >> >> > regards,
>
> >> >> >> >> > -- Tomoaki Tanaka
>
> >> >> >> >> --
> >> >> >> >> Mark Drew
> >> >> >> >> Blog:http://www.markdrew.co.uk/blog/
> >> >> >> >> LinkedIn:http://www.linkedin.com/in/mdrew
>
> >> >> >> > --
> >> >> >> > "Come to the edge, he said. They said: We are afraid. Come to the
> >> >> >> > edge,
> >> >> >> > he
> >> >> >> > said. They came. He pushed them and they flew."
>
> >> >> >> > Guillaume Apollinaire quotes
>
> >> >> >> --
> >> >> >> 田中 知明
>
> >> >> > --
> >> >> > "Come to the edge, he said. They said: We are afraid. Come to the
> >> >> > edge,
> >> >> > he
> >> >> > said. They came. He pushed them and they flew."
>
> >> >> > Guillaume Apollinaire quotes
>
> >> >> --
> >> >> 田中 知明
>
> >> > --
> >> > "Come to the edge, he said. They said: We are afraid. Come to the edge,
> >> > he
> >> > said. They came. He pushed them and they flew."
>
> >> > Guillaume Apollinaire quotes
>
> >> --
> >> 田中 知明
>
> > --
> > "Come to the edge, he said. They said: We are afraid. Come to the edge, he
> > said. They came. He pushed them and they flew."
>
> > Guillaume Apollinaire quotes
>
> --
> 田中 知明
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to