This topic contains 3 replies, has 3 voices, and was last updated by Rachid 7 years, 10 months ago.
- Topic
Hi,
I’m creating an integration for LivechatInc that has a custom connector. And this is one example if I want to insert data that already exists in my database. (The way I found to avoid duplicated data is using the annotation:
@UniqueEntity("chatId")
Stats: read [36], processed [0], updated [0], added [0], deleted [0], invalid entities: [36]
For some reason even having “invalid entities”, the message above is being saved on my oro_integration_channel_status with “code” = 1.
1) Isn’t it suppose to save code = 2 that means failed ?
I’m using read() method in my connector to add an extra data with the lastSyncDate following this (which by the way only works if I add return $item. I submitted a PR fixing the doc)
2) Is it possible to know from my read() method if I got “invalid entities” ?
Thank you,
Rodolfo
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.