London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
I’ve come across an issue in CMS 7. If I go to
CMS -> Visitor Groups -> Create -> Drag a LandingUrl criteria from within URL Critera and drop it onto the Critera panel
I get the following error:
An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
CS1061: 'System.Web.Mvc.HtmlHelper<EPiServer.Personalization.VisitorGroups.Criteria.StartUrlModel>' does not contain a definition for 'Translate' and no extension method 'Translate' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<EPiServer.Personalization.VisitorGroups.Criteria.StartUrlModel>' could be found (are you missing a using directive or an assembly reference?)
Line 8: </span>
Line 9: <span class="epi-criteria-inlineblock">
Line 10: <%= Html.DojoEditorFor(p => p.Url, new { @class = "episize300" }, Html.Translate("/shell/cms/visitorgroups/criteria/starturl/url"), "epi-criteria-label")%>
Line 11: </span>
Line 12: </div>
/EPiServer/CMS/Views/Shared/EditorTemplates/StartUrlModel.ascx
The LandingURL criteria is built in functionality so is this a bug? Has anyone found a fix or workaround for this? This implication is that I have a missing assembly containing the definition of Html.Translate() but I can replicate the issue on two separate developer machines, a test and, a production environment so that seems doubtful.