Repository navigation
Conversation
A custom theme keeps its scripts, stylesheets and images in the media library, where they are served as part of the weblog's design. Replacing, moving or deleting one now needs Admin on the weblog, in the media pages and through AtomPub. Other media files are unchanged.
mraible
requested changes
Nov 24, 2026
mraible
left a comment
Contributor
There was a problem hiding this comment.
Same two points as my review of #388, since the 6.1.x change works the same way: uploads migrated by upgradeUploadsDir get an originalPath and so are treated as theme files, which locks Authors out of their own old uploads, and with mediafile.originalPathEdit.enabled=true the original-path field itself isn't checked. On 6.1.x the migrated-uploads case matters more, since that's where sites upgraded from 4.x and 5.x land.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A custom theme keeps its scripts, stylesheets and images in the media library, where they are served as part of the weblog's design. Authors could replace, move or delete them like their own uploads.
ThemeMediaFiles). Replacing, moving or deleting one, or deleting a folder that holds one, now needs Admin on the weblog: in the media pages (MediaFileBase,MediaFileEdit,MediaFileView) and through AtomPub (MediaCollectionput and delete). Other media files are unchanged.ThemeMediaFileChangeTest(10 tests; 5 fail without the change). Full suite on JDK 11: 864 tests, 0 failures.CHANGES.mdentry under 6.1.8 behaviour changes. For 6.1.8 RC3.