#5747 - Cannot edit root download category due to required parent field
| Identifier | #5747 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Cannot edit root download category due to required parent field |
| Status | Completed |
| Handling member | PDStig |
| Version | 11 alpha2 |
| Addon | downloads |
| Description | The download root category cannot be edited because the parent field is required (but root categories do not have a parent). |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
Editing the home download category results in a problem: it asks for a parent category, which is required, but a root category has no parent.
This patch fixes this; the parent field is not visible when editing the root download category. And edit_download_category now properly handles root (null) parent ID.