Thanks to Sun and Robrecht for their work on the port to 5.1 for this module. It comes at a critical time as I'm upgrading a pre-production site from 4.7 in which I'm using node_import to regularly import events from a client's software calendar.
Unfortunately I've run into problems. I upgraded my site to 5.1 and then upgraded to 5.x-1.x-dev patched with the May 3, 2007 - 14:36 patch from Sun. The initial page of the form comes up, but I can't get any farther. The file appears to be uploading because loading a large files causes it to take much longer. However when its done it just reloads the page (with an empty upload file field) and the file does not appear on the server.
I also tried running the unpatched version and ran into the same problem.
When I first upgraded the was reading a file already uploaded and the form brought up both the Next (mapping) button and the Use a different file button. But neither did anything but reload the page.
My next step is to try installing the module on a fresh 5.1 installation to see if it works there. I'll add further comments below as I go along.
Comments
Comment #1
mennonot commentedUpdate: I tried the module out on a site that had not previously had Node Import installed and got the same problem. Although this time I noticed an additional detail. The first time I went to the page it offered me a choice of file formats. After I made one attempt to upload a csv file it took away the selection box and replaced it with "File format: Comma Separated Values (CSV) text file" even though no file had been uploaded.
Comment #2
mlle.yotnottin commentedI'm also experiencing this same behaviour.
Once I've selected my csv file and a node type to import to, I keep getting returned to the same initial screen. Even selecting "raw data" won't advance beyond the first page.
It also appears that the "file format" selection sticks at whatever was chosen for the last import and will not redisplay the drop-down select list again. I can get the drop-down list to display only after I've logged out and logged back in again. Clearing the browser cache and the cache db table has no effect on it's re-display.
Comment #3
mlle.yotnottin commentedI'm also experiencing this same behaviour.
Once I've selected my csv file and a node type to import to, I keep getting returned to the same initial screen. Even selecting "raw data" won't advance beyond the first page.
It also appears that the "file format" selection sticks at whatever was chosen for the last import and will not redisplay the drop-down select list again. I can get the drop-down list to display only after I've logged out and logged back in again. Clearing the browser cache and the cache db table has no effect on it's re-display.
Comment #4
mlle.yotnottin commentedI'm also experiencing this same behaviour.
Once I've selected my csv file and a node type to import to, I keep getting returned to the same initial screen. Even selecting "raw data" won't advance beyond the first page.
It also appears that the "file format" selection sticks at whatever was chosen for the last import and will not redisplay the drop-down select list again. I can get the drop-down list to display only after I've logged out and logged back in again. Clearing the browser cache and the cache db table has no effect on it's re-display.
Comment #5
sunPlease do not create separate issues for identical topics. If the problem persists, post a follow-up in http://drupal.org/node/112173, please.
Did you log out and in again after installing/enabling/patching the Node Import module?
Node Import stores form values in the user session. The session is not reset until you log out.