Hi,
during my work on the inheritance patch (yes, still to come ;-), it's finished, and currently in extensive testing) I realized that db entries in the protected_nodes table are not deleted when the protected-checkbox is turned off. That's because the was_protected flag is set in nodeapi 'load' (and will be available during delete, view etc.) but is not transferred to form_validate because the form for storing the value is missing.
The patch adds a hidden field for storing the was_protected flag.

CommentFileSizeAuthor
store_was_protected_flag.patch667 bytesFrank Steiner

Comments

pebosi’s picture

Worked well for me.

mtolmacs’s picture

Status: Needs review » Fixed

Committed to HEAD

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.