Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1703

Adding "Target Div" component to a page causes Unexpected error to appear

    XMLWordPrintable

Details

    • Hide

      After Unexpected error modal appears, click Ignore, then click OK again.

      Show
      After Unexpected error modal appears, click Ignore, then click OK again.
    • Hide

      see attached video for steps to reproduce the issue

      1. Go to Pages
      2. Create new page called "a"
      3. Select components on the right, drag and drop "Target Div" navigation components onto the page.
      4. Set Div Id to any value and click OK

      Expected behavior:
      target div component is added to the page
      Actual behavior:

      • Unexpected error modal appears, containing error
      Uncaught exception: Exception caught: CDI Event exception: CommandType=CDIEvent, BeanType=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent, BeanReference=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent@48b8, FromClient=1 sent to [unavailable] Caused by: CDI Event exception: CommandType=CDIEvent, BeanType=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent, BeanReference=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent@48b8, FromClient=1 sent to [unavailable] Caused by: (TypeError) : Cannot read property 'c' of undefined

      EDIT:
      semi-working workaround exists: click Ignore and click OK (as in step 4) again - the component is added to the page, BUT it has different ID that what user set in the dialog.

      Show
      see attached video for steps to reproduce the issue 1. Go to Pages 2. Create new page called "a" 3. Select components on the right, drag and drop "Target Div" navigation components onto the page. 4. Set Div Id to any value and click OK Expected behavior: target div component is added to the page Actual behavior: Unexpected error modal appears, containing error Uncaught exception: Exception caught: CDI Event exception: CommandType=CDIEvent, BeanType=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent, BeanReference=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent@48b8, FromClient=1 sent to [unavailable] Caused by: CDI Event exception: CommandType=CDIEvent, BeanType=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent, BeanReference=org.uberfire.ext.properties.editor.model.PropertyEditorChangeEvent@48b8, FromClient=1 sent to [unavailable] Caused by: (TypeError) : Cannot read property 'c' of undefined EDIT: semi-working workaround exists: click Ignore and click OK (as in step 4) again - the component is added to the page, BUT it has different ID that what user set in the dialog.

    Description

      Trying to add "Target DIV" to a page causes unexpected error modal to appear.
      This is a regression on in 7.14.x branch (7.2 product). In 7.1.1 product this was working without errors.

      david.magallanes I'm not aware of any changes in this area, but this is now reproducible reliably. Could you please check / reassign?

      Attachments

        Issue Links

          Activity

            People

              eignatow Eder Ignatowicz
              eignatow Eder Ignatowicz
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: