Every node that I import gets set as unpublished regardless of whether I set the content type to default to published and/or specify that imported nodes should be imported as published during the import process.
Has anyone else has this issue?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | node.inc_2.patch | 349 bytes | v1nce |
| #8 | node.inc_.patch | 373 bytes | v1nce |
Comments
Comment #1
Robrecht Jacques commentedCould you check again? The logic in supported/node.inc was not as good as I thought.
If it works, please set this issue as "fixed".
If it doesn't work, please attach a small CSV file you used where the issue is clear and mention some configuration options (what are the default workflow options for this content type and what do you choose on the global options page).
Thanks!
Comment #2
Robrecht Jacques commentedYou should use the 1.41 revision of node_import.module (second line in the file).
Comment #3
jmiccolis commentedI updated to cvs head - which is version node_import.module 1.45 and this is still an issue.
Comment #4
Robrecht Jacques commentedOK. So:
Thanks.
Comment #5
Robrecht Jacques commentedFixed in HEAD.
Comment #6
(not verified) commentedComment #7
Andy Galaxy commentedI don't think this is fixed. I have the same problem. Using:
// $Id: node_import.module,v 1.50.2.3.2.19 2008/05/03 08:44:28 robrechtj Exp $Comment #8
v1nce commentedI can confirm this bug is still in 5.x-1.6.
The attached patch fixes this issue.
Comment #9
v1nce commentedPatch in #8 above didn't quite work.
Attached patch will use the global node values correctly.
Comment #10
Robrecht Jacques commentedThe problem is that I usually test with the "administrator" account which has the "administer nodes" permission and so in the wizard the workflow options appear. However, if you do the import with a user that doesn't have the "administer nodes" permission, these options do not appear on the wizard options screen. In this case I get the options with:
The problem now is that the $options passed from the wizard options screen (if administrator) is in a different format. Eg (if administrator):
compared to (if non-administrator)
Of course then the code
only works for the first version. Something neither of the patches fixes.
Anyway, thanks for pointing it out. It should now be fixed in the next release of node_import (5.x-1.8), released this weekend by always converting it to the first form.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.