Closed (fixed)
Project:
File Entity (fieldable files)
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2020 at 07:27 UTC
Updated:
22 Jul 2021 at 09:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirThis fixes it for us.
Comment #4
joseph.olstadmakes sense,
as for the test failures, HEAD currently has 4 fails on D9.1 30 pass, 4 fail
Comment #5
berdirThanks, but those fails are definitely related, they are not on HEAD. 9.1 might have broken some other tests.
Comment #6
berdirOne problem is that we use download to control access to the download operation, which isn't exactly the same, but I guess we have to drop that separation and update the tests.
Comment #7
damienmckennaComment #8
joseph.olstadthe SA-CORE-2020-009 seems to affect media in D7, with solution to upgrade from jQuery 1.4/1.5 to 1.6 or higher.
would otherwise be a strange co-incidence.
maybe file_entity involved also (medua D7 requires file_entity), I haven't had a chance to closely look at it yet.
#3171590: Mediabrowser breaks after updating to Drupal 7.73
Comment #9
berdirSorry, I got the wrong SA here, this isn't about the ajax thing but file access and is therefore not related to the D7 issues.
Comment #10
solideogloria commentedComment #11
berdirTurns out we have failing tests because of this, so I don't need to add new test coverage. Fixed the comment, tests should be green again now.
Comment #13
berdirAdjusting tests to the fact that you can now always download public files.
Comment #15
berdirMissed one failing test, a bit a messy situtation, but I don't think we have a choice.
Comment #16
andypostWould be great to keep test for 403 for private files additionally check that public files are always downloadable
Comment #18
berdirPrivate files have their own tests, but I did manage to convert that last failing test to a private file and verified that still works.
Comment #19
joseph.olstadLooks to me like this issue is resolved.
Comment #20
berdirCommitted.