Bug Report

Autosave and normal submit passing different array keys to validate_publish

Date: 03/11/2010 Show-stopper?:
Status: Bug Fixed Reporter: Leevi Graham
Reported in Version: 2.0.1PB 20100215 Assigned To: Robin Sowell
Keywords:
Support Thread:

Details

I’m trying to track this down with more information but from what I can tell when an entry auto saves a different array is being passed to validate_publish in the tab file.

Fieldname: nsm_foo

For the standard save the $params array key is: nsm_foo__ nsm_foo (namespaced?)

For the autosave the $params array key is: nsm_foo

The issue comes to light when I try and run custom validation and can’t find the right data.

Comment on Bug Report

Page 1 of 1 pages
Posted by: Robin Sowell on 12 March 2010 9:39am
Robin Sowell's avatar

Hrm- it doesn’t look like it’s in the saved data at all.  Along with categories and options, probably a few other things.

So yep- needs pondering on the third part and some fixing on the first party.  Thanks for the heads up- will update once it’s poked.

Commenting is not available in this channel entry.