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

Can't import files in Runtime without datasets or navigation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • Dashbuilder
    • None
    • 2020 Week 22-24 (from May 25), 2020 Week 25-27 (from Jun 15)
    • Hide

      import the attached file in Dashbuilder runtime

      Show
      import the attached file in Dashbuilder runtime
    • NEW
    • NEW

      Files without dataset or navigation cannot be imported in Runtime.

      Take as an example the attached import, it does not have datasets and it will fail on Runtime with the following exception. The same happens with Navigation, but Runtime should be able to run import with only pages (users may rely only on HTML components to build pages)

      14:52:44,713 ERROR [org.dashbuilder.backend.resources.UploadResourceImpl] (default task-8) Error uploading file: java.lang.IllegalArgumentException: Not a valid file structure.
      	at deployment.dashbuilder-runtime.war//org.dashbuilder.backend.services.impl.RuntimeModelRegistryImpl.registerFile(RuntimeModelRegistryImpl.java:95)
      	at deployment.dashbuilder-runtime.war//org.dashbuilder.backend.services.impl.RuntimeModelRegistryImpl$Proxy$_$$_WeldClientProxy.registerFile(Unknown Source)
      	at deployment.dashbuilder-runtime.war//org.dashbuilder.backend.resources.UploadResourceImpl.uploadFile(UploadResourceImpl.java:81)
      	at deployment.dashbuilder-runtime.war//org.dashbuilder.backend.resources.UploadResourceImpl$Proxy$_$$_WeldClientProxy.uploadFile(Unknown Source)
      

              rhn-support-wsiqueir William Siqueira
              rhn-support-wsiqueir William Siqueira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: