Skip to content

Delete CustomerStorage on space delete#1213

Merged
donaldgray merged 2 commits into
developfrom
bugfix/cleanup_customerstorage
Jun 11, 2026
Merged

Delete CustomerStorage on space delete#1213
donaldgray merged 2 commits into
developfrom
bugfix/cleanup_customerstorage

Conversation

@donaldgray

@donaldgray donaldgray commented Jun 10, 2026

Copy link
Copy Markdown
Member

What does this change?

Without this deleting a space then recreating one with the same id can result in the old CustomerStorage record being surfaced.

The main change is SpaceRepository calling DeleteCustomerStorage, other changes were cleanup and removing warnings.

Fixes #1212

Without this deleting a space then recreating one with the same id can
result in the old CustomerStorage record being surfaced
@donaldgray donaldgray requested a review from a team as a code owner June 10, 2026 13:19
Refactor CreateCustomer to call new customerStorage method to create
customerStorage record, rather than doing in handler.

Refactor SpaceRepository:
* rename PutSpace => UpsertSpace
* share create logic between upsert and create
@donaldgray donaldgray merged commit d6173d1 into develop Jun 11, 2026
9 of 10 checks passed
@donaldgray donaldgray deleted the bugfix/cleanup_customerstorage branch June 11, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG?: When customer 712 creates a space, the numberOfStoredAdjuncts is initially >0

2 participants