documentation-developer
documentation-developer copied to clipboard
IBX-8369: Fix REST LocationList
| Question | Answer |
|---|---|
| JIRA Ticket | IBX-8369 |
| Versions | master, 4.6 |
| Edition | All |
The old definition is the one from the PHP class. The REST output has nothing in common with the PHP class:
- PHP: https://github.com/ibexa/core/blob/main/src/contracts/Repository/Values/Content/LocationList.php
- REST: https://github.com/ibexa/rest/blob/main/src/lib/Server/Output/ValueObjectVisitor/LocationList.php
It's also important to notice that REST LocationList is not a list of https://github.com/ibexa/rest/blob/main/src/lib/Server/Output/ValueObjectVisitor/Location.php
Note: Sample case, if the right syntax is found, similar ones could be fixed (BookmarkList , ContentTypeList, UrlAliasRefList ObjectStateGroupList, …)
Checklist
- [ ] Text renders correctly
- [ ] Text has been checked with vale
- [ ] Description metadata is up to date
- [ ] Redirects cover removed/moved pages
- [ ] Code samples are working
- [ ] PHP code samples have been fixed with PHP CS fixer
- [ ] Added link to this PR in relevant JIRA ticket or code PR