I have run into an issue that has me stumped.
There were some API connectivity issues, so per viewtopic.php?f=32&t=1672&p=7294, we updated to SR13 along with the API plugin updates. All good! Everything worked.
As this was a minor update the client had Jiwa LIVE updated directly, so afterward asked for Jiwa TEST to be updated. I took a new copy of the (updated) LIVE database and replaced the TEST database with it.
I have confirmed the TEST API server is running SR13, have locally run Jiwa to recompile the plugins (in case that helps), and have restarted the (self-hosted) API service.
The test API is now responding with:
- Code: Select all
System.MissingMethodException: Method not found: 'System.Collections.Generic.IDictionary`2<System.String,JiwaFinancials.Jiwa.JiwaApplication.Manager> JiwaFinancials.Jiwa.JiwaServiceModel.RESTAPIPlugin.get_JiwaSessionDictionary()'.
at AnglicareRestApiCustomRoutes.JiwaExtensions.GetManager(Service Service)
at AnglicareRestApiCustomRoutes.CustomServices.Post(SalesOrderLinesRequest request)
at lambda_method(Closure , Object , Object )
at ServiceStack.Host.ServiceRunner`1.<ExecuteAsync>d__13.MoveNext()
I dug deeper, and internally was able to expose the offending AnglicareRestApiCustomRoutes plugin code line:
- Code: Select all
public class CustomServices : Service
{
[Authenticate]
public SalesOrderLinesResponse Post(SalesOrderLinesRequest request)
{
var manager = this.GetManager();
AnglicareRestApiCustomRoutes is a custom plugin copied/adapted from the supplied custom API example plugin.
So to restate - LIVE is working fine, but TEST, essentially a copy of LIVE, is not working.
Any help appreciated!
Cheers,
Neil