View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034782 | mantisbt | upgrade | public | 2024-09-29 20:17 | 2024-09-30 05:42 |
Reporter | webaware | Assigned To | dregad | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 2.27.0 | ||||
Summary | 0034782: Can't enable category General since 2.27.0 | ||||
Description | I now have 2.27.0 up and running. All categories were suddenly unavailable, so I had to enable each category at the All Projects level, and then for individual projects that had additional categories defined. However, I cannot enable category General. The error message given is as follows:
What is the recommended change for this? Should I define some other category for | ||||
Tags | No tags attached. | ||||
I was able to reproduce this as well. It may be related to installer failing due to 0034783 and hence not running the appropriate steps. Updating the category logic seems to fail without checking the change being applied to the category. For example, enabling a category shouldn't conflict with it being the default, yet disabling it does conflict. |
|
This is not a normal situation, the installer includes an update step (213) that should have set the status of all categories to 1 (Enabled). For some reason this failed for you, we need to figure out why. Did you notice any errors during the upgrade ? What is your current Database Schema Version ? As for fixing error 1504, you have 2 options:
I would also recommend to check the default value for |
|
But in that case you should get an error / notification that your schema is out of date...
You mean in install_category_status_default() function ? Or when updating a category from Manage / Edit Project pages ? |
|
My apologies, DB schema was still at 211. I have run the update procedure and it's now 213, and all categories are enabled including General. I thought I'd done it, but it would seem I did not! Also, default for Thanks for your attention, and again, my apologies. |
|
Thanks for the feedback. |
|