#5732 - Improve and fix get_webservice_result
| Identifier | #5732 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Improve and fix get_webservice_result |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Addon | core |
| Description | I am not sure if get_webservice_result is working. Check that it is.
Furthermore, improve on it by passing in the error message as a POST parameter instead of GET. That way, we can allow for longer error messages and better searching for a relevant common error. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
1) The transmitted error message was being html entity encoded, but the server was not decoding the entities. Therefore, for example, anything with an apostrophe would not get matched.
2) On the client end, cache_and_carry returns an array with the first item being a string. We were assuming it was an object (HttpDownloader) which was not the case. So it would always fail.