Cannot create of save a macro in Umbraco 7.1.4 upgrade
I have an issue when trying to create or save a macro in umbraco 7.1.4.
This umbraco version has been updated from 4.03 (!) to 7.1.4 and still uses the legacy xml schema.
Anybody has an idea what went wrong here?
Server Error in '/' Application.
Value was either too large or too small for an Int16.
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.OverflowException: Value was either too large or too small for an Int16.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[OverflowException: Value was either too large or too small for an Int16.]
System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info) +6036596
Umbraco.Core.Persistence.Factories.MacroFactory.BuildDto(IMacro entity) +467
Umbraco.Core.Persistence.Repositories.MacroRepository.PersistUpdatedItem(IMacro entity) +153
Umbraco.Core.Persistence.Repositories.RepositoryBase`2.PersistUpdatedItem(IEntity entity) +251
Umbraco.Core.Persistence.UnitOfWork.PetaPocoUnitOfWork.Commit(Action`1 transactionCompleting) +395
Umbraco.Core.Services.MacroService.Save(IMacro macro, Int32 userId) +222
umbraco.cms.presentation.developer.editMacro.Save_Click(Object sender, EventArgs e) +1320
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +153
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
What steps did you take in the upgrade approach? Not sure I have an idea but perhaps I can provide some pointers worth trying out if you can tell us more about the approach taken.
Cannot create of save a macro in Umbraco 7.1.4 upgrade
I have an issue when trying to create or save a macro in umbraco 7.1.4.
This umbraco version has been updated from 4.03 (!) to 7.1.4 and still uses the legacy xml schema.
Anybody has an idea what went wrong here?
Server Error in '/' Application.
Value was either too large or too small for an Int16.
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.OverflowException: Value was either too large or too small for an Int16.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009
Hi Ralph
Wow, what a huge upgrade :)
What steps did you take in the upgrade approach? Not sure I have an idea but perhaps I can provide some pointers worth trying out if you can tell us more about the approach taken.
/Jan
It's related to this issue: http://issues.umbraco.org/issue/U4-5223
Jeroen
Wow...that's a weird one :) #h5yr for fixing it mate!
Cheers, Jan
is working on a reply...