我們的Orckestra C1 5.6一直在使用MVCFunctions的實現工作。將測試站點升級到V6.0後,我們注意到MVC功能似乎沒有相同的工作。Orckestra C1從V5.6升級到V6.0已破解MVCFunctions
一個示例是處理頁面中的表單呈現並回發的MVCFunction。當我執行查看源時,由渲染產生的操作URL非常不同,並且回發失敗。
原始MVC鑑於
@using (Html.BeginForm("Login", "Secure", new {ReturnUrl = ViewBag.ReturnUrl}, FormMethod.Post, new { @class = "form-horizontal"}))
V5.6輸出
<form id="loginForm" action="mydomain.com/Login" class="form-horizontal" method="post" novalidate="novalidate">
V6.0輸出
<form id="loginForm" action="mydomain.com/Composite/api/Router?action=Login&controller=Secure" class="form-horizontal" method="post" novalidate="novalidate">
當在做V6形式後它只會導致空白頁。你能想到爲什麼動作URL被擴展爲包含「/ Composite/api/Router」作爲路徑的一部分嗎?
UPDATE:問題是固定由Orckestra隊 https://github.com/Orckestra/C1-CMS-Foundation/issues/403
記住更新的信息這個問題有關GitHub上您所創建的問題,然後關閉了這個問題。 –