Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 12.04.06
    • Component/s: framework
    • Environment:

      Ubuntu 10.04

      Description

      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

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Thanks for Chatree's reminder in OFBIZ-5876, closes OFBIZ-4849 and OFBIZ-5070 for R12.04 where the yuicompressor-2.4.6.jar was still present

          Completed: At revision: 1642656

          If there are still issue with Birt please open new Jira issues, thanks!

          Show
          jacques.le.roux Jacques Le Roux added a comment - Thanks for Chatree's reminder in OFBIZ-5876 , closes OFBIZ-4849 and OFBIZ-5070 for R12.04 where the yuicompressor-2.4.6.jar was still present Completed: At revision: 1642656 If there are still issue with Birt please open new Jira issues, thanks!
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Sure we could use Ivy indeed, even in the same target...

          Show
          jacques.le.roux Jacques Le Roux added a comment - Sure we could use Ivy indeed, even in the same target...
          Hide
          utcb Leon added a comment -

          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?

          Show
          utcb Leon added a comment - 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?
          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Yes, it's not used as long as you don't use ant minifyJsCss target (see ant -p)

          Show
          jacques.le.roux Jacques Le Roux added a comment - Yes, it's not used as long as you don't use ant minifyJsCss target (see ant -p)
          Hide
          utcb Leon added a comment -

          I met this issue too. Is that safe to remove yui library?

          Show
          utcb Leon added a comment - I met this issue too. Is that safe to remove yui library?

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              chatree Chatree Srichart
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development