Pentaho Report Designer

After saving a report with a FormulaFunction that has no formula we can not open the report again

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.5.0 (CITRUS)
  • Fix Version/s: 3.6.0 M1
  • Component/s: None
  • QA Validation Status:
    Validated by QA
  • Description:
    Hide
    If we add a FormulaFunction and don't specify a formula, we end up with a line like this in datadefinition.xml:

    <expression name="FormulaFunction0"/>


    If we close PRD and open it again, if we try to open this report we'll get a very nasty exception. I had to edit the .prpt file manually:



    ParentException:
    org.pentaho.reporting.libraries.xmlns.parser.ParseException: Required attribute 'class' is missing. [Location: Line=7 Column=40]
            at org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionReadHandler.startParsing(ExpressionReadHandler.java:85)
            at org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler.startParsing(AbstractPropertyXmlReadHandler.java:66)
            at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:116)
            at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.recurse(RootXmlReadHandler.java:328)
            at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:133)
            at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.startElement(RootXmlReadHandler.java:467)
    Show
    If we add a FormulaFunction and don't specify a formula, we end up with a line like this in datadefinition.xml: <expression name="FormulaFunction0"/> If we close PRD and open it again, if we try to open this report we'll get a very nasty exception. I had to edit the .prpt file manually: ParentException: org.pentaho.reporting.libraries.xmlns.parser.ParseException: Required attribute 'class' is missing. [Location: Line=7 Column=40]         at org.pentaho.reporting.engine.classic.core.modules.parser.base.common.ExpressionReadHandler.startParsing(ExpressionReadHandler.java:85)         at org.pentaho.reporting.engine.classic.core.modules.parser.base.common.AbstractPropertyXmlReadHandler.startParsing(AbstractPropertyXmlReadHandler.java:66)         at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:116)         at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.recurse(RootXmlReadHandler.java:328)         at org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler.startElement(AbstractXmlReadHandler.java:133)         at org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler.startElement(RootXmlReadHandler.java:467)

Activity

Thomas Morgner made changes - 09/Oct/09 12:38 PM
Field Original Value New Value
Project Pentaho Reporting Engine [ 10101 ] Pentaho Report Designer [ 10051 ]
Key PRE-533 PRD-2081
Affects Version/s 3.5.0 (CITRUS) [ 10552 ]
QA Validation Status Not Yet Validated
Affects Version/s 3.5 (Citrus) [ 10480 ]
Thomas Morgner made changes - 09/Oct/09 12:39 PM
Fix Version/s 3.5.1 [ 10811 ]
Thomas Morgner made changes - 09/Oct/09 12:39 PM
Status Open [ 1 ] In Progress [ 3 ]
Thomas Morgner made changes - 09/Oct/09 12:39 PM
Status In Progress [ 3 ] Ready For Test [ 10004 ]
Assignee Thomas Morgner [ tmorgner ] Kurtis Cruzada [ kcruzada ]
Kurtis Cruzada made changes - 11/Nov/09 2:15 PM
Assignee Kurtis Cruzada [ kcruzada ] Golda David [ gdavid ]
Hide
Priya Muraleedharan added a comment - 18/Nov/09 5:54 AM
This issue has been fixed and Validated in SUGAR-Nightly build (16th Nov).
Show
Priya Muraleedharan added a comment - 18/Nov/09 5:54 AM This issue has been fixed and Validated in SUGAR-Nightly build (16th Nov).
Priya Muraleedharan made changes - 18/Nov/09 5:54 AM
Status Ready For Test [ 10004 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
QA Validation Status Not Yet Validated Validated by QA
Priya Muraleedharan made changes - 18/Nov/09 5:55 AM
Status Resolved [ 5 ] Closed [ 6 ]
Hide
David Kincade added a comment - 01/Dec/09 3:36 PM
Reopening for re-closing against 3.6.0-M1
Show
David Kincade added a comment - 01/Dec/09 3:36 PM Reopening for re-closing against 3.6.0-M1
David Kincade made changes - 01/Dec/09 3:36 PM
Resolution Fixed [ 1 ]
Status Closed [ 6 ] Reopened [ 4 ]
David Kincade made changes - 01/Dec/09 3:37 PM
Fix Version/s 3.6.0 M1 [ 10841 ]
Fix Version/s 3.6.0 [ 10811 ]
David Kincade made changes - 01/Dec/09 3:39 PM
Status Reopened [ 4 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Marc Batchelor made changes - 06/May/10 6:50 PM
Workflow Pentaho Engineering 6.0 Workflow [ 488119 ] Pentaho Engineering 7.0 Workflow [ 501601 ]
Marc Batchelor made changes - 04/Aug/10 10:18 PM
Workflow Pentaho Engineering 7.0 Workflow [ 501601 ] Pentaho Engineering 8.0 Workflow [ 523982 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
Open Open In Progress In Progress
1d 1h 25m
1
Thomas Morgner
09/Oct/09 12:39 PM
In Progress In Progress Ready For Test Ready For Test
7s
1
Thomas Morgner
09/Oct/09 12:39 PM
Ready For Test Ready For Test Resolved Resolved
39d 18h 15m
1
Priya Muraleedharan
18/Nov/09 5:54 AM
Resolved Resolved Closed Closed
28s
1
Priya Muraleedharan
18/Nov/09 5:55 AM
Closed Closed Reopened Reopened
13d 9h 41m
1
David Kincade
01/Dec/09 3:36 PM
Reopened Reopened Closed Closed
2m 39s
1
David Kincade
01/Dec/09 3:39 PM

People

Dates

  • Created:
    08/Oct/09 11:14 AM
    Updated:
    01/Dec/09 3:39 PM
    Resolved:
    01/Dec/09 3:39 PM