Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
system.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Nov 2014 at 22:07 UTC
Updated:
21 Jan 2015 at 12:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Jeff Burnz commentedComment #2
swentel commentedComment #3
swentel commentedComment #4
joachim commentedConfirming the bug and the fix.
Comment #5
alexpottLooks like we need a test here - no?
Comment #6
alexpottAlso this feels like a critical piece of functionality is not working.
Comment #7
larowlanWorking on tests
Comment #8
larowlanhoping for red/green
Comment #9
larowlanComment #11
jibranWe are only checking depth can we add level assert as well?
Comment #12
larowlansure
Comment #13
jibranThanks.
Comment #15
jibranI think this broke the other test :)
Comment #16
larowlanya
Comment #18
larowlantake 4
Comment #19
jibranCan't we do it on first attempt and check the values? I think default values are 1 for both depth and level.
Comment #20
larowlanThe values in the final submit are the defaults.
So we need to submit something else to test it saves.
Comment #21
dawehnerSo what about looking at the final configuration entity in order to see whether things got saved?
Comment #22
larowlanBlock->settings is protected so we can't
Comment #23
dawehnerBut there is:
ConfigEntityBase::get()as well as
$block->getPlugin()->getConfiguration()Comment #24
larowlanlike so?
Comment #25
dawehner+1
Let's be honest this critical is kinda a quickfix.
Comment #26
jibranLast interdiff is a delight thanks @dawehner for the suggestion @larowlan++
+1 RTBC.
Comment #27
catchCommitted/pushed to 8.0.x, thanks!