[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15262189#comment-15262189 ] Montalbano Florian commented on OFBIZ-7003: --- Hi, I looked into the problem and found where this error comes from. When the project list is loaded, it uses the form "ListCurrentProjects" from the file ProjectsForms.xml. In this form, the diffrent informations about the projects are loaded. The error indicates that the property "actualNonBilledTotalHours" does not exist in the current context. And this value is used in this line : The condition means : If the hours are billable And there is at least 1 hour not billed Then display this number of hours Else diplay "" I'm not sure about the "!=void" thing, I would use Util.isNotEmpty instead. When the condition is checked, the property actualNonBilledTotalHours is searched through the context but is not found. I search something that was related to this property and found the simple-method "getHours" from the file "WorkEffortSimpleServices.xml". Under the right condition, it does evaluate and return the property. But the thing is that this method is not called by the "ListCurrentProject". And one of the reason is that this method is not available as a service. So the problem behind this one is that there is nothing to put the "actualNonBilledTotalHours" in the context of "ListCurrentProject" thus showing the error about this property missing. To solve this problem, either a service can be created to call the method getHours and then updating the ListCurrentProject (this choice is to be made by the community) or this feature about the "actualNonBilledTotalHours" can be dropped (choice decided by the community too). I hope I'm not mistaking about the root problem and hope that will help you. Have a nice day, Florian > Error when accessing project manager > > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Priority: Minor > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] >
[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290686#comment-15290686 ] Chandan commented on OFBIZ-7003: Hi Montalbano Florian, Your findings looks good, I have also explored the issue and found that property "actualNonBilledTotalHours" does not exist in the current context and seems like its typo as it is already available in context as "actualNonBilledHours". I have attached a patch with minor improvements in service to declare the variable with default-value="0" to avoid No such property exception. Kindly share your thoughts on this. -- Chandan Khandelwal > Error when accessing project manager > > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Assignee: Chandan >Priority: Minor > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > [ofbiz-widget.jar:?] >
[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295004#comment-15295004 ] Pranay Pandey commented on OFBIZ-7003: -- I reviewed comment from Montalbano Florian and Chandan Khandelwal. I think it's a typo issue as mentioned by Chandan and can be fixed with the patches uploaded to the issue. > Error when accessing project manager > > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Assignee: Pranay Pandey >Priority: Minor > Attachments: OFBIZ-7003-1412.patch, OFBIZ-7003-1512.patch, > OFBIZ-7003.patch > > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.Mo
[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295949#comment-15295949 ] Pranay Pandey commented on OFBIZ-7003: -- Thanks Jacques. > Error when accessing project manager > > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Assignee: Pranay Pandey >Priority: Minor > Fix For: 14.12.01, 15.12.01 > > Attachments: OFBIZ-7003-1412.patch, OFBIZ-7003-1512.patch, > OFBIZ-7003.patch > > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.wid
[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296024#comment-15296024 ] Jacques Le Roux commented on OFBIZ-7003: Ho sorry, forgot to report here. I had to revert my change at r1745012 because it did not occurs to me that it was in a display field. And the simplified syntax (no HTML entities) does not work in these fields [because of this|https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML] The error msg is "The entity name must immediately follow the '&' in the entity reference." For a reason I'll check later this works in 'https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Assignee: Pranay Pandey >Priority: Minor > Fix For: 14.12.01, 15.12.01 > > Attachments: OFBIZ-7003-1412.patch, OFBIZ-7003-1512.patch, > OFBIZ-7003.patch > > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) >
[jira] [Commented] (OFBIZ-7003) Error when accessing project manager
[ https://issues.apache.org/jira/browse/OFBIZ-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296949#comment-15296949 ] Jacques Le Roux commented on OFBIZ-7003: OK, it's clear to me now, thanks to https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents#answer-1091953. It was really not obvious and this is the best answer! > Error when accessing project manager > > > Key: OFBIZ-7003 > URL: https://issues.apache.org/jira/browse/OFBIZ-7003 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/projectmgr >Affects Versions: Trunk >Reporter: james yong >Assignee: Pranay Pandey >Priority: Minor > Fix For: 14.12.01, 15.12.01 > > Attachments: OFBIZ-7003-1412.patch, OFBIZ-7003-1512.patch, > OFBIZ-7003.patch > > > I am running SVN version 1738958. > Problem > === > I navigate to https://localhost:8443/projectmgr, and found the following > error on the console: > {code} > 2016-04-14 22:31:56,648 |http-nio-8443-exec-3 |ServiceDispatcher > |T| Sync service [projectmgr/getProject] finished in [24] milliseconds > 2016-04-14 22:31:56,724 |http-nio-8443-exec-3 |FlexibleStringExpander > |W| Error evaluating scriptlet > [${groovy:isBillable&&actualNonBilledTotalHours!=void?actualNonBilledTotalHours:""}]; > error was: groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > groovy.lang.MissingPropertyException: No such property: > actualNonBilledTotalHours for class: script14606441839311459442740 > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) > ~[groovy-all-2.4.5.jar:2.4.5] > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) > ~[groovy-all-2.4.5.jar:2.4.5] > at > script14606441839311459442740.run(script14606441839311459442740.groovy:1) > ~[?:?] > at org.ofbiz.base.util.ScriptUtil.evaluate(ScriptUtil.java:263) > ~[ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander$ScriptElem.get(FlexibleStringExpander.java:657) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:437) > [ofbiz-base.jar:?] > at > org.ofbiz.base.util.string.FlexibleStringExpander.expandString(FlexibleStringExpander.java:407) > [ofbiz-base.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.getDescription(ModelFormField.java:1496) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroFormRenderer.renderDisplayField(MacroFormRenderer.java:194) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField$DisplayField.renderFieldString(ModelFormField.java:1615) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelFormField.renderFieldString(ModelFormField.java:724) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRow(FormRenderer.java:582) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderItemRows(FormRenderer.java:899) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.FormRenderer.renderListFormString(FormRenderer.java:941) > [ofbiz-widget.jar:?] > at org.ofbiz.widget.renderer.FormRenderer.render(FormRenderer.java:266) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:1053) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.renderer.macro.MacroScreenRenderer.renderScreenletSubWidget(MacroScreenRenderer.java:678) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Screenlet.renderWidgetString(ModelScreenWidget.java:599) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127) > [ofbiz-widget.jar:?] > at > org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWid