fisky Posted June 3, 2016 Share Posted June 3, 2016 Hi, I wrote a small PHP page back in October last year to allow users to rate their cases. It used the closeRequest API call. Sometime between Feb and March this year, it has suddenly stopped adding the comment into the case. The API call is still closing the call, but the comment is not getting added in, so I know the API call is reaching Hornbill. Could someone confirm is this is a bug, or if the behaviour of the API call has changed? Here is the code I am using to generate the API call. $mc->addParam("requestId", $_POST["callref"]); $mc->addParam("closeText", $comments); $mc->addParam("rating", $_POST["rating"]); $mc->invoke("apps/com.hornbill.servicemanager/Requests", "CloseRequest"); Link to comment Share on other sites More sharing options...
TrevorKillick Posted June 3, 2016 Share Posted June 3, 2016 Hi Nick I will get one of the application Developers to confirm this for you. Kind Regards Trevor Killick Link to comment Share on other sites More sharing options...
Gerry Posted June 3, 2016 Share Posted June 3, 2016 Hi Nick, We should never regress behaviour on an API, this is part of our Continuous Delivery model so not sure why this would have changed. Someone form the service manager app team will look into this and find out whats up and why this appears to have regressed. If it has regressed that could indicate we have a gap in our automated testing so we need to get to the bottom of it. Once we do, if it has regressed we will ensure we restore it back to its previous behaviour. Gerry Link to comment Share on other sites More sharing options...
Guest Chaz Posted June 3, 2016 Share Posted June 3, 2016 Hi Nick, apologies for the inconvenience. While we did our best to cater for the old and new scenarios, we missed one out which meant a new optional parameter we introduced could cause the comment not to posted to a request. I've now amended the API so that it works exactly as before and this fix is available in the live store now. Link to comment Share on other sites More sharing options...
fisky Posted June 6, 2016 Author Share Posted June 6, 2016 Thanks for the quick response guys, applied the update and all is well. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now