javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2221

FaceletTaglibConfigProcessor fails if formatting taglib.xml leads to new-lines in function configuration before function name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.14, 2.2.0-m06
    • Component/s: facelets
    • Labels:
      None

      Description

      Reformat the taglib.xml file might lead to newlines inserted in the middle of a function configuration. FaceletTaglibConfigProcessor fails with wrong message when a newline is inserted directly after the return type.

      The proposed fix (see attachment) replaces all white space (space, new line, tabs) contained in the signature into spaces. That way the function configuration can be interpreted correctly.

        Issue Links

          Activity

          Hanspeter Duennenberger created issue -
          Ed Burns made changes -
          Field Original Value New Value
          Fix Version/s 2.2 [ 10944 ]
          Manfred Riem made changes -
          Assignee Ed Burns [ edburns ]
          Hanspeter Duennenberger made changes -
          Link This issue duplicates JAVASERVERFACES-2369 [ JAVASERVERFACES-2369 ]
          Manfred Riem made changes -
          Assignee Manfred Riem [ mriem ]
          Manfred Riem made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.1.14 [ 16014 ]
          Fix Version/s 2.2-m06 [ 15885 ]
          Resolution Fixed [ 1 ]
          Manfred Riem made changes -
          Affects Version/s 2.2.1 [ 10944 ]

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Hanspeter Duennenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5 hours
                5h
                Remaining:
                Remaining Estimate - 5 hours
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified