This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-268893fa-5635-4f57-9f0f-e4d12f62c2d0 XWIKI-23018 Open

Introduce an API in DocumentModelBridge to check if the document exist

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-931fe0da-0aba-4d2e-b002-fe5fb244d016 Thomas Mortagne created this issue on 25/Mar/25 10:07
 
Summary: Introduce an API in DocumentModelBridge to check if the document exist
Issue Type: cid:jira-generated-image-avatar-268893fa-5635-4f57-9f0f-e4d12f62c2d0 Improvement
Affects Versions: 16.10.5
Assignee: Unassigned
Components: Bridge
Created: 25/Mar/25 10:07
Priority: cid:jira-generated-image-static-major-afb4b1eb-4699-4e5d-8fc8-676ebfedb8ed Major
Reporter: Thomas Mortagne
Description:

Various codes end up with a DocumentModelBridge and can't call isNew because they don't depend on oldcore to cast it into a XWikiDocument.