Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7112

Backport: uploading from picker results in stacktraces when selected wrong folders (CMS7-6985)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.02
    • 2.24.03
    • None
    • Archetype for 7.8.1, gallerypicker 1.11.00

    Description

      When adding an image in an HTML field, one has the possibiliy to select folders other than de Gallery (namely Documents, Assets).

      Having selected such non-Gallery folder and using the upload button, stacktraces/errors appear in the logs.

      Documents folder selected:
      java.lang.ClassCastException: $Proxy60 cannot be cast to org.hippoecm.repository.gallery.GalleryWorkflow

      Assets folder selected:
      [org.hippoecm.frontend.plugins.xinha.dialog.images.ImageBrowserDialog$7.onSubmit():297] no matching property definition found for

      {http://www.onehippo.org/jcr/hippogallery/nt/2.0}

      filename

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abogaart Arthur Bogaart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: