Uploaded image for project: 'Stripes'
  1. Stripes
  2. STRIPES-211

When a new record is created, the component should receive props describing it

    XMLWordPrintable

Details

    Description

      When we create a new record, using

      this.props.mutator.users.POST(data);
      

      there is an HTTP response from Okapi containing the new record with its ID (whether that was generated on the client or server side). When this is received, we need to generate new props in the component that owns the resource that describe what happened. Something like props.lastOperation, props.lastOperationStatus props.lastOperationData, which would be set to something like CREATE, OK and the record.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                jason Jason Skomorowski
                mike Mike Taylor
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 week, 1 day
                    1w 1d

                    TestRail: Runs

                      TestRail: Cases