Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11991

Fix preview in layout showcase

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.1
    • Fix Version/s: 5.7.2
    • Component/s: Layouts & Widgets
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      URL pattern descriptors set on the URLPolicyService are now ordered according to registration order

      Show
      URL pattern descriptors set on the URLPolicyService are now ordered according to registration order

      Description

      The preview on layout demo is broken in 5.7.1, here is a sample stack trace when previewing the text widget in view mode for instance:

      Caused by: javax.faces.FacesException: javax.el.PropertyNotFoundException: /layouts/layout_default_template.xhtml @66,77 value="#{value['label']}": Target Unreachable, identifier 'value' resolved to null
      	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:714)
      	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
      	at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:720)
      	at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
      	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:224)
      	at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:455)
      	at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
      	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
      	at org.nuxeo.ecm.platform.ui.web.lifecycle.NuxeoLifeCycleImpl.execute(NuxeoLifeCycleImpl.java:83)
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      	... 54 more
      Caused by: javax.el.PropertyNotFoundException: /layouts/layout_default_template.xhtml @66,77 value="#{value['label']}": Target Unreachable, identifier 'value' resolved to null
      	at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
      	at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:92)
      	at javax.faces.component.UIInput.getConvertedValue(UIInput.java:942)
      	at javax.faces.component.UIInput.validate(UIInput.java:868)
      	at javax.faces.component.UIInput.executeValidate(UIInput.java:1072)
      	at javax.faces.component.UIInput.processValidators(UIInput.java:672)
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: