Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5588

Explicit server path information displayed in error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.20.5
    • Fix Version/s: None
    • Component/s: Resources

      Description

      Enter a rogue widget or layout template in the resources section, e.g.

      <div <div xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:a4j="http://richfaces.org/a4j"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:nxu="http://nuxeo.org/nxweb/util"
        xmlns:nxl="http://nuxeo.org/nxforms/layout"
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:rich="http://richfaces.org/rich">
      </div>
      

      where the repeated <div is on purpose

      ==> An error message such as:

      [custom_tags.xhtml] Error while parsing file : Error on line 1 of document file:///ebs/studio_workspaces/pabgrall710/pabgrall710-#832-cloned-2019-11-06-11-36-39/studio/resources/nuxeo.war/widgets/custom_tags.xhtml : Element type "div" must be followed by either attribute specifications, ">" or "/>". Nested exception: Element type "div" must be followed by either attribute specifications, ">" or "/>"..
      

      showing the expliciit server path is displayed to the end user.

      Expected: no server-side resource information should be displayed.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pabgrall Patrick Abgrall
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: