Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ralph van Vugt 57 posts 101 karma points
    Jun 24, 2014 @ 10:03
    Ralph van Vugt
    0

    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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jun 25, 2014 @ 13:29
    Jan Skovgaard
    0

    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

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Jul 15, 2014 @ 15:15
    Jeroen Breuer
    1

    It's related to this issue: http://issues.umbraco.org/issue/U4-5223

    Jeroen

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jul 16, 2014 @ 12:52
    Jan Skovgaard
    0

    Wow...that's a weird one :) #h5yr for fixing it mate!

    Cheers, Jan

Please Sign in or register to post replies

Write your reply to:

Draft