I would suggest to define all implicit mappings (mappings that FeedAPI node does by default) as FEMP default mappings if FEMP 2.x is present. Will post a first patch soon.
I see that e. g. if "Published time" mapping target is defined, FeedAPI node still overrides it. This only loosely related, but I think we should address this issue in one go.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 591434-3_support_default_mappings_all_targets.patch | 2.8 KB | aron novak |
| #1 | 591434-1_support_default_mappings_all_targets.patch | 1.78 KB | alex_b |
Comments
Comment #1
alex_b commented- adds all mappings
- missing: fix _feedapi_node_save() to respect mappings.
Comment #2
alex_b commentedBreaks FeedAPI Mapper tests as they try to specify the same mappings.
Comment #3
aron novakThis one looks good.
Added the ability to override $node->created, i agree that this belongs to this ticket.
Follow-up issue: #594130: Tests: handle already existing mappings