Jetspeed 2
  1. Jetspeed 2
  2. JS2-968

Enhance NavigationalState encoding to support both zero and empty parameter values

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: Components Core
    • Labels:
      None

      Description

      For the new JSR-286 Public Render Parameters it is required to encode the intended removal of parameter.
      The current NavigationalState encoding/decoding (JetspeedNavigationalStateCodec) however always expects at least one (non-empty) value to be provided.
      In addition, and something which has been an oversight so far, it is valid to set empty parameter value(s) for a parameter, both for the servlet api and the portlet api (1.0 and 2.0).

      I'll update the NavigationalState encoding/decoding to deal with both requirements: null and empty parameter values, whereas a null value is only allowed for encoding the removal of a public render parameter (doesn't apply to "private" parameters).

        Activity

        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ate Douma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Field Original Value New Value
        Summary Enhance NavigationState encoding to support both zero and empty parameter values Enhance NavigationalState encoding to support both zero and empty parameter values
        Ate Douma created issue -

          People

          • Assignee:
            Ate Douma
            Reporter:
            Ate Douma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development