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

The behat DOM dump & screenshot file names have 256 chars limit instead of 255

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Add $CFG->behat_faildump_path to your config.php
      2. Change some behat test by adding the very long (over 255 chars) and wrong step like And I should see "lkjlklkjlkjlkjlkj"
      3. Run this behat test and make sure that when it fails it creates a screenshot with filename with the definition of the failed step but truncated to 255 chars (including extension)
      Show
      Add $CFG->behat_faildump_path to your config.php Change some behat test by adding the very long (over 255 chars) and wrong step like And I should see "lkjlklkjlkjlkjlkj" Run this behat test and make sure that when it fails it creates a screenshot with filename with the definition of the failed step but truncated to 255 chars (including extension)
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      wip-MDL-44686-master

      Description

      this fails with on ubuntu and most of linux system with exactly the same error as in MDL-44111

      Most filesystems have 255 chars limit for filenames:
      See http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Dan Poltawski
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14