1b.app
Link copied -

Error in the hourly universal import of products when the processing condition is enabled only from products with a certain additional field

There is an import action. It was set up a long time ago and worked without any problems.
There was a need to use this setting "Process only products whose additional field is equal to the selected value" https://prnt.sc/vw2gk9, and do the second same action, but with a different condition. (the need for these settings emerged from this thread https://crm-onebox.com/ru/support/suppliers-and-prices/4044-podtyanut-v-protsess... -pravilaquot/)
After setting up the second action and setting the condition in the first one, the error "XML PATH (path by tags) to categories is not correct!" in both activities https://i.imgur.com/GYUAWUv.png/
And the error is very strange.
If I turn off the processing condition and turn on the search by external id again (as it was before), then the action works normally, updates all found products.
I turn on the processing condition and turn off the search by external id - again an error.
The catego
Original question is available on version: ru

Answers:

And with a regular launch by cron, and with a forced launch, the result is the same.
What can it be and how to remove this error?
15.12.2020, 19:19
Original comment available on version: ru

Hello. Remove the path to the array of categories, in your case it is not needed as far as I can see, since there is no information on the categories.
15.12.2020, 22:30
Original comment available on version: ru


Bodyako Dmitry
Employee wrote:
Hello. Remove the path to the array of categories, in your case it is not needed as far as I can see, since there is no information on the categories.

If I remove the path to the categories (I leave an empty field), I get the same error. With any action settings.
That's why I wrote it this way in the first place. With the old search setup and such a link to the categories, everything works.
But with a new setting (with a condition) it does not work either with a link or without it. Just checked again
15.12.2020, 22:35
Original comment available on version: ru


Bodyako Dmitry
Employee wrote:
Hello. Remove the path to the array of categories, in your case it is not needed as far as I can see, since there is no information on the categories.

Tried several more options and nothing.
When the condition is enabled, an error occurs with the path to the categories.
This is clearly some kind of bug.
There's definitely no need to check for the mandatory presence of categories in xml or something like that?
16.12.2020, 19:11
Original comment available on version: ru

As far as I can see "Products updated: 2083" the products will import and there are no errors
17.12.2020, 17:48
Original comment available on version: ru


Bodyako Dmitry
Employee wrote:
As far as I can see "Products updated: 2083" the products will import and there are no errors

Actually, there are no processing conditions in the price list that you looked at, and this is not the action that I wrote about. You looked at the price of Arnica, but you need the price of Gorgan. At the moment the condition is enabled in the second one (underlined in the screenshot) and it does NOT work
In total, 2 Gorgan price list loading actions are currently configured. As soon as the error is fixed, I will set up 4 more pcs.
In the first one, I now turned off the condition so that the availability and prices are updated. And in it, like the whole last month, about 1700 products have been updated
But where the condition is enabled (the second action for the Gorgan price list), nothing is updated at all
17.12.2020, 18:50
Original comment available on version: ru


Bodyako Dmitry

The only action in which the condition for processing goods is set still does not work and throws a category search error.
What is the reason?
18.12.2020, 18:08
Original comment available on version: ru


Bodyako Dmitry

Still waiting for an answer.
21.12.2020, 07:15
Original comment available on version: ru

Good afternoon, change the price list format like this https://prnt.sc/wczz4o as described in the action description https://prnt.sc/wczzhz . Those. you need to wrap the array of products in any other tag.
30.12.2020, 15:08
Original comment available on version: ru


Bodyako Dmitry
Employee wrote:
Good afternoon, change the price list format like this https://prnt.sc/wczz4o as described in the action description https://prnt.sc/wczzhz . Those. you need to wrap the array of products in any other tag.

Alas, this is not possible (( The supplier does not have the opportunity to modify this download.
The last days of December I again tried different options and found an option on which the category error does not fall out https://i.imgur.com/20Xf3h7.png/ BUT the products with this option still do not update if the condition is set in this field https:// prnt.sc/vw2gk9.
As soon as I remove the condition - the update goes. I return the condition - no goods are processed again https://i.imgur.com/5TQZM5Q.png/
There are goods in stock with this field value, for example https://knz.market/admin/shop/products/37632/edit/ (the field is almost at the very bottom of the card)
04.01.2021, 08:37
Original comment available on version: ru

Good afternoon. Made changes to the action, now the action with the condition XXXX=43 gets the following result https://prnt.sc/wj1cqs
08.01.2021, 15:49
Original comment available on version: ru


Bodyako Dmitry
dev wrote:
Good afternoon. Made changes to the action, now the action with the condition XXXX=43 gets the following result https://prnt.sc/wj1cqs

Thank you!
Finally works))
13.01.2021, 11:04
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment