Chatree Srichart created OFBIZ-4849:
--------------------------------------- Summary: YUI Compressor conflict with BIRT Key: OFBIZ-4849 URL: https://issues.apache.org/jira/browse/OFBIZ-4849 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Environment: Ubuntu 10.04 Reporter: Chatree Srichart I got a problem when I entered an example report which has been created using BIRT https://demo-trunk.ofbiz.apache.org:8443/example/control/Report I got an error message: Invalid javascript expression: dataSetRow["exampleId"] This is a Mozilla JavaScript problem. Actually BIRT has a proper library for that, framework/birt/lib/js.jar, but it is conflicted by YUI Compressor library, framework/base/lib/yuicompressor-2.4.6.jar . If I take the YUI Compressor library out then the example report works fine. I see that in the YUI Compressor library contains org.mozilla.javascript package which duplicate with BIRT but I think it is different version. Regards, Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
[ https://issues.apache.org/jira/browse/OFBIZ-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269262#comment-13269262 ] Leon commented on OFBIZ-4849: ----------------------------- I met this issue too. Is that safe to remove yui library? > YUI Compressor conflict with BIRT > --------------------------------- > > Key: OFBIZ-4849 > URL: https://issues.apache.org/jira/browse/OFBIZ-4849 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Labels: BIRT, yuicompressor > Original Estimate: 8h > Remaining Estimate: 8h > > I got a problem when I entered an example report which has been created using BIRT https://demo-trunk.ofbiz.apache.org:8443/example/control/Report > I got an error message: Invalid javascript expression: dataSetRow["exampleId"] > This is a Mozilla JavaScript problem. > Actually BIRT has a proper library for that, framework/birt/lib/js.jar, but it is conflicted by YUI Compressor library, framework/base/lib/yuicompressor-2.4.6.jar . If I take the YUI Compressor library out then the example report works fine. > I see that in the YUI Compressor library contains org.mozilla.javascript package which duplicate with BIRT but I think it is different version. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269368#comment-13269368 ] Jacques Le Roux commented on OFBIZ-4849: ---------------------------------------- Yes, it's not used as long as you don't use ant minifyJsCss target (see ant -p) > YUI Compressor conflict with BIRT > --------------------------------- > > Key: OFBIZ-4849 > URL: https://issues.apache.org/jira/browse/OFBIZ-4849 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Labels: BIRT, yuicompressor > Original Estimate: 8h > Remaining Estimate: 8h > > I got a problem when I entered an example report which has been created using BIRT https://demo-trunk.ofbiz.apache.org:8443/example/control/Report > I got an error message: Invalid javascript expression: dataSetRow["exampleId"] > This is a Mozilla JavaScript problem. > Actually BIRT has a proper library for that, framework/birt/lib/js.jar, but it is conflicted by YUI Compressor library, framework/base/lib/yuicompressor-2.4.6.jar . If I take the YUI Compressor library out then the example report works fine. > I see that in the YUI Compressor library contains org.mozilla.javascript package which duplicate with BIRT but I think it is different version. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269602#comment-13269602 ] Leon commented on OFBIZ-4849: ----------------------------- See. Thanks. So, the lib is only used by particular ant target, is there any way to put it under another seperated place except framework and load it on the fly? > YUI Compressor conflict with BIRT > --------------------------------- > > Key: OFBIZ-4849 > URL: https://issues.apache.org/jira/browse/OFBIZ-4849 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Labels: BIRT, yuicompressor > Original Estimate: 8h > Remaining Estimate: 8h > > I got a problem when I entered an example report which has been created using BIRT https://demo-trunk.ofbiz.apache.org:8443/example/control/Report > I got an error message: Invalid javascript expression: dataSetRow["exampleId"] > This is a Mozilla JavaScript problem. > Actually BIRT has a proper library for that, framework/birt/lib/js.jar, but it is conflicted by YUI Compressor library, framework/base/lib/yuicompressor-2.4.6.jar . If I take the YUI Compressor library out then the example report works fine. > I see that in the YUI Compressor library contains org.mozilla.javascript package which duplicate with BIRT but I think it is different version. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269643#comment-13269643 ] Jacques Le Roux commented on OFBIZ-4849: ---------------------------------------- Sure we could use Ivy indeed, even in the same target... > YUI Compressor conflict with BIRT > --------------------------------- > > Key: OFBIZ-4849 > URL: https://issues.apache.org/jira/browse/OFBIZ-4849 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: Ubuntu 10.04 > Reporter: Chatree Srichart > Labels: BIRT, yuicompressor > Original Estimate: 8h > Remaining Estimate: 8h > > I got a problem when I entered an example report which has been created using BIRT https://demo-trunk.ofbiz.apache.org:8443/example/control/Report > I got an error message: Invalid javascript expression: dataSetRow["exampleId"] > This is a Mozilla JavaScript problem. > Actually BIRT has a proper library for that, framework/birt/lib/js.jar, but it is conflicted by YUI Compressor library, framework/base/lib/yuicompressor-2.4.6.jar . If I take the YUI Compressor library out then the example report works fine. > I see that in the YUI Compressor library contains org.mozilla.javascript package which duplicate with BIRT but I think it is different version. > Regards, > Chatree Srichart -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
Free forum by Nabble | Edit this page |