Navigation Menu

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

TicketSatisfaction Management with REST API #1412

Closed
ThibaultRL opened this issue Dec 8, 2016 · 1 comment
Closed

TicketSatisfaction Management with REST API #1412

ThibaultRL opened this issue Dec 8, 2016 · 1 comment
Labels

Comments

@ThibaultRL
Copy link

Hello,
There is an issue when trying to get informations about TicketSatisfaction with the API.
Even if rights are correct, the following error is returned :
ERROR_RIGHT_MISSING

I think it's because functions 'canViewItem' and 'canView' are not overwritten in 'TicketSatisfaction' class.
(As a quick and dirty workaround I have overwritten both of them so that they return 'true', and then I can access to the TicketSatisfaction.

The update of these TicketSatisfaction seems to be quite strange too.
The ID provided in the "input" array of the "PUT" request must be the id of the linked ticket and not the reel ID of the TicketSatisfaction. This is because the getIndexName function of the 'TicketSatisfaction' class return 'ticket_id' and not 'id'. I don't know if it is an intened behaviour, but it's not consistent with the rest of the API.

@cedric-anne
Copy link
Member

Hi,

Looks like it has been fixed in #5029. See also #5014.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants