GrailsFlow

Script cannot be compiled because line is too long.

Details

  • Type: Bug Bug
  • Status: Integration Review Integration Review
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 0.9.2
  • Fix Version/s: 1.0
  • Component/s: None
  • Labels:
    None
  • Environment:
    test.jcatalog.com (pim-grails)
  • Request Controller:
    Czeranka, Norbert
  • External Supervisor:
    Voitovich, Mary
  • Executing Programmer:
    Please select
  • Ext Project Id:
    AUDI-01.5

Description

For a specific field a ListBox is needed. Therefore a "view" of type "inList" ist defined. This definition seems to be too long, the script cannot be compiled:

2009-07-14 08:31:27,402 [http-9090-Processor49] ERROR (org.hibernate.util.JDBCExceptionReporter) - Data truncation: Data too long for column 'attribute_value' at row 1

The defintion of inList works with line length of 335 (in English) but 343 is already too much.
What I would need is the defintion of a Listbox with 100 Entries (about 2400 characters).

See attached process script for an example.


Necessary enhancements of the internal db usage of the process editors are part of ticket GFW-126.

Issue Links

Activity

Hide
Ernst, Martin added a comment - 14/Jul/09 6:49 AM

Additonal comment: the error message is displayed in a strange way, see screenshot.

Show
Ernst, Martin added a comment - 14/Jul/09 6:49 AM Additonal comment: the error message is displayed in a strange way, see screenshot.
Hide
Ernst, Martin added a comment - 14/Jul/09 6:58 AM

It is not possible to define the contents of the listbox within multiple lines since \n is not accepted.

2009-07-14 08:26:31,883 [http-9090-Processor3] ERROR (java.lang.Class) - Groovy Script InListExtremeTestProcess.groovy cannot be parsed and compiled.
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /opt/intern/snapshot/tomcat_snapshot/webapps/prov/workarea/flow/pim/processes/InListExtremeTestProcess.groovy: 60: expecting ''', found '\n' @ line 60, column 38.
bi_PostTypGr_Wa(inList: '[\'NORM\',
^

1 error

Show
Ernst, Martin added a comment - 14/Jul/09 6:58 AM It is not possible to define the contents of the listbox within multiple lines since \n is not accepted. 2009-07-14 08:26:31,883 [http-9090-Processor3] ERROR (java.lang.Class) - Groovy Script InListExtremeTestProcess.groovy cannot be parsed and compiled. org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, /opt/intern/snapshot/tomcat_snapshot/webapps/prov/workarea/flow/pim/processes/InListExtremeTestProcess.groovy: 60: expecting ''', found '\n' @ line 60, column 38. bi_PostTypGr_Wa(inList: '[\'NORM\', ^ 1 error
Hide
Czeranka, Norbert added a comment - 14/Jul/09 12:48 PM

Workflows with 'Process Attributes' that consist of attribute_values that are too long, could not be stored in the db - table process_attribute_def´

  • Trying to edit the process runs into an empty page
  • Attached screen shot ErrorMessage.jpg appears when pressing the 'Reload' button.
  • But workflows like this are executable.

Though this workflows are executable, the priority is reduced to 'Critical'.

Show
Czeranka, Norbert added a comment - 14/Jul/09 12:48 PM Workflows with 'Process Attributes' that consist of attribute_values that are too long, could not be stored in the db - table process_attribute_def´
  • Trying to edit the process runs into an empty page
  • Attached screen shot ErrorMessage.jpg appears when pressing the 'Reload' button.
  • But workflows like this are executable.
Though this workflows are executable, the priority is reduced to 'Critical'.
Hide
Antonicheva, July added a comment - 07/Feb/12 2:22 PM

Please close the issue

Show
Antonicheva, July added a comment - 07/Feb/12 2:22 PM Please close the issue

People

Vote (0)
Watch (0)

Dates

  • Created:
    14/Jul/09 6:48 AM
    Updated:
    07/Feb/12 2:22 PM