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

Wrong Api methods from module builder #32492

Open
benoitpascal opened this issue Dec 30, 2024 · 0 comments
Open

Wrong Api methods from module builder #32492

benoitpascal opened this issue Dec 30, 2024 · 0 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@benoitpascal
Copy link
Contributor

Bug

When creating an Api with module builder, each object has method 'get', 'update'... and this creates a 500 error as a class can not have twice or more times the same method.

Dolibarr Version

21.0.0-beta

Environment PHP

8.2.21

Environment Database

10.6.20-MariaDB

Steps to reproduce the behavior and expected behavior

Generate Api file from module builder

Attached files

No response

@benoitpascal benoitpascal added the Bug This is a bug (something does not work as expected) label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

1 participant