Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-77614

Reports shouldn't allow adding new entities whose name was already added

    XMLWordPrintable

Details

    Description

      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)

      Attachments

        Activity

          People

            pholden Paul Holden
            pholden Paul Holden
            Mikel Martín Corrales Mikel Martín Corrales
            David Carrillo David Carrillo
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 25 minutes
                1h 25m

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.