Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-1712

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

XMLWordPrintable

    • 2018 Week 45-47, 2018 Week 48-50
    • 2
    • 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.
    • Hide

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

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

      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?

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

              Created:
              Updated:
              Resolved: