- π³πΏNew Zealand quietone
This extension is being deprecated, see π± [Meta] Tasks to deprecate Book module Active . It will be removed from core and moved to a contrib project, π [11.x] [Meta] Tasks to remove Book Active .
This is now Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project β and the Extensions approved for removal β policies.
This issue may be re-opened if it can be considered critical β , If unsure, re-open the issue and ask in a comment.
- Status changed to Needs work
10 months ago 10:21pm 1 May 2024 - Status changed to Postponed
5 months ago 11:29pm 27 September 2024 - πΊπΈUnited States smustgrave
Looking into π Cannot save unpublished versions of published content for users without manage book privileges Needs work now so this should only be postponed for a bit.
- First commit to issue fork.
- Merge request !54New addNodeToBook() method for BookTestTrait.php. Updated BookTest.php and... β (Merged) created by mdranove
Based on the patch, added new addNodeToBook() helper method to BookTestTrait.php. Updated a couple of tests to use new addNodeToBook() helper method and replaced existing testing steps that produced the same result by editing the node form through separate steps.
Searched for other instances of the old submitForm() code in the test folder. Found one more similar usage in the testBookDelete() BookTest.php, but this doesn't seem to be something that is a 1:1 replacement with the new method so left it alone.
Moving to NR.
Potential testing steps:
1. In BookTest.php debug the value that is set to $edit[βbook[bid]β] in both testBook() and testBookOutline().
2. In BookTestTrait.php, debug the value that is passed in as the $book_nid.
3. The integer values should match.
4. Repeat same method with BookContentModerationTest.php, comparing $book_2->id() and $book_1_nodes[1]->id() with the values that end up getting passed to the trait.Automatically closed - issue fixed for 2 weeks with no activity.