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

Xinha Image Variant always needs to be choosen

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.18.04, 2.19.02
    • None
    • None

    Description

      If the preferred image variant is not or not proper configured, the insert image dialog of the xinha editor is producing a NPE if no variant is selected.

      28.03.2011 12:35:49 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1529]
      java.lang.NullPointerException
      at org.hippoecm.frontend.plugins.xinha.model.DocumentLink.isSameType(DocumentLink.java:82)
      at org.hippoecm.frontend.plugins.xinha.services.images.XinhaImageService$1.save(XinhaImageService.java:92)
      at org.hippoecm.frontend.plugins.xinha.dialog.images.ImageBrowserDialog.onOk(ImageBrowserDialog.java:359)
      at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:580)
      at org.hippoecm.frontend.dialog.AbstractDialog$3.onSubmit(AbstractDialog.java:430)
      at org.hippoecm.frontend.dialog.AbstractDialog$ButtonWrapper$1.onSubmit(AbstractDialog.java:251)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            jbloemendal Jannis Bloemendal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: