Closed (outdated)
Project:
Drupal core
Version:
11.x-dev
Component:
Stable 9 theme
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Oct 2019 at 11:52 UTC
Updated:
2 Feb 2024 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
oknateHere's a patch to fix this.
Comment #3
oknateComment #4
oknateThis is a blocker for #2987921: Media Library add form should suppress extraneous components of image fields using a form alter, not CSS
Comment #5
oknateComment #6
oknateHere's test coverage.
Comment #7
oknate1. this is unused, should be removed.
+use Drupal\FunctionalJavascriptTests\WebDriverTestBase;2. This should be removed: "+ // Add a field to the vocabulary.", it's left over from a test I used as an example.
3. This should be moved into existing ImageFieldWidgetTest.
Comment #9
oknateAddressing #7.
Comment #10
oknateRemoving blocker, as I've found if you use
['filename']['#access'] = FALSE;instead of removing the filename, you don't encounter this bug.Perhaps this issue needs nothing further. If no one else encounters this issue, and there's a workaround, perhaps it isn't needed.
Comment #15
lendude@oknate what do you think? Close this or do you feel there is still something that we can do here?
Using #access = FALSE sounds like the right thing to do, unsetting fields has often lead to strange behaviours in my experience.
Comment #18
quietone commentedMoving remaining issues for 'Stable theme' to 'Stable 9 theme' based on #3332485-5: [Meta] Stable issue triage by markconroy.
Comment #20
smustgrave commentedSince there hasn't been a follow up to #15 over a year ago, going to close out for now. If still a bug please reopen addressing #15.
Thanks all