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

Export to portfolio button at bottom of database activity view doesn't work if Delete selected button is displayed.

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-41231-master
    • Hide
      1. Enable portfolios
        • Go to [Administration ► Site administration ► Advanced features] and tick "Enable portfolios"
        • Go to [Administration ► Site administration ► Plugins ► Portfolios ► Manage portfolios] And enable a portfolio. I enabled Box.net (as this doesn't require too much messing around to get working).
      2. Create a database activity.
        • Make sure to add a few fields.
        • When you look at the list view, ensure that there are buttons at the bottom for selecting and deleting records as well as one for exporting to a portfolio.
      3. Try selecting a couple of records and then clicking the "delete selected" button. This button should take you to a page confirming that you want to delete the records. Hit confirm or cancel depending on how you feel. [Test One]
      4. Now try clicking the "export to portfolio button" (make sure you still have records to export) and make sure that it takes you to an new page to export your portfolio. [Test Two]
      Show
      Enable portfolios Go to [Administration ► Site administration ► Advanced features] and tick "Enable portfolios" Go to [Administration ► Site administration ► Plugins ► Portfolios ► Manage portfolios] And enable a portfolio. I enabled Box.net (as this doesn't require too much messing around to get working). Create a database activity. Make sure to add a few fields. When you look at the list view, ensure that there are buttons at the bottom for selecting and deleting records as well as one for exporting to a portfolio. Try selecting a couple of records and then clicking the "delete selected" button. This button should take you to a page confirming that you want to delete the records. Hit confirm or cancel depending on how you feel. [Test One] Now try clicking the "export to portfolio button" (make sure you still have records to export) and make sure that it takes you to an new page to export your portfolio. [Test Two]
    • 4
    • BACKEND Sprint 4

      The new Delete selected button overrides the Export to portfolio button. This means that the Delete selected button doesn't do anything and the Export to portfolio button now tries to delete selected entries.

      This is due to the fact that each of these sections can be enabled and disabled and generate a closing form tag, which when both are active causes a problem.

            abgreeve Adrian Greeve
            abgreeve Adrian Greeve
            Rajesh Taneja Rajesh Taneja
            Damyon Wiese Damyon Wiese
            Michael de Raadt Michael de Raadt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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