Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi guys I've noticed what seems to be a change in behavior for v7.4.
On earlier versions of Umbraco, creating a template would not overwrite an existing .cshtml of the same name, but would use that existing .cshtml.
However, we've recently moved to 7.4 and now it looks like Umbraco overwrites the .cshtml.
The change is a bit of a pain for workflows where we deploy code (incl .cshtmls) before we make the changes in the backoffice.
Just wondered if anyone else seen this, and any rationale for the change??
thanks Ian
Hi Ian,
I can approve the same behavior on my machine, I'm developing Umbraco as a Service, so it's new way how it works. Maybe it can be fixed.
Agree with you that it's a bit of a pain when you develop views.
Thanks,
Alex
Hi Ian
You should post this on the issue tracker -> http://issues.umbraco.org/
Then theres a chance it will be fixed.
Have a nice day :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Create template overwrites existing cshtml with same name
Hi guys I've noticed what seems to be a change in behavior for v7.4.
On earlier versions of Umbraco, creating a template would not overwrite an existing .cshtml of the same name, but would use that existing .cshtml.
However, we've recently moved to 7.4 and now it looks like Umbraco overwrites the .cshtml.
The change is a bit of a pain for workflows where we deploy code (incl .cshtmls) before we make the changes in the backoffice.
Just wondered if anyone else seen this, and any rationale for the change??
thanks Ian
Hi Ian,
I can approve the same behavior on my machine, I'm developing Umbraco as a Service, so it's new way how it works. Maybe it can be fixed.
Agree with you that it's a bit of a pain when you develop views.
Thanks,
Alex
Hi Ian
You should post this on the issue tracker -> http://issues.umbraco.org/
Then theres a chance it will be fixed.
Have a nice day :)
is working on a reply...