javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2067

RI checks context parameters only with lower case "true"

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.2, 2.2.0-m01
    • Component/s: None
    • Labels:
      None

      Description

      This is reported against Mojarra-2.1.0.

      In 11.1.3 Application Configuration Parameters of JSF 2.0 specification, it says that context parameters of boolean type should be evaluated with toLowerCase().equals("true"). RI only uses lower case "true" to check, is it correct?

      1. changebundle-2067.txt
        26 kB
        rogerk
      2. changebundle-2067-1.txt
        26 kB
        rogerk
      3. changebundle-2067-2.txt
        26 kB
        rogerk

        Issue Links

          Activity

          Hide
          rogerk added a comment -

          Committed. Will commit to 2.1.X branch as well.

          Show
          rogerk added a comment - Committed. Will commit to 2.1.X branch as well.
          Hide
          rogerk added a comment -

          Committed to MOJARRA_2_1_X_ROLLING branch:
          Sending jsf-ri/src/main/java/com/sun/faces/config/WebConfiguration.java
          Adding jsf-test/JAVASERVERFACES-2067
          Adding jsf-test/JAVASERVERFACES-2067/build.xml
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/pom.xml
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java/com
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java/com/sun
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java/com/sun/faces
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java/com/sun/faces/systest
          Adding jsf-test/JAVASERVERFACES-2067/htmlunit/src/main/java/com/sun/faces/systest/Issue2067TestCase.java
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/pom.xml
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src/main
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src/main/webapp
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src/main/webapp/WEB-INF
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src/main/webapp/WEB-INF/web.xml
          Adding jsf-test/JAVASERVERFACES-2067/i_jsf_2067/src/main/webapp/index.xhtml
          Sending jsf-test/build.xml
          Transmitting file data ........
          Committed revision 9080.

          Change bundle is the same as trunk except for jsf-test/build.xml due to the fact that there were fewer tests.

          Show
          rogerk added a comment - Committed to MOJARRA_2_1_X_ROLLING branch: Sending jsf-ri/src/main/java/com/sun/faces/config/WebConfiguration.java Adding jsf-test/ JAVASERVERFACES-2067 Adding jsf-test/ JAVASERVERFACES-2067 /build.xml Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/pom.xml Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java/com Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java/com/sun Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java/com/sun/faces Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java/com/sun/faces/systest Adding jsf-test/ JAVASERVERFACES-2067 /htmlunit/src/main/java/com/sun/faces/systest/Issue2067TestCase.java Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067 Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/pom.xml Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src/main Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src/main/webapp Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src/main/webapp/WEB-INF Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src/main/webapp/WEB-INF/web.xml Adding jsf-test/ JAVASERVERFACES-2067 /i_jsf_2067/src/main/webapp/index.xhtml Sending jsf-test/build.xml Transmitting file data ........ Committed revision 9080. Change bundle is the same as trunk except for jsf-test/build.xml due to the fact that there were fewer tests.
          Hide
          rogerk added a comment -

          reopen to edit fix version

          Show
          rogerk added a comment - reopen to edit fix version
          Hide
          rogerk added a comment -

          fix version

          Show
          rogerk added a comment - fix version
          Hide
          rogerk added a comment -

          re-closing

          Show
          rogerk added a comment - re-closing

            People

            • Assignee:
              rogerk
              Reporter:
              xj
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: