This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7f4cad54-2ea9-4a9f-9625-4a95bad36ec5 XWIKI-22655 Open

RestURLGenerator#getURL does not really support EnityReference

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-14d2c234-1ede-4155-8212-ac1b4d9c8d19 Thomas Mortagne created this issue on 13/Nov/24 15:33
 
Summary: RestURLGenerator#getURL does not really support EnityReference
Issue Type: cid:jira-generated-image-avatar-7f4cad54-2ea9-4a9f-9625-4a95bad36ec5 Bug
Affects Versions: 7.2-milestone-2
Assignee: Unassigned
Components: REST
Created: 13/Nov/24 15:33
Priority: cid:jira-generated-image-static-major-50b7c88b-1b9a-446c-a74d-69af2e0209f5 Major
Reporter: Thomas Mortagne
Description:

While it takes an EntityReference, the default implementation of RestURLGenerator is actually relying on the Java class of the passed object to find the right ParametrizedRestURLGenerator instead of the actually entity type of that reference...

 
 

1 update

 
cid:jira-generated-image-avatar-14d2c234-1ede-4155-8212-ac1b4d9c8d19 Changes by Thomas Mortagne on 13/Nov/24 15:34
 
Description: While it takes an EntityReference, the default implementation of RestURLGenerator is actually relying on the Java class of the passed object to find the right ParametrizedRestURLGenerator instead of the actually actuall entity type of that reference...