Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST request not working for fields/groups #38

Open
alexandreelise opened this issue Dec 22, 2021 · 2 comments
Open

POST request not working for fields/groups #38

alexandreelise opened this issue Dec 22, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@alexandreelise
Copy link
Owner

Describe the bug
POST requests on fields/group return a 500 error

To Reproduce
Steps to reproduce the behavior:

  1. Go to your postman collection
  2. Click on send POST request of any fields/groups
  3. Scroll down to response
  4. See 500 error

Expected behavior
field groups created via the Joomla! 4 Web Service POST endpoints with status 200

Screenshots
none

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: Chrome
  • Web Server: Nginx
  • Joomla: 4.0.5
  • Php 8.1.0

Additional context
none

@alexandreelise alexandreelise self-assigned this Dec 22, 2021
@alexandreelise alexandreelise added the bug Something isn't working label Dec 22, 2021
@alexandreelise alexandreelise added this to the v2.0.0-alpha.2 milestone Dec 22, 2021
@MacJoom
Copy link

MacJoom commented May 19, 2023

Hi Alexandre - thank you very much for this collection!
This is actually a bug in Joomla when running php 8.x and should be fixed with this PR in Joomla: joomla/joomla-cms#40610 - you could test this actually :-)

There are other small bugs in the Joomla API - i'm working on them now at the moment. For instance language overrides.

And i'm working on a update of your collection which does has test scripts for updating variables for later use.
Can you tell me how to share my fork - if export i get a json file - you have a file named "index.yaml" - i don't know how to generate this.
Thank you for you work
Martin (Release manager for Joomla 4.4)

@alexandreelise
Copy link
Owner Author

alexandreelise commented May 19, 2023

Hi Martin. @MacJoom Thanks for your kind words. Unfortunately I only work on open source projects like this postman collection on my spare time. what i suggests you to do is to ask on the postman discussion forum community. i think there is a tool they made to convert a postman collection to openapi format (the yaml you saw). Here is the link to the proposed tooling postman team suggests to use for that purpose https://www.postman.com/postman/workspace/postman-open-technologies-convert-postman-collections-into-openapi/overview. I would really like to help you more but that's all i can do for now. Take care and have a delightful day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants