Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Save draft when no changes

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 985 Views
  • xmedeko
    Community Member
    94 Posts

    Save draft when no changes Link to this post

    I am debugging AJAX communication in Firefox with Firebug AddOn.

    I go to editing page, Reports tab, and press 'Save draft' more times. If there's nothing to save, i.e., no changes, then there's nothing in the POST data, but the response is:

    <div style="border: 5px red solid">
    <p style="color: white; background-color: red; margin: 0">FATAL ERROR: DataObject::get_by_id passed a
    non-numeric ID #<br />
    At line 1200 in /var/www/xebidy/sapphire/core/model/DataObject.php<br />
    <br />
    <p><b>user_error(DataObject::get_by_id passed a non-numeric ID #,512)</b>
    <br />
    user_error at line 1200 of DataObject.php</p>

    I see big green leters "Saved", though.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.