-
Improvement
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_403_STABLE
-
- Covered by automated tests
When adding/annotating new report entities there are no checks that the entity name already exists within the report, so we end up overwriting previous entities added to the report
This doesn't cause issues anywhere currently in core code, but was discovered by mikelmartíncorrales in another issue related to Workplace - we should improve this API so developers catch these error earlier
(For context, the only current report source that explicitly set entity names is the notes source here)