this is hard to explain, but what I think is happening is this.
i have two paragraph fields that allow instances of a specific paragraph type i call text
with one repeatable text area called field_body
.
1. field_b
(allows unlimited instances of 1 paragraph type)
2. field_a
(allows unlimited instances of many paragraph types, including the type field_one
allows)
3. my_node_type
has field_b
in it, but not field_a
4. my feed uses the entity process on my_node_type
, so i expect only fields associated with my_node_type
5. when i select a target for field_b
, it gives me the path for field_a:text:field_body
6. i expect field_b:text:field_body
, but i get field_a:text:field_body
7. this is because WrapperTarget::prepareTarget() L:184 and L:98 simply takes the last index of the $path
array built by Mapper::buildPath() L:274
8. field_a
has nothing whatsoever to do with my_node_type
, so it's a surprise to even see it show up
i feel like instead of just taking the end($path)
of all field instances, it should actually check to see which instances are available in the entity type of the feed.
i appreciate all the hard work you've put into this project. if it weren't for this very weird and specific case, this would suit my needs perfectly. please let me know if i can give you any more information about the issue at hand and thanks for all your time and hard work for maintaining this project!
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.