You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Hans Bakker (JIRA)" <ji...@apache.org> on 2009/04/26 08:34:30 UTC

[jira] Created: (OFBIZ-2359) timesheet findsheet problem caused by new renderer

timesheet findsheet problem caused by new renderer
--------------------------------------------------

                 Key: OFBIZ-2359
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2359
             Project: OFBiz
          Issue Type: Sub-task
    Affects Versions: Release Branch 4.0, Release Branch 9.04
            Reporter: Hans Bakker
             Fix For: Release Branch 4.0, Release Branch 9.04


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)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2359) timesheet findsheet problem caused by new renderer

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-2359.
------------------------------------

    Resolution: Fixed

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).



> timesheet findsheet problem caused by new renderer
> --------------------------------------------------
>
>                 Key: OFBIZ-2359
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2359
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: Release Branch 4.0, Release Branch 9.04
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>             Fix For: Release Branch 4.0, Release Branch 9.04
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (OFBIZ-2359) timesheet findsheet problem caused by new renderer

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato reassigned OFBIZ-2359:
----------------------------------------

    Assignee: Jacopo Cappellato

> timesheet findsheet problem caused by new renderer
> --------------------------------------------------
>
>                 Key: OFBIZ-2359
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2359
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: Release Branch 4.0, Release Branch 9.04
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>             Fix For: Release Branch 4.0, Release Branch 9.04
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OFBIZ-2359) timesheet findsheet problem caused by new renderer

Posted by "Hans Bakker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12703151#action_12703151 ] 

Hans Bakker commented on OFBIZ-2359:
------------------------------------

thanks jacopo....

> timesheet findsheet problem caused by new renderer
> --------------------------------------------------
>
>                 Key: OFBIZ-2359
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2359
>             Project: OFBiz
>          Issue Type: Sub-task
>    Affects Versions: Release Branch 4.0, Release Branch 9.04
>            Reporter: Hans Bakker
>            Assignee: Jacopo Cappellato
>             Fix For: Release Branch 4.0, Release Branch 9.04
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.