Closed (duplicate)
Project:
Drupal core
Version:
8.7.x-dev
Component:
media system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Jul 2018 at 12:43 UTC
Updated:
25 Jul 2018 at 08:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chr.fritschHere is a patch
Comment #3
phenaproximaLooks good to me, but it needs tests. :)
Comment #4
marcoscano(cross-post with Adam)
Thanks @chr.fritsch !
I think this is actually a bug. If the name is not exposed, everything should work out-of-the-box. If you have an existing media item that after changing the URL it doesn't update the name, and you are not able to fill in the new name manually either, something is wrong.
Can we have a fail test as well?
-Edit:
For the record, my statement above is technically incorrect. This only seems to be a problem in queued types, where the metadata is not update during the first save operation.
Comment #6
seanbI think we can close this in favor of #2882473: Hide the media name basefield from the entity form by default. That solves the issue for all media types.