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.
While book or comment look at the very property they are filling in, not so node. The published checkbox just can't be ticked off on a multistep node form because it gets overwritten by the original. Trivial, I say.
Comment | File | Size | Author |
---|---|---|---|
#6 | multistep_basic.patch | 2.1 KB | chx |
#5 | testMultiStepNodeFormBasicOptions.patch | 1.48 KB | chx |
x.patch | 621 bytes | chx | |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedI did this (with helps of chx)
1) disable js
2) enable poll
3) go to node/add/poll
4) untick published
5) fill in the title and two choices
6) now press add more
7) the published checkbox will be back
With and without patch.
And Chx's patch fixes it ;)
RTBC till bots says no
Comment #4
chx CreditAttribution: chx commentedWell, #1 needs to be turned into a test anyways and it won't be too hard, really, I have already described on IRC and aspilicious reposted here the steps to write the test.
Comment #5
chx CreditAttribution: chx commentedWith a test.
Comment #6
chx CreditAttribution: chx commentedRight. That should fail because it does not include the original patch. This one does. Posting this way proves that the patch not just works but necessary too.
Comment #7
aspilicious CreditAttribution: aspilicious commentedAs above (with proper tests)
Comment #8
webchickNice find! Nice test! :)
Committed to HEAD.