javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1261

inconsistent behavior with absolute contracts references like /contracts_dir/contract_name/resource.xhtml

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Resources
    • Labels:
      None

      Description

      See also https://java.net/jira/browse/JAVASERVERFACES-3146.

      Absolute references to resources in contracts is not supported by design. However, with contracts deployed in /webapp_root/contracts_dir/contract_name it is possible to reference such resources using the absolute reference /contracts_dir/contract_name/resource.xhtml. Moving the same contract out to a separate jar this reference cannot be resolved anymore.

      Since such absolute references are not supported by design such absolute contracts references must be prevented no mather if the contract is deployed into /webapp_root/contracts_dir or in META-INF/contracts within a jar.

        Issue Links

          Activity

          Hanspeter Duennenberger created issue -
          Hanspeter Duennenberger made changes -
          Field Original Value New Value
          Link This issue is related to JAVASERVERFACES-3146 [ JAVASERVERFACES-3146 ]
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Ed Burns made changes -
          Priority Minor [ 4 ] Trivial [ 5 ]
          Fix Version/s 2.3 [ 16372 ]
          Manfred Riem made changes -
          Priority Trivial [ 5 ] Minor [ 4 ]
          Hide
          Manfred Riem added a comment -

          Setting priority to Minor

          Show
          Manfred Riem added a comment - Setting priority to Minor

            People

            • Assignee:
              Unassigned
              Reporter:
              Hanspeter Duennenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: