Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

Save draft when no changes


Reply


998 Views

Avatar
xmedeko

Community Member, 94 Posts

6 June 2007 at 3:46pm

Edited: 06/06/2007 3:46pm

Hi,
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>
<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.