You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to the logic that is used to copy the values across, it doesn't take into account the new variations structure so you'll probably end up with a YSOD like:
Server Error in '/' Application.
Variation InvariantNeutral is invalid for property type "content".
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: Variation InvariantNeutral is invalid for property type "content".
Source Error:
Line 248: if (throwIfInvalid)
Line 249: throw new NotSupportedException($"Variation {variation} is invalid for property type \"{Alias}\".");
Line 250: return false;
Line 251: }
Line 252: return true;
Source File: C:\Users\Shannon\Documents\_Projects\Umbraco\Umbraco_8.0\src\Umbraco.Core\Models\PropertyType.cs Line: 250
Stack Trace:
[NotSupportedException: Variation InvariantNeutral is invalid for property type "content".]
Umbraco.Core.Models.PropertyType.ValidateVariation(String culture, String segment, Boolean throwIfInvalid) in C:\Users\Shannon\Documents\_Projects\Umbraco\Umbraco_8.0\src\Umbraco.Core\Models\PropertyType.cs:250
Umbraco.Core.Models.Property.SetValue(Object value, String culture, String segment) in C:\Users\Shannon\Documents\_Projects\Umbraco\Umbraco_8.0\src\Umbraco.Core\Models\Property.cs:274
Umbraco.Core.Models.ContentBase.SetValue(String propertyTypeAlias, Object value, String culture, String segment) in C:\Users\Shannon\Documents\_Projects\Umbraco\Umbraco_8.0\src\Umbraco.Core\Models\ContentBase.cs:273
Umbraco.Web.UI.Umbraco.Dialogs.ChangeDocType.ValidateAndSave_Click(Object sender, EventArgs e) in C:\Users\Shannon\Documents\_Projects\Umbraco\Umbraco_8.0\src\Umbraco.Web.UI\Umbraco\Dialogs\ChangeDocType.aspx.cs:242
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +141
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5445
The text was updated successfully, but these errors were encountered:
Shazwazza
changed the title
Change Doc Type functionality doesn't work
Copy & Change Doc Type functionality doesn't work
Jun 18, 2018
Shazwazza
changed the title
Copy & Change Doc Type functionality doesn't work
Move, Copy & Change Doc Type functionality doesn't work
Jun 18, 2018
This is due to the logic that is used to copy the values across, it doesn't take into account the new variations structure so you'll probably end up with a YSOD like:
The text was updated successfully, but these errors were encountered: