2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
145 stars 39 forks source link

Minor: ApiController in AppCode doesn't have a base path for GetCode(...) #3343

Closed iJungleboy closed 5 months ago

iJungleboy commented 5 months ago

I'm submitting a

[x] bug report => search github for a similar issue before submitting [x] feature request

...about

[x] APIs like REST

Current Behavior / Expected Behavior

Since 17.06 we can create ApiControllers in the AppCode folder and precompile them.

But in that case, the AppCode doesn't know what folder it's based in, so it can't call GetCode(...) to execute other dynamic code - eg. for e-mail templates which are generically injected (see Mobius).

Your environment

iJungleboy commented 5 months ago

Partially implemented, but it seems to have a wider range than expected.

Eg. the WebApi could work, but then Services retrieved in there are still missing the path, etc.

So probably we won't implement this after all...?