DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43064>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43064

           Summary: Syntax error in sitemanagement/usecases/site/delete.jx
           Product: Lenya
           Version: Trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Usecase Framework
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When running the Canoo webtests (build modules.test.canoo) the following error
occurs:

org.apache.cocoon.ProcessingException: Sitemap: error calling function
'executeUsecase'
    at <map:call> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:104:45
    at <map:mount> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/usecase.xmap:55:131
    at <map:mount> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/global-sitemap.xmap:323:105
    at <map:mount> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/sitemap.xmap:670:106

...

Caused by: org.mozilla.javascript.WrappedException: Wrapped
org.apache.cocoon.generation.JXTemplateGenerator$JXTException: For input string:
"hasLink"
    at <jx:choose> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/modules/sitemanagement/usecases/site/delete.jx:33:22
    at <map:serialize type="xhtml"> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:93:38
    at <map:transform> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:92:79
    at <map:transform type="proxy"> -
file:///C:/lenya/lenya-1.4-dev/build/lenya/webapp/lenya/modules/usecase/usecase.xmap:91:38

... etc.

The attached patch fixes this problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to