MyFaces Core
  1. MyFaces Core
  2. MYFACES-1415

WebXmlParser needs to be aware of changes in web.xml in version 2.4 of the Servlet spec

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: General
    • Labels:
      None

      Description

      When using a Servlet 2.4 compliant web.xml, warnings are shown for some elements that are valid according to the spec. This is purely a cosmetic issue, with no loss of function whatsoever. It does create some confusion when users see this message (e.g. http://www.mail-archive.com/users@myfaces.apache.org/msg28066.html), so it might be worth fixing at some time.

      WARN [WebXmlParser] Ignored element 'dispatcher' as child of 'filter-mapping'.

        Activity

        Gert Vanthienen created issue -
        Dan Allen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Dan Allen added a comment -

        This patch acknowleges the possibility of a child node named "dispatcher" in the filter-mapping and silently moves on, without logging a debug or warn message (since there is absolutely no need to do so).

        Show
        Dan Allen added a comment - This patch acknowleges the possibility of a child node named "dispatcher" in the filter-mapping and silently moves on, without logging a debug or warn message (since there is absolutely no need to do so).
        Dan Allen made changes -
        Attachment MYFACES-1415.txt [ 12341318 ]
        Hide
        Dan Allen added a comment -

        Oh, and the above patch applies to the branch http://svn.apache.org/repos/asf/myfaces/shared/branches/2_0_3

        Show
        Dan Allen added a comment - Oh, and the above patch applies to the branch http://svn.apache.org/repos/asf/myfaces/shared/branches/2_0_3
        Hide
        Martin Marinschek added a comment -

        Thanks to Dan Allen for providing this patch.

        regards,

        Martin

        Show
        Martin Marinschek added a comment - Thanks to Dan Allen for providing this patch. regards, Martin
        Martin Marinschek made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.1.5-SNAPSHOT [ 12311960 ]
        Assignee Martin Marinschek [ mmarinschek ]
        Resolution Fixed [ 1 ]
        Manfred Geiler made changes -
        Fix Version/s 1.1.5 [ 12312310 ]
        Fix Version/s 1.1.5-SNAPSHOT [ 12311960 ]
        Manfred Geiler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        22h 54m 1 Dan Allen 21/Sep/06 20:26
        Patch Available Patch Available Resolved Resolved
        1h 27m 1 Martin Marinschek 21/Sep/06 21:54
        Resolved Resolved Closed Closed
        145d 3h 36m 1 Manfred Geiler 14/Feb/07 00:30

          People

          • Assignee:
            Martin Marinschek
            Reporter:
            Gert Vanthienen
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development