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

Exporting glossary entry with rich decription to portfolio

XMLWordPrintable

    • MOODLE_22_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • wip-MDL-33829-master
    • Hide

      Make sure the site setting "enableportfolios" is enabled.

      1. Create a new glossary
      2. Add an entry containing only text
      3. Add an entry containing text and an image in the description
      4. Add an entry with text in description and an image as attachment

      Export each of the entries to a range of the available portfolios. Go to /admin/portfolio.php to turn them on and off. You need to enable one portfolio, export the various entries, disable that portfolio and enable a different one.

      Some entries will not be able to be exported to some portfolio types. For example entries with an image attached or in the description cannot be exported to google docs.

      Show
      Make sure the site setting "enableportfolios" is enabled. Create a new glossary Add an entry containing only text Add an entry containing text and an image in the description Add an entry with text in description and an image as attachment Export each of the entries to a range of the available portfolios. Go to /admin/portfolio.php to turn them on and off. You need to enable one portfolio, export the various entries, disable that portfolio and enable a different one. Some entries will not be able to be exported to some portfolio types. For example entries with an image attached or in the description cannot be exported to google docs.

      1. Create a new glossary
      2. Add an entry containing only text
      3. Add an entry containing text and an image in the description
      4. Add an entry with text in description and an image as attachment
      5. Export each of the entries to any portfolio

      Actual result:

      • When exporting the entry with image in the description (to file download/Google Docs in my case), an exception is raised:

      Failed to package up your data for export: original error was Rewriting file output is not supported for this format
       
      More information about this error
      Debug info:
      Error code: callercouldnotpackage
      Stack trace:
       
          line 453 of /lib/portfolio/exporter.php: portfolio_export_exception thrown
          line 227 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage_package()
          line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
          line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
          line 233 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage()
          line 268 of /portfolio/add.php: call to portfolio_exporter->process_stage()

            andyjdavis Andrew Davis
            fred Frédéric Massart
            Adrian Greeve Adrian Greeve
            Sam Hemelryk Sam Hemelryk
            Tim Barker Tim Barker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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