SAP Commerce 2005 Integration
Hi,
Im currently struggling to completely integrate the Cloudinary B2B Extension into my existing demo SAP Commerce 2005 and displaying images from the media library in the storefront. Some things like the sync from catalog to media library are working, the product gallery is visible but no images are displayed. I followed the instructions in the pdfs for setup but had to make changes as things pointed to mediaaddon while I used mediab2b2addon. Problems I noticed:
- The default staged product catalog has the cloudinary attributes set, a sync from staged to online catalog fails with:
INFO [SyncWorker<000000T1 16 of 16>]
[AbstractItemCopyContext] 2de.hybris.platform.persistence.hjmp.HybrisOptimisticLockingFailureException: item pk 8796231041025 3was modified concurrently -
expected database version 552 but got 553, expected blocked = false
but 4 got blocked = false, entity state = 5 GenericItemEntityState(PK=8796231041025,txbound=true,sid=22c4f0f8,hjmpTS=553,hjmpTSBefore=552)
- the media library in the backoffice is not working with:
"System Error Missing required parameter - cloud_name"
- The debug console on the product gallery page of any product shows:
GET https://res.cloudinary.com/<mycloudname>/image/list/sap_sku_2116274.json 404
I think I missed some steps, can you point my towards a solution?
Your help is much appreciated.
Greetings
Timo
-
One thing to add:
The SOLR Index is not working corretly, products are not displayed in backoffice product cockpit, an index build has no effect.
0 -
Hi Timo,
Thanks for reporting this.
May I please ask you to create a direct ticket with us via - https://support.cloudinary.com/hc/en-us/requests/new - with these details and we would be able to investigate the issues you're seeing and provide you with updates on those? I ask this because it's likely that we need to provide you with information about your cloud or ask you for additional information specifically about your cloud which would be best shared privately.
To provide a bit of context on some of the issues here -
- The "Missing required parameter - cloud_name" suggests that perhaps the connection string/Cloudinary URL that is supposed to be copied from your Cloudinary Dashboard and added to the SAP backoffice may not be in the correct format.
- The 404s you see for requests such as - https://res.cloudinary.com/<mycloudname>/image/list/sap_sku_2116274.json - may indicate that either:
1) The "Resource List" media type is marked as restricted under the Settings -> Security tab in your cloud. In this case, the requests for Resource List 'type' will be rejected and return an error.
2) Or the other common reason is if there just aren't any assets on Cloudinary with the tag: "sap_sku_2116274" which results in a legitimate 404 error.
0 -
Hi Aleksandar,
Thanks for heading back!
I will create the Support Ticket as you suggested. I already unchecked the Resource List Media Type. I would guess, as you suggested, that the tag is not existing. If this has something to do with the Media Tag Update Cronjob, which I think failed for me as well, this might be a point to look into.Greetings
Timo0 -
Thanks, Timo
Yes, indeed the cronjob that pushes assets to Cloudinary should tag them at the same time with the product code and that creates the connection between assets and product. Those are then used to populate the Product Gallery on the product display pages.
0
Post is closed for comments.
Comments
4 comments