ModuleID and ModuleID setting entries not deleted after associated content and page are deleted

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/7/2013 9:21:22 AM
Gravatar
Total Posts 27

ModuleID and ModuleID setting entries not deleted after associated content and page are deleted

I observed that ModuleID and ModuleID setting entries are not deleted after associated content and page are deleted. Is this by design? I am using the latest version 2.3.9.7 with MSSQL 2008 R2 SP1. Thanks

5/7/2013 9:33:54 AM
Gravatar
Total Posts 18439

Re: ModuleID and ModuleID setting entries not deleted after associated content and page are deleted

yes by design you can recover an instance because of this. removing a content instance from a page or deleting a  page does not delete the content instance. There are 2 places where you can completely delete a content instance, from the content instance settings page ModuleSettings.aspx or from Administration > Content Manager. 

However a content feature may also have its own tables and data. In a custom feature if you want to clean up data in the content feature specific tables you need to implement a content delete handler that will be called when the instance is really deleted. You can look at examples of this in the code for included features.

You must sign in to post in the forums. This thread is closed to new posts.