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

Problem: an ACL check in the REST API's digital object create endpoint is malformed #1630

Closed
mcantelon opened this issue Jul 8, 2023 · 0 comments · Fixed by #1631
Closed
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Milestone

Comments

@mcantelon
Copy link
Member

Current Behavior

When attempted to create a digital object via the digital object create REST API endpoint you'll get an error that shows up like this in Nginx's error log which is caused by a malformed ACL check:

[error] 1085519#1085519: *203892 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function QubitAcl() in /usr/share/nginx/atomplugins/arRestApiPlugin/modules/api/actions/physicalobjectsCreateAction.class.php:112

Expected Behavior

The ACL check shouldn't generate an error.

Possible Solution

No response

Context and Notes

No response

Version used

2.8.0 v193

Operating System and version

Ubuntu 20.04

Default installation culture

No response

PHP version

7.4.3

Contact details

No response

@mcantelon mcantelon added the Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result. label Jul 8, 2023
mcantelon added a commit that referenced this issue Jul 8, 2023
Fixed malformed ACL check in REST API's digital object create endpoint.
@anvit anvit added this to the 2.8.0 milestone Jul 10, 2023
@anvit anvit linked a pull request Jul 10, 2023 that will close this issue
mcantelon added a commit that referenced this issue Jul 11, 2023
Fixed malformed ACL check in REST API's digital object create endpoint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: bug A flaw in the code that causes the software to produce an incorrect or unexpected result.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants