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

"Export to portfolio" link gets truncated for long online text submissions

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as an admin
      2. In Site administration > Advanced features, enable Portfolios.
      3. Go to Site administration > Plugins > Portfolios > Manage portfolios and make the File download portfolio enabled and visible.
      4. Create an assignment that accepts online text submissions.
      5. Log in as a student (say s1) and create a submission for the assignment which contains less than 140 characters of text.
      6. Log in as another student (say s2) and create a submission for the assignment which contains at least 200 characters of text.
      7. Log in as a teacher for that course and go the "View all submissions" page of the assignment.
      8. Check s1's online text submission.
        • Confirm that it shows the full text of the online text submission AND the Export to portfolio link.
        • Confirm that the word count is not being displayed.
      9. Check s2's online text submission.
        • Confirm that it shows the truncated text of the online text submission AND the Export to portfolio link.
        • Confirm that the word count is being displayed.
      Show
      Login as an admin In Site administration > Advanced features, enable Portfolios. Go to Site administration > Plugins > Portfolios > Manage portfolios and make the File download portfolio enabled and visible. Create an assignment that accepts online text submissions. Log in as a student (say s1) and create a submission for the assignment which contains less than 140 characters of text. Log in as another student (say s2) and create a submission for the assignment which contains at least 200 characters of text. Log in as a teacher for that course and go the "View all submissions" page of the assignment. Check s1's online text submission. Confirm that it shows the full text of the online text submission AND the Export to portfolio link. Confirm that the word count is not being displayed. Check s2's online text submission. Confirm that it shows the truncated text of the online text submission AND the Export to portfolio link. Confirm that the word count is being displayed.
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-61168-master

      Description

      To reproduce:

      1. Login as an admin
      2. In Site administration > Advanced features, enable Portfolios.
      3. Go to Site administration > Plugins > Portfolios > Manage portfolios and make the File download portfolio enabled and visible.
      4. Create an assignment that accepts online text submissions.
      5. Log in as a student and create a submission for the assignment which contains at least 200 characters of text.
      6. Log in as a teacher for that course and go the "View all submissions" page of the assignment.
      7. Check the student's online text submission.
      8. Expected
        • It should show the truncated text of the online text submission AND the Export to portfolio link.
      9. Actual
        • The Export to portfolio link gets truncated as well.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  19/Mar/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h