I have setup editview 5.x-0.3 in a drupal-5.5 install. I initially had issues that were addressed by renaming the form.js file. But now, when I click update, the updated row disappears, and does not return. If I go out of the view and come back, I see that the data I had been attempting to update is correct.

I know with the previous version, there was a patch necessary, is that still the case? Any obvious reason why the view does not refresh correctly?

Thanks

Comments

gcassie’s picture

I am also having this issue: I can make an edit, but when I click "Update" the line just vanishes. If I refresh the view, it comes back with all its edits lovingly applied. Firebug's error console shows this:

syntax error
 data = 

I've already patched form.inc and renamed the .js file. The view I'm testing is very simple, just the node titles and a plain text CCK field. Adding and deleting nodes works fine. I'll keep looking at it and post back if I find anything.

EDIT: I should have mentioned this is a 5.6 Drupal install on php 4.4.8/mysql 4.1.20/Apache 2.0.52.

gcassie’s picture

Well, it seems to be working now. I made two changes.

  1. I'm using this version of the jquery.form.js. The release notes for editviews 5.x-0.3 say it uses 2.03, but it seems to be packaged with an older version?
  2. I commented out the three lines in editview.module that allow for file uploads. Right now, I don't need them.

Not sure which of these fixed the issue, but something did. Hope this helps.

I think this module is going to be a great help to me. Thanks very much to the developers.

frasketi’s picture

I just ended up rolling back to the previous version of editview and everything works. I don't use it that heavily so being a little behind in the versions likely will not hurt me.

joshuajabbour’s picture

Component: User interface » Code
Category: support » bug

I can confirm that it's the three lines (75-77) that deal with file uploads that causes this problem. Commenting them out fixes this issue (but probably doesn't allow file uploads to work).

The issue exists with any version of the jquery.form.js file (1.0.3, 2.0.3, 2.10).