Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Release Branch 4.0, Release Branch 09.04
    • Component/s: None
    • Labels:
      None

      Description

      with the demo data and user admin . the error does not show when using the old renderers.
      go to project -> timesheet and the following error appears in the log file:

      2009-04-26 13:19:17,013 (http-0.0.0.0-8443-1) [ ScreenFactory.java:129:INFO ] Got 10 screens in 0.016s from: file:/home/hans/ofbiz/svn/specialpurpose/projectmgr/widget/TimeSheetScreens.xml
      2009-04-26 13:19:17,015 (http-0.0.0.0-8443-1) [ PrimaryKeyFinder.java:141:INFO ] Returning null because found incomplete primary key in find: [GenericEntity:Timesheet][timesheetId,null()]
      2009-04-26 13:19:17,015 (http-0.0.0.0-8443-1) [ PrimaryKeyFinder.java:141:INFO ] Returning null because found incomplete primary key in find: [GenericEntity:PartyNameView][partyId,null()]
      2009-04-26 13:19:17,338 (http-0.0.0.0-8443-1) [ Log4JLoggerFactory.java:96 :ERROR]

      Expression uiLabelMap is undefined on line 1, column 114 in Sun Apr 26 13:19:17 ICT 2009.
      The problematic instruction:
      ----------
      ==> $

      {uiLabelMap.CommonFind}

      [on line 1, column 112 in Sun Apr 26 13:19:17 ICT 2009]
      in user-directive renderSubmitField [on line 1, column 1 in Sun Apr 26 13:19:17 ICT 2009]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.core.InvalidReferenceException: Expression uiLabelMap is undefined on line 1, column 114 in Sun Apr 26 13:19:17 ICT 2009.
      at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
      at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
      at freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
      at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      at freemarker.core.Expression.getStringValue(Expression.java:93)
      at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
      at freemarker.core.Environment.visit(Environment.java:209)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:209)
      at freemarker.core.Environment.renderElementToString(Environment.java:1568)
      at freemarker.core.StringLiteral.getStringValue(StringLiteral.java:101)
      at freemarker.core.StringLiteral._getAsTemplateModel(StringLiteral.java:86)
      at freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      at freemarker.core.Environment.visit(Environment.java:556)

        Activity

        Hide
        Jacopo Cappellato added a comment -

        Thank you for your report Hans; I have fixed it by changing the name of the form's field in rev. 768960 (I think it was set in that way by accident).

        Show
        Jacopo Cappellato added a comment - Thank you for your report Hans; I have fixed it by changing the name of the form's field in rev. 768960 (I think it was set in that way by accident).
        Hide
        Hans Bakker added a comment -

        thanks jacopo....

        Show
        Hans Bakker added a comment - thanks jacopo....

          People

          • Assignee:
            Jacopo Cappellato
            Reporter:
            Hans Bakker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development