Symptom
While attempting to publish a yFormDefinition in Backoffice by overriding an existing version—the following error may appear:
|
There was an error during form publishing
|
In opensearch log, the following error is observed:
| "level": "ERROR", "loggerName": "de.hybris.platform.xyformsweb.controllers.integration.OrbeonFormController", "message": "YFormData with formDataId[<masked>] does not exist", |
In Orbeon logs, the following messages are visible, indicating a version mismatch during persistence operations:
| 2026-02-25T17:40:26,649 DEBUG PersistenceProxyProcessor$ - loaded HTTP state {scope: "session"} 2026-02-25T17:40:26,657 DEBUG PersistenceProxyProcessor$ - opened connection {client: "Apache", effective URL: "http://localhost:8081/xyformsweb/fr/service/hybris/crud/yforms/<masked>/form/form.xhtml?document=c34b84fb-aaac-4bf7-a955-fe529143a091", method: "HEAD", Orbeon-Versioning: "true", Orbeon-Roles: "yformsmanagergroup", Hybris-Orbeonweb-Proxy: "<masked>", Orbeon-Credentials: "{"username":"<masked>","groups":[],"roles":[{"name":"yformsmanagergroup"}],"organizations":[]}", Orbeon-Form-Definition-Version: "4", Orbeon-Username: "<masked>", Orbeon-Token: "<masked>"} 2026-02-25T17:40:26,658 DEBUG PersistenceProxyProcessor$ - response {status code: "200"} 2026-02-25T17:40:26,658 DEBUG PersistenceProxyProcessor$ - response headers {Keep-Alive: "timeout=20", Connection: "keep-alive", Content-Length: "0", Orbeon-Form-Definition-Version: "1", Date: "Wed, 25 Feb 2026 04:40:26 GMT", Set-Cookie: "JSESSIONID=<masked>.backoffice-***-***; Path=/xyformsweb; HttpOnly"} 2026-02-25T17:40:26,658 DEBUG PersistenceProxyProcessor$ - response has no content 2026-02-25T17:40:26,658 DEBUG PersistenceProxyProcessor$ - saved HTTP state {scope: "session", cookie names: "JSESSIONID"} 2026-02-25T17:40:26,659 INFO PersistenceProxyProcessor$ - 400 Bad Request: incoming version (4) doesn't match version from provider (1) 2026-02-25T17:40:26,660 INFO PageFlowControllerProcessor - HTTP status code 400 {controller: "oxf:/apps/fr/page-flow.xml", method: "PUT", path: "/fr/service/persistence/crud/yforms/<masked>/form/form.xhtml", status-code: "400"} |
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Read more...
Environment
- SAP Commerce
- SAP Commerce Cloud
Product
SAP Commerce Cloud all versions ; SAP Commerce all versions
Keywords
yFormDefinition publishing error, persistence version mismatch, yformdata, PersistenceProxyProcessor, PageFlowControllerProcessor, HTTP status code 400, validation, form publish , KBA , CEC-SCC-COM-YFO , yforms , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview