Skip to content

Conversation

@Faakhir30
Copy link
Member

@Faakhir30 Faakhir30 commented Feb 21, 2025

Fixes #1862

Minor bug fix:
Aliases get service was returning 201 status code on get endpoints. Updated status code to 200.

  • Fixed aliases get service status code
  • Updated tests
  • Updated HTTP samples
  • Verified tests locally

📚 Documentation preview 📚: https://plonerestapi--1881.org.readthedocs.build/

Signed-off-by: Faakhir30 <zahidfaakhir@gmail.com>
@mister-roboto
Copy link

@Faakhir30 thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@Faakhir30
Copy link
Member Author

@jenkins-plone-org please run jobs

Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor tweak to the change log to help people searching for 201 Created and wondering when it changed. Otherwise LGTM. Thank you!

Co-authored-by: Steve Piercy <web@stevepiercy.com>
Copy link
Contributor

@stevepiercy stevepiercy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@stevepiercy
Copy link
Contributor

@jenkins-plone-org please run jobs

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davisagli davisagli merged commit a7d1200 into main Feb 22, 2025
24 checks passed
@davisagli davisagli deleted the fix_aliass_status_code branch February 22, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Aliasses get service returns wrong status code

5 participants