Delete DB schema when purge option is used

Description

Disabling the module with option purge=true, doesn't delete the schema from the Database

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Wayne BlairMarch 19, 2020 at 7:58 PM

I have confirmed that this problem has been fixed (or at least no longer happens) with
mod-template-engine-1.7.1
and the tenant schema for mod-template-engine-1.7.1 is purged fro the DB

Roman BarannykMarch 18, 2020 at 12:49 PM

I tried to reproduce it on my local environment:

DB table for mod-template-engine before disabling module:

Sent request to disable mod-template engine:

After that DB doesn't contain the schema for mod-template-engine and for any related modules:

, could you please clarify if this flow is correct? It seems like it works as expected.

Darcy BranchiniFebruary 21, 2020 at 9:20 PM

More information from :
I found these problems when testing the steps to delete a tenant.
tests failed because the tenant was not completely deleted from the database and left a mess that had to manually be cleaned up. That's fragile and one could easily delete the wrong thing.
I would give this a high priority because all modules are suppose to manage this detail and should not require going under the covers to get direct DB access.

Cannot Reproduce

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Vega

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 2, 2020 at 8:08 PM
Updated March 20, 2020 at 9:54 AM
Resolved March 20, 2020 at 9:54 AM
TestRail: Cases
TestRail: Runs