In rare cases such as #297027: Custom Javascript: Cannot remove items from nodequeue, invalid data can be saved to the nodequeue_nodes table, which causes problems and takes time to figure out through the issue queue. We should prevent these bad values from ever getting saved.

Comments

ezra-g’s picture

The solution I'd like to see here would be abstracted away from the specific form (or custom code :D) being used to submit the new queue order. I'd like to have either a single function that validates and then either returns false or replaces all values for a subqueue with those from an array keyed on the queue position with nid as values.

ezra-g’s picture

Assigned: Unassigned » ezra-g
ezra-g’s picture

Status: Active » Closed (duplicate)
ezra-g’s picture