You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/09/09 09:52:41 UTC

svn commit: r1701936 - /ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign

Author: jleroux
Date: Wed Sep  9 07:52:41 2015
New Revision: 1701936

URL: http://svn.apache.org/r1701936
Log:
A slightly modified patch from Pierre Smits for "view sprint overview has errors" https://issues.apache.org/jira/browse/OFBIZ-4861

When viewing the sprint overview page errors are shown related to burndown chart and the sprint backlog list

Regarding the burndown chart:

The following items have errors:

Chart (id = 113):
+ A BIRT exception occurred. See next exception for more information.
Invalid javascript expression: row["sprintDay"] (Element ID:113) 

Regarding the sprint backlog list

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://common/widget/CommonScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException: Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
(Error evaluating BeanShell use-when condition [showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS"] on the field custRequestId of form sprintBacklogListItems: Sourced file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : illegal use of null value or 'null' literal : at Line: 1 : in file: inline evaluation of: ``showPosition1&&"RF_PROD_BACKLOG"=="RF_SCRUM_MEETINGS";'' : ;
)

jleroux: I did not see the sprint backlog list. I put back the removed license header


Modified:
    ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign

Modified: ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign?rev=1701936&r1=1701935&r2=1701936&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign (original)
+++ ofbiz/trunk/specialpurpose/scrum/webapp/scrum/reports/BacklogChart.rptdesign Wed Sep  9 07:52:41 2015
@@ -17,12 +17,14 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1">
-    <property name="createdBy">Eclipse BIRT Designer Version 2.6.1.v20100902 Build &lt;2.6.1.v20100915-1750></property>
+<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
+    <property name="createdBy">Eclipse BIRT Designer Version 4.4.2.v201410272105 Build &lt;4.4.2.v20150217-1805></property>
     <property name="units">in</property>
-    <method name="initialize"><![CDATA[importPackage(Packages.java.math);
+    <method name="initialize"><![CDATA[
+    
+importPackage(Packages.java.math);
 importPackage(Packages.java.text);
-
+importPackage(Packages.java.util);
 importPackage(Packages.org.ofbiz.base.util);
 importPackage(Packages.org.ofbiz.entity.condition);
 module = "BacklogChart.rptdesign";
@@ -1060,9 +1062,9 @@ return true;]]></method>
 ]]></xml-property>
             <property name="outputFormat">SVG</property>
             <property name="inheritColumns">false</property>
-            <property name="dataSet">TestDataSet</property>
             <property name="height">3.1956521739130435in</property>
             <property name="width">6.163043478260869in</property>
+            <property name="dataSet">TestDataSet</property>
             <list-property name="boundDataColumns">
                 <structure>
                     <property name="name">DataName</property>