Closed (fixed)
Project:
Bones
Version:
6.x-1.0-unstable1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jan 2009 at 21:25 UTC
Updated:
19 Mar 2009 at 03:20 UTC
While doing some tests for another bug report I encountered this issue.
Choosing the "Don't create menu items; Just create nodes." radio button, then selecting my custom content type from the drop down I imported my nodes. However they were imported as "Page" type not my chosen custom content type. Assuming I had made an error I repeated the process three times and conclude that when selecting "Don't create menu items; Just create nodes." this error occurs.
This was not the case when selecting the first option, "Create new menu items under an existing menu item."
Comments
Comment #1
redpuma commentednow it also appears to be the case with the first option too.
Comment #2
joachim commentedThis will happen in all cases, independently of menu options.
The problem is that the setup form lets you pick a default type, but nowhere else in the code is the import_type value used!
I'm not sure how to fix, as by the time we get here:
we don't have the form values.
You can always hardcode your chosen type here for the time being :)
Comment #3
usonian commentedGood catch, thanks. this should be fixed in the D6 branch now.