Add option to regenerate media path #1918
Unanswered
inmanturbo
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I understand if this is considered a niche case (As currently the path is only configurable by creating a custom PathGenerator).
So here is the issue. I have a large number of media being stored in a private location (network mount in the Kubernetes chain). The path is
ie - account/sourced-event[accounting transaction]/media/
So in class implementing PathGenerator I have
And in model I have
If I need to change the thumbnail size or something like that I can do this easily with
However now accounting request the model folder use another field value instead of id (a unique reference number field) so that they can more easily find them for print-copying in batches from their network drive (On native desktop, outside of web application), i.e.
or
So now I need to find a way to change file path for all media in collection. Then what if they want to change again, or change back? Must be easy to change at any time during maintenance periods (for over 1,000 media)
In test system I tried
Hoping (wishfully) maybe it would regenerate path with media. Instead it just deletes all media and warns that the new path is not found.
Something like
would be nice as too many forks,macros etc. makes maintenance more difficult.
Thank you for taking the time to read and again I understand perfectly if you don't want to add this feature.
Best,
Keven
Beta Was this translation helpful? Give feedback.
All reactions