1b.app
Link copied -

When importing goods and then when updating, the system loaded duplicate images

Here is the product https://baza.cn.ua/admin/shop/products/63729/edit/
There are duplicates in additional images (screenshot)
Products were imported and updated through the functionality https://baza.cn.ua/admin/shop/products/exchange-xls/?searchLine=&type=import
These 4 images were the source of images for this product
https://images.shafastatic.net/233871978
https://images.shafastatic.net/233871979
https://images.shafastatic.net/233871982
https://images.shafastatic.net/233871983
All of them were transferred to the variable "All images (separator)"
This can be seen from history https://baza.cn.ua/admin/shop/products/63729/history/?userid=&systemchange=1...
Why did the system upload duplicates (the hash of the images is the same + somehow it’s not logical to re-upload the images du
Original question is available on version: ru

Answers:


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
Why did the system upload duplicates (the hash of the images is the same + somehow it’s not logical to re-upload the images during the update and add them if they already exist)?

how do you check the uniqueness of the image in your opinion?
25.03.2021, 00:35
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
Why did the system upload duplicates (the hash of the images is the same + somehow it’s not logical to re-upload the images during the update and add them if they already exist)?

how do you check the uniqueness of the image in your opinion?

Once there was an article in the KB that Max also wrote, now I can’t find it
The essence of the article was that the vanbox seems to calculate the MD5 hash sum of the file and checks for the presence of such a file in the system and does not load it in the system
Or am I confusing something and this is fiction?
25.03.2021, 10:25
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)
1.About the above will be the answer?
2. There is a bug in the system, you can see it on this order https://baza.cn.ua/admin/customorder/order/40494/edit/
The essence of the bug is that the system created an order without a status
I suppose that this happened due to the fact that at the initial stage there is an action that, depending on the field, transfers to the "Reserve" status where the reserve occurs, but for this order it turned out that there was no balance for one product, and as I understand it, the system could not transfer to this stage, but as for me I could at least leave it at the starting stage
Fix this bug?
11.04.2021, 14:45
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
Once there was an article in the KB that Max also wrote, now I can’t find it
The essence of the article was that the vanbox seems to calculate the MD5 hash sum of the file and checks for the presence of such a file in the system and does not load it in the system
Or am I confusing something and this is fiction?

name + content is checked

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
2. There is a bug in the system, you can see it on this order https://baza.cn.ua/admin/customorder/order/40494/edit/
The essence of the bug is that the system created an order without a status
I suppose that this happened due to the fact that at the initial stage there is an action that, depending on the field, transfers to the "Reserve" status where the reserve occurs, but for this order it turned out that there was no balance for one product, and as I understand it, the system could not transfer to this stage, but as for me I could at least leave it at the starting stage
Fix this bug?

and what does this have to do with it?
16.04.2021, 00:40
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:
name + content is checked

1. I did not understand the answer, that is, it should not be duplicated in theory, but in my case it was duplicated and this is a bug and needs to be sorted out?
2. Or have you fixed the bug and will not duplicate now?
3. Or did I misunderstand?
21.04.2021, 21:11
Original comment available on version: ru

The duplicate is checked against the content of the file + format + title
if everything matches, it will not duplicate it
27.04.2021, 10:49
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)
I still don't understand what is wrong with my example?
29.04.2021, 22:11
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
I still don't understand what is wrong with my example?

Do you have all 3 entities that I indicated?
30.04.2021, 14:09
Original comment available on version: ru


Ustimenko Igor
OneBox production Premium Partner
OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
I still don't understand what is wrong with my example?

Do you have all 3 entities that I indicated?

or I misunderstood you
30.04.2021, 14:15
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor
OneBox production Premium Partner
OneBox CTO wrote:
Do you have all 3 entities that I indicated?

Yes, they should match, but I have links in the import file, I didn’t change them, I just re-imported and it duplicated the additional photo
01.05.2021, 10:42
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:
Do you have all 3 entities that I indicated?

Yes, they should match, but I have links in the import file, I didn’t change them, I just re-imported and it duplicated the additional photo
send me the file here
07.05.2021, 10:01
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:
Do you have all 3 entities that I indicated?

Yes, they should match, but I have links in the import file, I didn’t change them, I just re-imported and it duplicated the additional photo
send me the file here

Here is a product with duplicates https://baza.cn.ua/admin/shop/products/63729/edit/
These images were specified during import
https://images.shafastatic.net/233871978
https://images.shafastatic.net/233871979
https://images.shafastatic.net/233871982
https://images.shafastatic.net/233871983
As a result of doubles
That is, there was no such file, there was a link
07.05.2021, 22:43
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor
OneBox production Premium Partner
OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:

Ustimenko Igor
OneBox production Premium partner
OneBox CTO wrote:
Do you have all 3 entities that I indicated?

Yes, they should match, but I have links in the import file, I didn’t change them, I just re-imported and it duplicated the additional photo
send me the file here

Here is a product with duplicates https://baza.cn.ua/admin/shop/products/63729/edit/
These images were specified during import
https://images.shafastatic.net/233871978
https://images.shafastatic.net/233871979
https://images.shafastatic.net/233871982
https://images.shafastatic.net/233871983
As a result of doubles
That is, there was no such file, there was a link

it turns out that the same photo has different names
/media/shop/b5/cf/product-Dzhinsovaya-kurtochka-NA-KD-1100-002974-0116-36-S-_b5cf6cbd5dada16426cc28f61f9c8c0f.jpg
/media/shop/b5/cf/product-Dzhinsova-kurtka-NA-KD-1100-002974-0116-36-S-siniy-63729_b5cf6cbd5dada16426cc28f61f9c8c0f.jpg
here is an example
Tobish 1st photo was uploaded automatically when importing goods
https://baza.cn.ua/admin/shop/products/63729/history/?userid=&systemchange=1...
and the 2nd one was uploaded in Ukrainian where the name of the product is completely different, so the CNC made a different path for the link to the image and in fact you got the 2nd picture
07.06.2021, 15:59
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)
And why did the name change (I uploaded everything and did it in UKR + I did not change the link to the photo)?
21.06.2021, 10:48
Original comment available on version: ru


Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
And why did the name change (I uploaded everything and did it in UKR + I did not change the link to the photo)?

well, according to history, you can see who changed the name of the product
21.06.2021, 10:50
Original comment available on version: ru

Куприян Владислав Валерьевич
Baza.cn.ua / Integrator (FOP Kupriyan)

Ustimenko Igor
OneBox production
Premium Partner
OneBox CTO wrote:

Kupriyan Vladislav Valerievich
Baza.cn.ua / Integrator (FOP Kupriyan) wrote:
And why did the name change (I uploaded everything and did it in UKR + I did not change the link to the photo)?

well, according to history, you can see who changed the name of the product

Now I understand, I thought the name of the file, but it turned out to be the name of the product.
And why in general was the name of the product tied to this procedure (search for a duplicate) (the name can change (errors, etc.)) and then the system will already create duplicates?
21.06.2021, 11:02
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