[
https://issues.apache.org/jira/browse/OFBIZ-7115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Montalbano Florian updated OFBIZ-7115:
--------------------------------------
Attachment: OFBIZ-7115-bis
Hi,
I just stumbled across this error on the Scrum component. I'm attaching the patch correcting all the remaining occurrences of the bad evaluation with the solution proposed in the original patch.
It corrected the error I was getting on the form but I didn't check the other forms for possible regression.
> Timesheet overview page of projectmgr throw error on terminal
> -------------------------------------------------------------
>
> Key: OFBIZ-7115
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7115> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/projectmgr
> Affects Versions: Trunk, Release Branch 15.12
> Reporter: Vaibhav Jain
> Assignee: Pranay Pandey
> Priority: Minor
> Attachments: OFBIZ-7115-bis, OFBIZ-7115.patch
>
>
> Steps to regenerate (load the system with demo data)
> 1. Go to "PROJECT" menu (
https://localhost:8443/projectmgr/control/main)
> 2. Select the 'Timesheet' sub-menu option
> 3. Click on "find" button.
> 4. Click on DEMO-TIMESHEET1 in the list.
> 5. The system working as expected but the terminal throws the following error
> {code}
> [java] 2016-05-21 18:25:47,631 |ttp-nio-8443-exec-13 |FlexibleStringExpander |W| Error evaluating scriptlet [${groovy:workEffortId!=void&&!"Totals".equals(workEffortId)?workEffortId:""}]; error was: groovy.lang.MissingPropertyException: No such property: workEffortId for class: script1463806799411782919921
> [java] groovy.lang.MissingPropertyException: No such property: workEffortId for class: script1463806799411782919921
> [java] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all-2.4.5.jar:2.4.5]
> [java] at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:52) ~[groovy-all-2.4.5.jar:2.4.5]
> [java] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:307) ~[groovy-all-2.4.5.jar:2.4.5]
> and
> |W| Could not get a system property for widget.autocompleter.defaultDelay : null
> [java] 2016-05-21 18:25:47,732 |ttp-nio-8443-exec-13 |UtilXml |E| XmlFileLoader: File file:/home/common/ofbiz/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml process error. Line: 209. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
> [java] 2016-05-21 18:25:47,795 |ttp-nio-8443-exec-13 |UtilXml |E| XmlFileLoader: File file:/home/common/ofbiz/specialpurpose/projectmgr/widget/forms/TimeSheetForms.xml process error. Line: 209. Error message: cvc-complex-type.4: Attribute 'value-field' must appear on element 'entity-one'.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)