Victor Woeltjen
29584f2a7e
[Persistence] Complete tests for queue
...
Complete tests for platform/persistence/queue, WTD-1033.
2015-03-25 11:36:43 -07:00
Victor Woeltjen
74fecf5271
[Persistence] Test queue
...
Add test cases for persistence queue, WTD-1033.
2015-03-25 11:25:51 -07:00
Victor Woeltjen
39d444d637
[Persistence] Test queue handler
...
Add test cases for handler for persistence queue, WTD-1033.
2015-03-25 11:01:32 -07:00
Victor Woeltjen
962de7e750
[Persistence] Test failure handling
...
Add test cases for handling of Overwrite/Discard choices when
persistence fails due to revision errors. WTD-1033.
2015-03-25 10:10:06 -07:00
Victor Woeltjen
d88a0237c6
[Persistence] Continue adding tests
...
Continue adding test cases for revision checking bundle, WTD-1033.
2015-03-24 17:43:06 -07:00
Victor Woeltjen
b25c9731cf
[Persistence] Add spec for failure dialog
...
WTD-1033.
2015-03-24 17:35:37 -07:00
Victor Woeltjen
c55f9ff092
[Persistence] Add placeholder specs
...
Add empty specs for new scripts introduced to support revision
checking and Overwrite/Discard dialog, WTD-1033.
2015-03-24 16:13:59 -07:00
Victor Woeltjen
015d863d79
[Persistence] Update test suites
...
Update suite declarations to include new scripts implemented for
revision checking for domain object persistence, WTD-1033.
2015-03-24 15:59:03 -07:00
Victor Woeltjen
0090732f71
[Persistence] Handle refresh after edit
...
Correctly handle Discard changes after leaving Edit mode when
conflicts are detected; WTD-1033.
2015-03-24 15:53:27 -07:00
Victor Woeltjen
6b43256afd
[Persistence] Requeue on overwrite
...
Requeue (instead of trying to access persistence again) on overwrite
WTD-1033.
2015-03-24 14:09:51 -07:00
Victor Woeltjen
2709fde9a3
[Persistence] Resolve correct promise from queue
...
Make sure that the correct promise is resolved when a persistence
queue flush completes; some operations, like Save in Edit mode, wait
on this promise, so it needs to resolve when persistence of that
group is completed. WTD-1033.
2015-03-24 12:19:36 -07:00
Victor Woeltjen
eb869b7213
[Persistence] Populate persistence error dialog
...
Show summary information about objects which could not be saved in
the dialog shown for revision-checking errors, WTD-1033.
2015-03-24 10:13:07 -07:00
Victor Woeltjen
f1fd73ad38
[Persistence] Change Cancel to Discard
...
Instead of Overwrite/Cancel, show options Overwrite/Discard, to
reflect actual user choices at this point. WTD-1033.
2015-03-24 10:05:55 -07:00
Victor Woeltjen
f9b8b17ff6
[Persistence] Break promise cycle
...
Break cyclical dependency in Promises that was causing persistence
to fall into an unresolvable state after overwrite, WTD-1033.
2015-03-20 16:07:54 -07:00
Victor Woeltjen
b604af2aa7
[Persistence] Tweak logic
...
Tweak approach for revision conflict detection; particularly,
use .reject instead of throw to avoid logging of the failure
unnecessarily. WTD-1033.
2015-03-20 15:53:40 -07:00
Victor Woeltjen
d8e1f69b37
[Persistence] Rewrite failure handling
...
Rewrite the overwrite behavior (for Overwrite/Cancel of rejected
persisted attempts) to utilize simpler API. WTD-1033.
2015-03-20 15:28:15 -07:00
Victor Woeltjen
1174f746f7
[Persistence] Handle overwrite/cancel
...
Handle Overwrite/Cancel more correctly when revision conflicts
are detected. WTD-1033.
2015-03-20 14:52:25 -07:00
Victor Woeltjen
513c06a81b
[Persistence] Show persistence failure dialog
...
WTD-1033.
2015-03-20 14:23:51 -07:00
Victor Woeltjen
acf058849f
[Persistence] Begin integrating persistence queue
...
Begin integrating persistence queue, tweaking for issues
detected through minimal use. WTD-1033.
2015-03-20 14:06:11 -07:00
Victor Woeltjen
0362d3479c
[Persistence] Handle cancelled dialog
...
Handle cancellation in the Overwrite/Cancel dialog, WTD-1033.
2015-03-20 13:43:56 -07:00
Victor Woeltjen
e5c5caf26e
[Persistence] Add bundle definition
...
Add bundle definition for the persistence queue which will
provide Overwrite/Cancel options, WTD-1033.
2015-03-20 13:20:14 -07:00
Victor Woeltjen
7b6ecd7bd7
[Persistence] Rename bundle
...
Rename bundle for queued persistence. WTD-1033.
2015-03-20 13:14:14 -07:00