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

Fix incorrect deprecated annotation content

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5.2
    • General

      See discussion originating from MDL-78304 - there is some deprecated annotation landing (one example) with incorrectly populated parameters, which cause PHP engine exceptions rather then presenting helpful deprecation information to the users:

      Exception - core\attribute\deprecated::__construct(): Argument #1 ($replacement) not passed
       
      More information about this error
      Debug info:
      Error code: generalexceptionmessage
      Stack trace:
       
          line 42 of /lib/classes/attribute/deprecated.php: ArgumentCountError thrown
          line 323 of /mnet/peer.php: call to core\attribute\deprecated->__construct()
      

      Fix them

            pholden Paul Holden
            pholden Paul Holden
            Daniel Ziegenberg Daniel Ziegenberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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