Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form indexes end up in parent application when CMS is deployed to a sub directory #164

Closed
joel-cass opened this issue Nov 24, 2017 · 2 comments

Comments

@joel-cass
Copy link

joel-cass commented Nov 24, 2017

The Indexes will end up in the incorrect folder when the CMS is deployed to a virtual directory within a parent application. If permissions are not set up, a 500 error occurs on the editor screen.

return new DirectoryInfo(HostingEnvironment.MapPath($"/App_Data/FormEditor/{_contentId}"));

I'm pretty sure this can be solved by changing the line to return new DirectoryInfo(HostingEnvironment.MapPath($"~/App_Data/FormEditor/{_contentId}"));

@kjac
Copy link
Owner

kjac commented Nov 24, 2017

Hey,

I'm sure you're right. I'll have a look at it this weekend.

Thanks for reporting.

@kjac
Copy link
Owner

kjac commented Nov 28, 2017

@joel-cass 1.3.1.0 is out now with a fix for this issue :)

@kjac kjac closed this as completed Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants