#5084 - Adding a download category: parent_id missing

  • By
  • Added
  • 7 views
Identifier #5084
Issue type Major issue (breaks an entire feature)
Title Adding a download category: parent_id missing
Status Completed
Handling member PDStig
Addon General / Uncategorised
Description Adding a download category triggers required parameter parent_id is missing.

This is not a simple fix; $parent_id in get_form_field must be null when using root so the field does not show up, but this means it's undefined (null) in the actualiser (which requires it to be an integer, not null, to add the category).
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated