This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-d4b57a25-ce00-40b0-ab94-5f483a88a0c6 XWIKI-22639 Open

WikiPages REST endpoint always query main wiki in path based instances

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cf75d0c5-9c51-483f-a4af-71d53a3cb29a Simon Urli created this issue on 07/Nov/24 09:31
 
Summary: WikiPages REST endpoint always query main wiki in path based instances
Issue Type: cid:jira-generated-image-avatar-d4b57a25-ce00-40b0-ab94-5f483a88a0c6 Bug
Affects Versions: 15.10.13
Assignee: Unassigned
Components: REST
Created: 07/Nov/24 09:31
Priority: cid:jira-generated-image-static-major-04c8a1c8-5823-45e2-af85-823d6ad06e7f Major
Reporter: Simon Urli
Description:

Reproduction steps:

Expected result:

  • The answer should contain Foo:Bar.WebHome

Obtained result:

  • The answer is empty or it contains result coming from main wiki if a page containing "Bar" in its name exists there
 
 

2 updates

 
cid:jira-generated-image-avatar-cf75d0c5-9c51-483f-a4af-71d53a3cb29a Changes by Simon Urli on 07/Nov/24 09:32
 
Description: Reproduction steps:
  - Create a subwiki named "Foo"
  - Create a page "Bar" in the "Foo": Foo:Bar.WebHome
  - Access the endpoint http://localhost:8080/xwiki/rest/wikis/Foo/pages?name=Bar

Expected result:
  - The answer should contain Foo:Bar.WebHome

Obtained result:
  - The answer is empty or it contains result coming from main wiki if a page containing "Bar" in its name exists there


Note that this bug only impact path-based instances: domain-based instances are not impacted, e.g. you cannot reproduce the bug in extensions.xwiki.org.
Assignee: Simon Urli