Details
-
Suggestion
-
Resolution: Won't Do
Description
See PIR for context: https://product-fabric.atlassian.net/wiki/spaces/E/pages/3174606383/DRAFT+HOT-97965+-+Data+loss+in+confluence+when+links+encountered+inside+code+snippets.
Context: As part of the PIR, it was noted that while Confluence has test coverage for CXHTML to ADF transformations (Legacy page to new Fabric page conversions), it does not validate the resulting ADF on storing it.
While this would not have prevented the issue in HOT-97965 (which resulted from loading valid ADF but invalid Prosemirror), it is potentially worth exploring how feasible it might be to close this gap so that invalid ADF content is caught on-the-fly even prior to the client attempting to load/parse it (for example, I believe Content Services offers an ADF validation service that might be re-used/integrated).
Task: Investigate feasibility of running ADF validation on content that is being stored, on conversion from legacy to new Fabric pages.
Resources:
- #help-editor