Hey all,

I don't really know if this is a bug or rather a config issue on my side. I created a feeds importer to import node type "events" from an iCal calendar.
Stangly enough, it works perfectly for about 250 nodes, but for about 27 I get the following message:

"User admin is not authorized to create content type ."

Any idea why this is happening or what I'm doing wrong?

Comments

baluertl’s picture

Didn't touched the Navigation menu meanwhile? As far as remember I used to stucked in a similar strange situation, when the children menu items of ‘Add content’ were disabled.

But maybe I'm wrong and it's a totally different case.

Heihachi88’s picture

reproduced this issue. It's 100% bug and should be fixed.
The only way to import 2000+ nodes via feeds import is to attach this form to a some content type, not standalone.

Heihachi88’s picture

Priority: Normal » Major
twistor’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

I'm not sure what this has to do with attaching to a content type vs. standalone.

The error message you are seeing is because the author that was set on the node doesn't have permission to create that content type. There is a setting on the processor page called "Authorize" that can turn this behavior off.

@Heihachi88 I don't understand your issue.

jaysonjaynes’s picture

@twistor is right. You just have to uncheck "Authorize" and it'll work. I just had this issue myself, and it works fine.

megachriz’s picture

Perhaps the error message must say something like this:

The user %name is not authorized to create content of type %type. To import this item, either the user %name (author of the item) must be given the permission to create content of type %type, or the option "Authorize" on the Node processor settings (from the Feeds importer %importer) must be turned off.

The words starting with % are placeholders.

megachriz’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new2.77 KB

The attached patch changes the authorize error message, similar as proposed in #6. I changed the error message for the node processor and for the generic entity processor. The error message for the generic entity processor doesn't mention the option "Authorize", because I couldn't find that option for that processor.

megachriz’s picture

Component: Feeds Import (feature) » User interface
Category: Bug report » Feature request

  • Commit 3fa9752 on 7.x-2.x authored by MegaChriz, committed by twistor:
    Issue #2175525 by MegaChriz | Max2505: Added User admin is not...
twistor’s picture

Status: Needs review » Fixed

Can always use better messages.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.