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

Fix application vacancies API #549

Closed
CHTJonas opened this issue Dec 9, 2018 · 2 comments
Closed

Fix application vacancies API #549

CHTJonas opened this issue Dec 9, 2018 · 2 comments
Labels
api This issue or pull request affects the API bug Something isn't working

Comments

@CHTJonas
Copy link
Member

CHTJonas commented Dec 9, 2018

The application vacancies API endpoint at /vacancies/applications.json is 500'ing with exception Undefined property: Acts\CamdramBundle\Entity\Application::$getSociety.

Sentry issues: CAMDRAM-WEB-7Z & CAMDRAM-WEB-80

@CHTJonas CHTJonas added bug Something isn't working api This issue or pull request affects the API labels Dec 9, 2018
@GKFX
Copy link
Member

GKFX commented Dec 9, 2018

The annotation on the class contains the code

object.getSociety.getSlug()

I suspect based on the error message that the lack of brackets after getSociety is the issue.

@CHTJonas
Copy link
Member Author

CHTJonas commented Dec 9, 2018

Good spot! Tested with a live patch on prod and seems to be working following a camdram-console cache:clear --env=prod. Will revert and make a commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api This issue or pull request affects the API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants