Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5517

Error in batching composite changes in model relay system

    Details

      Description

      The model relay system should be batching up composite changes which arise from a model transformation, to ensure that it doesn't try to trigger a fresh relay which might read an inconsistent model state partway through an update. This system appears to be failing in some cases -

      This can be demonstrated by checking out the following branch of the feedback component - and applying the following steps:
      https://github.com/jobara/metadata/tree/FLUID-5517

      i) Load up the demo held in demos/feedback/index.html
      ii) Click the "mismatch" button to bring up the mismatch dialog
      iii) Whilst it is open, then check the "match" button

      The expected result is that

      {match: true, mismatch: false}

      is relayed out of the arrayToSetMembership transform. Unfortunately the system appears to try to react to the relay output before it is complete, and after a complex relay sequence involving 4 steps, eventually stabilises at

      {match: false, mismatch: false}

      .

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                antranig Antranig Basman
                Reporter:
                antranig Antranig Basman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: