Node Import and Product Updates
Summit - July 20, 2007 - 14:28
| Project: | Node import |
| Version: | 5.x-1.6 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I really like this module, and used it a lot in Drupal 4.7.
I am now upgrading a site to drupal 5.2 and I am not able to get the node_import.module working.
I push on the [Apply (import nodes)] button, but nothing happens.
Off course I tried another time, but it is not working.
Please correct this.
Thanks!
greetings,
Martijn

#1
Update:
None of the three buttons: [Back] [Reload] or [Apply (import nodes)] are working.
Am I the only one with this situation?
greetings,
Martijn
#2
I'm using drupal 5.1 and just loaded the current version of Node Import. I get to the options button, then get thrown back to the first page as if I hadn't started the process) each and every time I try it.
#3
Fixing the title and I also wanted to say that I just ran the module for the first time and it worked fine for me.
Michelle
#4
I get the same here as what Martijnhaan and WorldFallz reported. Not being a programmer I can't make much of it, but I've noticed that my setup worked OK when I tested with a simple csv file, and failed when I tried a more complex one. When retrying several times times I noticed that sometimes I get redirected to the Node Import start page right after clicking the "Next (options)" button, and sometimes one step further, after clicking "Next (preview)". I also tried removing mappings to text fields with select lists, as reported by naim (aug 6), to no result. Hope this helps in debugging.
Peter
#5
Found a workaround: select another content type on the Node Import start page and run the procedure, Then reselect the original content type. In my case the module then worked without resetting from the "Next" buttons. You'll need to re-enter the mapping, however. I also noticed there were no more messages about how nodes were categorized, but links were made anyway.
Peter
#6
Hi,
Workarounds are great, but of course the module needs to be fixed.
Can somebody try this?
greetings,
Martijn
#7
Hi,
Workaround is not working for me either.
I wait until the module is nicely fixed.
Is somebody working on this anoying bug?
greetings,
Martijn
#8
Hi,
The apply (import nodes) button is working on Firefox! I just tested it.
Also I got rid of an other bug:
'#value' => '<p>'. t('Importing may take awhile, do not click "Apply (import nodes)" more than once. To see progress, look at <a href="%admin-content" target="_new">the "administer >> content" page in a new window</a>.', array('%admin-content' => url('admin/node'))) .'</p>',should be (I think):
'#value' => '<p>'. t('Importing may take awhile, do not click "Apply (import nodes)" more than once. To see progress, look at <a href="@admin-content" target="_new">the "administer >> content management >> content" page in a new window</a>.', array('@admin-content' => url('admin/content/node'))) .'</p>',What is not working yet, and was working on the 4.7 version, is the right adding of the node to a taxonomy_term.
Please get this working on 5.2 also again.
Thanks in advance,
greetings,
Martijn
#9
It is all working on firefox!
The term-issue had to do with a mapping problem on my site, sorry!
So use firefox instead of internet-explorer and then you're fine.
Why it is not working on internet explorer I don't know, that's still an issue :)
greetings,
Martijn
#10
Trying to set the title of the issue to the matter.
#11
Ah, that explains why the module works fine for me. I use Firefox.
Michelle
#12
Getting the same bugged out result described by OP. Using Firefox. I was able to import one time and then never again.
#13
Not working in Safari either. I am changing the title of this issue to include all browsers.
#14
It seems to have something to do with the sessions. When logged out and emptied the sessions table directly in the database, I was able to initiate a fresh import that actually completed instead of firing me back to the upload page every time.
#15
Turns out I also had to go in an empty the 'node_import_mappings' table in order to ever submit subsequent imports.
#16
This is still occurring in 1.6. I've successfully used node_import on some sites with Firefox but not others (with identical setups). I also tried the konqueror browser and it worked successfully on that immediately after failing on the same site with Firefox (same CSV file, same settings, same user account...).
#17
Can confirm workaround in #14, but didn't need to also apply workaround in #15.
Before clearing the sessions table the function _node_import_mapping_validate wasn't being called, after clearing sessions table it was called and all worked as it should.
#18
I have also seen similar issues with Internet Explorer. Pressing the Apply button does nothing... It took a while to figure out it was a browser issue. In fact I always now use Firefox for imports...
So I suspect it is something to do with the html generated by node_import?
#19
For me switching back from Firefox 3 to Firefox 2 helped.
#20
Still occurs in Firefox 2 after trying fix in #14 and #15.
Still occurs randomly on all of the Next and Apply Import buttons.
#21
Hi,
I am using Node Import 1.6 and Drupal 5.10. I am able to load images and the content appropriately. I wanted to check if there is a way to just import certain fields using node import. For Eg When I start all my products will be new and there wouldn't be any issues. Say initially I had 2000 products and later on I would like to change the price of around 500 of them. Is it possible to just change the price using the CSV method or it has to be changed Manually ?
Thanks,
Naresh
#22
Ok, I went for a long time without this issue, then it crept back up. After several painful hours I started to suspect suspect my theme might have something to do with it. So I went in and switched my theme to Bluemarine and retried the import. This time it worked without any trouble.
Anyone who has trouble submitting the import form, try switching to one of the default themes and see if that helps.
-Zach