- last update
11 months ago 25,782 pass, 1,848 fail
The
PrivateTempStore
works nice and well for creating a store, adding items to that store and then deleting individual items from the store. However, it does not provide an API to retrieve all the items from the store or deleting them. Although they are temporary, there is still a valid use case in my opinion for the possibility to delete all the items stored in a given collection for the given user. For example, a multistep form which has fields prepopulated with values in the store. Submitting the last part of the form should clear the store and save the data somewhere else.
Add 2 new public methods to delete and retrieve all the items in the store.
Write patch and test.
None.
Ability to delete all items in the store or retrieving all of them.
Needs work
11.0 π₯
Last updated
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.