Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3953

Site plugins: override handler properties isn't working as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0
    • 3.9.5
    • Site add-ons
    • Hide

      This issue only needs to be tested in 1 device.

      1. Install the plugin attached to this issue in a Moodle site. It needs to be installed in mod/assign/submission.
      2. Create a new assignment. The assignment settings don't matter as long as it's open, the plugin is applied to all assignments.
      3. In the app, login with a student and open the assignment. Check that you can see the "Add submission" or "Edit submission" button. Check there is no message saying that there are unsupported plugins.
      Show
      This issue only needs to be tested in 1 device. Install the plugin attached to this issue in a Moodle site. It needs to be installed in mod/assign/submission. Create a new assignment. The assignment settings don't matter as long as it's open, the plugin is applied to all assignments. In the app, login with a student and open the assignment. Check that you can see the "Add submission" or "Edit submission" button. Check there is no message saying that there are unsupported plugins.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

      In some type of plugins we let the plugins override the properties of the handler created by the app. We only allow overriding known properties, but the code that checks the properties isn't treating prototypes as it should. This means it only treats the properties of the child class and ignores all the properties from the parent classes.

        1. ilsp.zip
          19 kB
        2. screenshot-1.png
          screenshot-1.png
          82 kB

            dpalou Dani Palou
            dpalou Dani Palou
            Noel De Martin Noel De Martin
            Juan Leyva Juan Leyva
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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