We're updating the issue view to help you get more done. 

"dontCreate" option for "listItemSplitter" is ignored

Description

In short:
Using "dontCreate" option in a "listItemSplitter" creates list items that are already presents in the list.

More details:
I'm using here the listItemSplitter to import on an object metadata. Don't know if it linked to the problem.

The all story is here:
http://www.collectiveaccess.org/support/forum/index.php?p=/support/forum/index.php&p=/discussion/298157/dontcreate-option-for-listitemsplitter-problem

I attach here the mapping and the test data.

Environment

Linux

Activity

Show:
User known
December 22, 2016, 12:39 PM

It should be getting it from $pa_options, no matter whether it is being pulling to a local variable. I will dig deeper.

User known
December 22, 2016, 5:29 PM

Found the problem. We are not passing the values properly for all types of splitter mappings. We were also not carrying forward the mapping errorPolicy as the default for refinery mappings. Patches for these issues are in GitHub/develop

bruno
December 23, 2016, 11:00 AM

Thanks.
I tested and it's all good ! In my point of view, we can close the bug. But maybe you want to let it open in order to merge it to stable branche ?
Say me if I can close it.

I only needed a verbose info to let me know when an inexistent item in a list was referenced in data file. Just submitted a PR for that:
https://github.com/collectiveaccess/providence/pull/280

Thanks !

User known
December 23, 2016, 11:06 AM

Yeah, I'll merge to master-fix today.

Merry Christmas/Happy Hanukkah!

bruno
December 23, 2016, 11:07 AM

Merry Christmas to you too !

Fixed

Assignee

User known

Reporter

bruno

Labels

Components

Affects versions

Priority

Minor
Configure