Item not found: Project[id=0] when creating a new item
Description (last modified by )
Trying to create a new item when no project is the active project can result in an error message:
Item not found: Project[id=0]
This happens for all items (software, hardware, protocol and array design) that have the option to add it as a project default item (see #1614). It seems like this functionality wasn't correctly implemented and only works if a project is active and the "Set as project default" options is checked.
- If no project is active the above error message is displayed when trying to save the new item
- If a project is active, the new item is made a project default item, even if the option is not checked
The workaround is to create the new item with an active project. If it is not desired to have the new item as a default item or shared to the project, this need to be fixed manually after it has been created.