In stock OA 7.x-2.615 I am unable to get section to apply to created nodes from a feeds importer unless the target is Document Page, or Event.

Steps to reproduce:

Success:

  1. Create an importer in the same style as iCal Importer with attached content type with fields for Group and Section
  2. Set Processor Settings target Bundle to Document Page or Event
  3. Import nodes

Result: Generated nodes share Group and Section settings of the importer node.

Failure:

  1. Use the same working importer used in the success example
  2. Set Processor Settings target Bundle to Task or something custom that has Group and Section fields
  3. Import nodes

Result: Generated nodes share only Group setting of the importer node. Section is missing.

Why does this work for two content types, but not others that have the same Group and Section fields?

Comments

cgove created an issue. See original summary.

Argus’s picture

Don't you think this is a bug? I only have experience with the Document Page and Event content types with regards to the Feeds module. I do remember the Sections sometimes don't get set correctly depending on which Group and Section you are currently in. Perhaps that helps.

cgove’s picture

Maybe even a feature request? I'm not sure if it was ever designed to work for other content types. I assume this functionality is hard-coded somewhere in OA since the feeds module has no awareness of Sections. I'm hoping someone can point me in the direction of where that functionality is coming from so I can replicate it.

cgove’s picture

Status: Active » Fixed

I managed to get this working with:
https://www.drupal.org/project/feeds_entity

It adds every field from the attached importer node as a source and every target field on the generated nodes as corresponding targets.

Finnaholm’s picture

I use standalone importers for custom content types and had this problem (missing section).

I solved it with a custom feeds tamper plugin which find the correct section ID based on the space name.

If anyone is interested I could share this plugin.

Status: Fixed » Closed (fixed)

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