This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
I have been playing a lot with adding, administration, and deleting of features in mojoPortal, basically so I better understand how it works. I ran into an issue where if I had a feature installed, delete it through Feature Installation and Configuration and then later re-installed it through the Setup process none of that Feature's Settings would be loaded (Would get NPE's when attempting to view the feature on a page, and on the ModuleDefinitionSettings.aspx page none of the modules settings would be listed). So I did some investigation in the database and found rows for the Feature's settings (matching FeatureGuid) in mp_ModuleDefinitionSettings, but the ModuleDefID value was for a ModuleDefinition that no longer was in the mp_ModuleDefinition table.
I did some testing and found that the row for the Feature is deleted in the mp_ModuleDefinition table when a feature is deleted via the Feature Installation and Configuration page, but not the rows in mp_ModuleDefinitionSettings. I would assume these rows should be deleted as well during this process, right?
FYI: I recreated this with code Revision 2580 (updated this morning).
Thanks!
Hi Kerry,
Thanks, I've added a to do item in our project tracker to fix this for the next release.
Best,
Joe
In the 2.3.7.0 version this is fixed with a MSSQL build, but this issue still exists in the MySql build. Not sure about other database configurations as I have not gone beyond MSSQL and MySql yet.
I just tested it here locally with MySql and it seems to work fine. I had a feature with one setting, I deleted the feature and the setting also disappeared.
Nevermind... I figured out what I was thinking was an issue, but it is not.