Strange REST API Extension issue  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Strange REST API Extension issue

Postby SBarnes » Mon Jan 18, 2021 4:17 pm

Hi Mike,

I am getting very weird occurrence with an extension to REST API plugin, the plugin that I am working with has some embedded references to external libraries, namely a DLL to call a third party api, but the code I am working on and changing is inside the plugin, when I make changes to the plugin and save it and then restart the self hosted service the plugin doesn't load, i actually have to exit out of the user interface and then restart the service to avoid the issue.

Are you aware of anything like this interfering with the API?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Strange REST API Extension issue

Postby Scott.Pearce » Mon Jan 25, 2021 8:42 am

Could be this?

DEV-8440
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 742
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 221

Re: Strange REST API Extension issue  Topic is solved

Postby SBarnes » Mon Jan 25, 2021 8:54 am

Hi Scott

Thanks for the reply but I don't think it's exactly related to that as what I have discovered is that is you remove the embedded reference and comment out the code related to it, any change when it's just a vanilla variety plugin forces a recompile every time without issue.

I would definitely agree that it is probably related to some sort of file locking issue along similar lines when it tries to recompile so I'll try changing the user the service is running under and see what difference that makes.

Again thanks for the help.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175


Return to REST API

Who is online

Users browsing this forum: No registered users and 2 guests