Shale
  1. Shale
  2. SHALE-266

More than one pattern of URL mappings for Faces Servlet ignored.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.4
    • Component/s: Remoting
    • Labels:
      None

      Description

      There was already a bug filed related to this issue:

      http://issues.apache.org/struts/browse/SHALE-178

      I have Shale version 1.03 and still this is a issue. I stepped throught the source code and came across a bug in org.apache.shale.remoting.impl.MappingImpl source. In method --> public String mapResourceId(FacesContext context, String resourceId) only the first pattern is considered.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          107d 3m 1 Craig McClanahan 16/Dec/06 02:24
          Jeff Turner made changes -
          Project Import Mon Feb 01 00:51:05 UTC 2010 [ 1264985465446 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status (temporary) [ 45922 ] Struts - editable closed status [ 52605 ]
          Antonio Petrelli made changes -
          Workflow Struts - editable closed status [ 41723 ] Struts - editable closed status (temporary) [ 45922 ]
          Jeff Turner made changes -
          Workflow Struts [ 38687 ] Struts - editable closed status [ 41723 ]
          Rahul Akolkar made changes -
          Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
          Fix Version/s 1.0.4 [ 21790 ]
          Craig McClanahan made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.0.4-SNAPSHOT [ 21740 ]
          Fix Version/s TBD [ 21773 ]
          Resolution Fixed [ 1 ]
          Hide
          Craig McClanahan added a comment -

          In addition to the earlier fix provided for SHALE-178, it is now possible to specify the zero relative index of the URL pattern to use when generating URLs for resource identifiers. Specify this with a context init parameter named "org.apache.shale.remoting.FACES_SERVLET_MAPPING_INDEX". If not specified, the default value is zero (meaning the first, or only, mapping will be used).

          Show
          Craig McClanahan added a comment - In addition to the earlier fix provided for SHALE-178 , it is now possible to specify the zero relative index of the URL pattern to use when generating URLs for resource identifiers. Specify this with a context init parameter named "org.apache.shale.remoting.FACES_SERVLET_MAPPING_INDEX". If not specified, the default value is zero (meaning the first, or only, mapping will be used).
          Craig McClanahan made changes -
          Link This issue contains SHALE-360 [ SHALE-360 ]
          Craig McClanahan made changes -
          Field Original Value New Value
          Fix Version/s TBD [ 21773 ]
          Prashant Kadam created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Prashant Kadam
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development