Behat steps page showing "failed with errno=21 is a directory"

Bug #1948871 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

Trying to fetch file contents of a directory rather than a file.

We need to traverse into the directory and then skip trying to read the directory itself as a file

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 21.10.0
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "main" branch: https://reviews.mahara.org/12174

Revision history for this message
Robert Lyon (robertl-9) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12174
Committed: https://git.mahara.org/mahara/mahara/commit/7f15daf0bfe5fa3af4aee90d8fe233b49fbd472e
Submitter: Gold (<email address hidden>)
Branch: main

commit 7f15daf0bfe5fa3af4aee90d8fe233b49fbd472e
Author: Robert Lyon <email address hidden>
Date: Wed Oct 27 09:01:11 2021 +1300

Bug 1948871: Behat step page ignore get directory contents

Was trying to fetch contents of a dir instead of just files

Change-Id: I26a8e7fc12ded9313bdefc2917d60f9a2f2f8545
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "21.10_DEV" branch: https://reviews.mahara.org/12183

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/12183
Committed: https://git.mahara.org/mahara/mahara/commit/ec4e9069392d0a5b0d541c7dcb87e0ca5bade2f4
Submitter: Robert Lyon (<email address hidden>)
Branch: 21.10_DEV

commit ec4e9069392d0a5b0d541c7dcb87e0ca5bade2f4
Author: Robert Lyon <email address hidden>
Date: Wed Oct 27 09:01:11 2021 +1300

Bug 1948871: Behat step page ignore get directory contents

Was trying to fetch contents of a dir instead of just files

Change-Id: I26a8e7fc12ded9313bdefc2917d60f9a2f2f8545
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 7f15daf0bfe5fa3af4aee90d8fe233b49fbd472e)

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.