Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Portfolio
    • Labels:
    • Testing Instructions:
      Hide

      This test requires the following:
      Portfolios and the Box.net, Flickr and Picasa portfolio plugins enabled for the site
      A forum activity containing a post by a student with an image attached
      Box.net, Flickr and Picasa accounts for use in testing
      1. Login as the student and access the forum post.
      2. Try exporting the post, selecting Box.net as the portfolio.
      3. Check that both the post and attachment are exported correctly to Box.net.
      4. Try exporting the attachment, selecting Flickr as the portfolio.
      5. Check that the image is exported correctly to Flickr.
      6. Try exporting the attachment again, selecting Picasa as the portfolio.
      7. Check that the image is exported correctly to Picasa.

      Show
      This test requires the following: Portfolios and the Box.net, Flickr and Picasa portfolio plugins enabled for the site A forum activity containing a post by a student with an image attached Box.net, Flickr and Picasa accounts for use in testing 1. Login as the student and access the forum post. 2. Try exporting the post, selecting Box.net as the portfolio. 3. Check that both the post and attachment are exported correctly to Box.net. 4. Try exporting the attachment, selecting Flickr as the portfolio. 5. Check that the image is exported correctly to Flickr. 6. Try exporting the attachment again, selecting Picasa as the portfolio. 7. Check that the image is exported correctly to Picasa.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      To replicate these warnings, follow the instructions of the linked QA test.

      The warnings in Box.net are...

      Did you remember to call setType() for 'plugin_newfolder'? Defaulting to PARAM_RAW cleaning.
       
      line 1289 of /lib/formslib.php: call to debugging()
      line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
      line 202 of /lib/formslib.php: call to moodleform->_process_submission()
      line 301 of /lib/portfolio/exporter.php: call to moodleform->moodleform()
      line 227 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage_config()
      line 265 of /portfolio/add.php: call to portfolio_exporter->process_stage()
      

      This relates to the form elements in...

      portfolio/boxnet/lib.php, line 96

              $mform->addElement('text', 'plugin_newfolder', get_string('newfolder', 'portfolio_boxnet'));
      

      The warnings in Flickr are...

      Did you remember to call setType() for 'plugin_title'? Defaulting to PARAM_RAW cleaning.
      line 1289 of /lib/formslib.php: call to debugging()
      line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
      line 202 of /lib/formslib.php: call to moodleform->_process_submission()
      line 301 of /lib/portfolio/exporter.php: call to moodleform->moodleform()
      line 227 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage_config()
      line 265 of /portfolio/add.php: call to portfolio_exporter->process_stage()
       
      Did you remember to call setType() for 'plugin_tags'? Defaulting to PARAM_RAW cleaning.
      line 1289 of /lib/formslib.php: call to debugging()
      line 281 of /lib/formslib.php: call to moodleform->detectMissingSetType()
      line 202 of /lib/formslib.php: call to moodleform->_process_submission()
      line 301 of /lib/portfolio/exporter.php: call to moodleform->moodleform()
      line 227 of /lib/portfolio/exporter.php: call to portfolio_exporter->process_stage_config()
      line 265 of /portfolio/add.php: call to portfolio_exporter->process_stage()
      

      This relates to the form elements in...

      porfolio/flickr/lib.php, lines 160-162

              $mform->addElement('text', 'plugin_title', get_string('title', 'portfolio_flickr'));
              $mform->addElement('textarea', 'plugin_description', get_string('description'));
              $mform->addElement('text', 'plugin_tags', get_string('tags'));
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13