Page 1 of 1

Strange REST API Extension issue

PostPosted: Mon Jan 18, 2021 4:17 pm
by SBarnes
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?

Re: Strange REST API Extension issue

PostPosted: Mon Jan 25, 2021 8:42 am
by Scott.Pearce
Could be this?

DEV-8440

Re: Strange REST API Extension issue  Topic is solved

PostPosted: Mon Jan 25, 2021 8:54 am
by SBarnes
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.