Closed chinasqzl closed 6 months ago
Same as CreatePOST:
if ((!string.IsNullOrEmpty(returnUrl)) && (!stayOnSamePage)) { return LocalRedirect(returnUrl); }
var adminRouteValues = (await _contentManager.PopulateAspectAsync<ContentItemMetadata>(contentItem)).AdminRouteValues;
if (!string.IsNullOrEmpty(returnUrl))
{
adminRouteValues.Add("returnUrl", returnUrl);
}
return RedirectToRoute(adminRouteValues);
Can you provide some repro steps and what you would expect to see. It's hard to understand what issue you are describing here.
Inventory management
warehousing entry 、 outbound delivery order
Cannot be changed after publication, nor can administrators @sebastienros
I think the request here is to redirect to the content item list instead of staying on the edit page, when publish is invoked. But I might be wrong :/
Closing due to no reply from the author.
The contents of the ticket, can not be modified after publication, after the publication is successful, I will modify the permissions, and modify the adminRouteValues。
var adminRouteValues = (await _contentManager.PopulateAspectAsync(contentItem)).AdminRouteValues;