Closed mkllnk closed 1 year ago
hello @mkllnk .
http PATCH verb is complexe in LDP standard and is open to interpretation. To avoid this interpretation, the prototype will now use the http PUT verb.
POST methode at /data/core/catalog/reconciled/ is used to update recocield product (dfc product). APi used by prototype front.
http PATCH verb is complexe in LDP standard and is open to interpretation. To avoid this interpretation, the prototype will now use the http PUT verb.
Okay, that's fine. But just to clarify that the problem I saw was no request at all to the OFN platform. So the symptoms are:
@mkllnk I reproduced the bug on the proto. Internally exception before sending the PUT. I'm trying to fix it this week.
@mkllnk fix brand was not provided by OFN fr and code used it
Description
I'm updating the Open Food Network application to the newest DFC version. Import the catalog works but updating an items fails.
Expected Behavior
I was expecting PATCH requests to the OFN server like in the past.
Actual Behaviour
No requests sent to the OFN server. The network requests within the prototype:
Steps to Reproduce
The OFN platform provided this data when importing:
Animated Gif/Screenshot
Workaround
Your Environment
The DFC prototype just says V3.6.
The OFN staging server was running the branch from this pull request: