Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-7228

Double value in the form is shown with a group separator and attempt to save the value fails when the form is rendered by kie server (property org.jbpm.wb.forms.renderer.ext is set to true)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.8
    • None
    • Hide
      1. Set "org.jbpm.wb.forms.renderer.ext" property to true in the config file and start the server;
      2. Create a Data Object with a "Double" field and some other fields.
      3. Create a simple business process with a user task bound to the above data object. (The user task should have appropriate assignment groups and In/Out params)
      4. Generate task and process forms - This should create the task form with a nested form bound to the data object.
      5. Save and deploy the process.
      6. Kickoff an instance of the process and supply values. Make sure to supply bigger numeric value (Eg: 125000) and find a task waiting in the task inbox.
      7. Claim, Start the task.
      8. Note that the numeric value has a group separator (Eg: 125,000). Now save the task and observe the error.
      Show
      Set "org.jbpm.wb.forms.renderer.ext" property to true in the config file and start the server; Create a Data Object with a "Double" field and some other fields. Create a simple business process with a user task bound to the above data object. (The user task should have appropriate assignment groups and In/Out params) Generate task and process forms - This should create the task form with a nested form bound to the data object. Save and deploy the process. Kickoff an instance of the process and supply values. Make sure to supply bigger numeric value (Eg: 125000) and find a task waiting in the task inbox. Claim, Start the task. Note that the numeric value has a group separator (Eg: 125,000). Now save the task and observe the error.
    • Hide

      Every double value that is represented with a group separator have to be changed and comma separator has to be removed in order to save the value properly. 

      Show
      Every double value that is represented with a group separator have to be changed and comma separator has to be removed in order to save the value properly. 
    • Undefined

    Description

      A task form having a DecimalBox displays a big numeric value with a group separator (For eg: A number 123000 gets displayed as 123,000). However, on saving the task form by clicking on "Save" button, without making any changes, an error "Something went wrong Internal Server Error ( Internal Server Error)".

      Attachments

        Activity

          People

            viyengar@redhat.com Vidya Iyengar
            rhn-support-bkramer1 Biljana Kramer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: