Copied to clipboard

Flag this post as spam?

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


  • b.popratnjak 6 posts 95 karma points
    Dec 12, 2018 @ 16:16
    b.popratnjak
    0

    Properties not saved in document type

    Hi all,

    I have a strange issue. I am using Umbraco 7.4.2. Site has been up and running for about 3 years. Site is not hosted on Azure.

    Since about two months back properties are not saved when I add them to document type. I add some textstring property (or MNTP) and it is gone after 15-20 minutes. I can see it while I am logged in Umbraco and it is even saved to database (in 'cmsPropertyData').

    I can also see it when going to Content which uses it. But after 15-20 minutes if I try to view it error comes up and then I have to re-save the document type for the content to work. Site is working with no issues in the meantime on the front end so only backoffice is affected.

    On stage there is a database which uses exact same code as live and everything is working there (database is just over 2 months old).

    There are no errors in Umbraco log and I can't find any error in sql profiler when looking at transactions.

    I don't expect for someone to know what is wrong but a point in the right direction would help me.

  • b.popratnjak 6 posts 95 karma points
    Dec 18, 2018 @ 14:21
    b.popratnjak
    100

    If anyone runs into this again I'll post a solution which I did.

    So we had Chalmers.MediaContentUsage in our data types. And it wasn't correctly deleted or some other bad thing happened to it. When trying to view it it would give an error. And when we tried to delete it (in backoffice), it was coming back and inserting its property UsedInContent which would then give the issue described.

    So removing it with SQL helped. We also deleted App_Data from web app, stopped the site, ran the queries and started the site. The queries:

    delete from cmsPropertyType where id = 743

    delete from cmsPropertyData where propertytypeid = 743

    delete from cmsDataTypePreValues where datatypeNodeId = 12360

    delete from cmsDataType where pk = 103

    Before running them get the id with select queries.

  • nickornotto 403 posts 907 karma points
    Sep 03, 2019 @ 12:06
    nickornotto
    0

    In my case it was uSync not coping. I added new doc type which had the same alias like an old doc type that hasn't been removed from usync data on the live site. And uSync got crazy - kept removing my new doc type and in result - pages or their properties.

    I deleted the old doc type definition from uSync data and this fixed the problem.

Please Sign in or register to post replies

Write your reply to:

Draft