Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
There are assertions in ParagraphsPreviewTest::testParagraphsPreview()
that had to be commented out because of the bug described in #2548713: Only one additional new value saved unlimited field and no non-field values are restored after preview.
Now that that issue is fixed, previewing new paragraphs should work.
Proposed resolution
Uncomment the relevant lines in ParagraphsPreviewTest.php. The section is marked with a @todo
tag.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | uncomment_assertions_in-2836047-3.patch | 1.38 KB | VladimirMarko |
Comments
Comment #2
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedComment #3
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedComment #5
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedComment #6
toncic CreditAttribution: toncic at MD Systems GmbH commented#2836242: Fix ParagraphsAccessTest
Comment #7
BerdirNo, this is not a duplicate.
Comment #8
VladimirMarko CreditAttribution: VladimirMarko at MD Systems GmbH commentedTo explain:
This issue is about changing testParagraphsPreview().
#2836242: Fix ParagraphsAccessTest fixes a problem in testParagraphAccessCheck() so this issue is not a duplicate.
The only relation of this issue to testParagraphAccessCheck() is that my patch fails that test.
But that's not related to my patch - 8.x-1.x-dev also currently fails it, because Core changed.
#2836242: Fix ParagraphsAccessTest does not implement the changes described in this issue's Motivation.
Comment #9
Berdirshould pass the re-test now.
Comment #10
miro_dietikerIs it possible that this is committed also as part of some other issue?
I applied on HEAD^^ and after stashing and poping on 8.x-1.x nothing remained?
I think it happened with commit 872a315021e
Comment #11
miro_dietikerConnecting issue that resolved it.