Inline Editing Saved but returns errors

Asked by Greg K

I see the same bug when trying to edit a row: https://bugs.launchpad.net/chive/+bug/588143

Also, I really like the inline-editor. When I hit save, the whole page goes white and I see:

{"redirectUrl":null,"reload":null,"refresh":null,"notifications":[{"type":"error","title":"Updating row failed","message":"Query was empty","code":"","options":false}],"data":{"error":true},"js":[]}

When clicking back, I see the cell that I was editing was saved.

Question information

Language:
English Edit question
Status:
Answered
For:
chive Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Greg K (graphicagenda) said :
#1

I would like to know how to stay on the same page I was editing after I hit save. I tried on firefox and chrome, and both load a new page after hitting save.

Revision history for this message
Greg K (graphicagenda) said :
#2

Version 0.3.0, Downloaded 9/15/10

Revision history for this message
David Roth (davrot) said :
#3

Have you tried the version from trunk? I have no problems with it.
We will make a new release next month, till then you have to fetch from trunk via bazaar.

Revision history for this message
loranger (loranger) said :
#4

I had this issue until I update to 0.4.2.
Now I'm using the very last version, and Chive prompt me for downloading an "update" file (which is a text file) each time I'm updating a field :/
Does someone has a fix ?

Revision history for this message
MupKoo (mupkoo) said :
#5

I have the same problem like loranger. Instead of showing notification about the update query, it prompts to save the update json file.

Revision history for this message
David Roth (davrot) said :
#6

Do you have this problem when editing a row or editing a column?
Have you tried clearing your browser cache? (maybe some js files have not been updated correctly if you had a previous version of chive earlier)
Is it after hitting save or when going in edit mode?
Could you please post the response headers when hitting save (e.x. using firebug):

e.x.:

Date Wed, 28 Sep 2011 08:49:14 GMT
Server Apache/2.2.16 (Ubuntu)
X-Powered-By PHP/5.3.3-1ubuntu9.5
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Content-Length 536
Keep-Alive timeout=15, max=41
Connection Keep-Alive
Content-Type application/json

Revision history for this message
loranger (loranger) said :
#7

This problem only occurs on ajax inline editing, the classic edition works fine.

Here is the dump of the inline edition response headers :

Date Thu, 06 Oct 2011 09:30:54 GMT
Server Apache
X-Powered-By PHP/5.3.6-11ubuntu1~lucid0
Expires Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
Content-Length 484
Connection close
Content-Type application/json

And you can find a video capture of the issue here : http://cl.ly/1G0c1f0i0U372j1x1A20
The browser is Safari, but the problem is the same using chrome, firefox or opera.

Can you help with this problem?

Provide an answer of your own, or ask Greg K for more information if necessary.

To post a message you must log in.