MyFaces Core
  1. MyFaces Core
  2. MYFACES-2494

Component branches saved with PSS needs to be wrapped

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-beta
    • Component/s: JSR-314
    • Labels:
      None

      Description

      When the tree is built and a component that is on that tree is removed and added, when a postback occur it is not restored, because the algorithm are not detecting this case.

      The easiest solution is wrap all saved branches on a class like AttachedFullStateWrapper, so when we restore, we can cast to check if we restore only the component or the full branch instead.

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 2.0.0-beta [ 12314537 ]
        Fix Version/s 2.0.0-alpha-2 [ 12314409 ]
        Leonardo Uribe made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0-alpha-2 [ 12314409 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe created issue -

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Leonardo Uribe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development