-
Notifications
You must be signed in to change notification settings - Fork 238
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
N°5370 - Improve feedback when updating objects via REST without changes #225
base: develop
Are you sure you want to change the base?
N°5370 - Improve feedback when updating objects via REST without changes #225
Conversation
Hello Lars, I'll check this PR on friday, would you update/rebase you branch on develop in the meantime? Thanks |
5695db0
to
8645e6a
Compare
Accepted during technical review. Remaining question for technical / functional teams: Should we add v1.4 of the API for this, if so in which iTop versions. |
Hello Lars, The functional aspect was accepted during today's review. I'm checking if there are other REST/API related bugs that we could pack to this future v1.4 version of the API. Cheers, |
For now iTop doesn't handle multiple versions of it own API meaning that one cannot call API v1.2 on iTop 3.0 for example. We should think to a proper way to handle this better, do you have any proposition? PS: Except for a better handling of tag attributes, there were not many requests on the REST/API enhancements |
@Molkobain there is the |
Yes, what I meant is that I don't feel like adding "if / version_compare()" conditions everywhere in the |
This might be useful to read: |
When updating an object via REST the feedback is always "updated", doesn't matter whether there is a real change.
It might be interesting to give a feedback via rest whether the object has been changed or not, just like it is in the UI.
This PR checks whether an object is modified and set message to "unchanged" if not.