GithubHelp home page GithubHelp logo

Syncing Unchecked Shared field checkbox is not performing the movement of data from SharedFields to VersionFields tables about unicorn HOT 10 OPEN

pnittala avatar pnittala commented on July 20, 2024 1
Syncing Unchecked Shared field checkbox is not performing the movement of data from SharedFields to VersionFields tables

from unicorn.

Comments (10)

markgibbons25 avatar markgibbons25 commented on July 20, 2024

I have noticed the same in TDS too, so I have a suspicion that the UI triggers a separate pipeline for this. </shower thoughts>

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 20, 2024

Yes.. This data migration job is indeed started as a background process when you make the template change in the UI. The problem is as old as time itself, more or less, it also happens if you install a package with the same change.

I am unaware of anything we can do from an API level to address this. Is anyone aware if SCS has addressed and fixed this issue? I'll try and ask around.

from unicorn.

pnittala avatar pnittala commented on July 20, 2024

How do others handle this kind of change promotion to upper environments when using unicorn or packages considering there is content already in upper environments? Any suggestions?

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 20, 2024

I just checked; this problem also exists in SCS.

For "developer content" under source control, you generally do a full reserialize when changing field sharing status (shared, versioned, etc). This is because of the yaml format (which SCS and TDS also shares) where field values exist under "shared", "versioned", "unversioned" sections as well.

For templates that your authors use, and items not under direct serialization control, I would either

  1. Introduce an entirely new field and, if necessary, use SPE to script the content across to this new field
  2. Make the field sharing change manually on the target CM (thus triggering the background data migration job)

Or a combination of the above.

from unicorn.

pnittala avatar pnittala commented on July 20, 2024

Thanks a lot for the quick replies on this issue. As this is an issue that happens natively also, I think we can close this issue.

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 20, 2024

Well I don't mind keeping it here for the record. I think we may have another issue logged somewhere like it however.

That said, I'm in communication with someone inside Sitecore to see if a solution can be found. I will say this however, even if we DO find a working solution, I'm not convinced we can get the Dilithium engine to play along with this. But I will set aside some time as soon as I can to re-visit this problem and see if I can come up with some sort of solution.

from unicorn.

pnittala avatar pnittala commented on July 20, 2024

Thanks Mark!! Please let me know here if you do find any solution to this problem.

from unicorn.

markgibbons25 avatar markgibbons25 commented on July 20, 2024

Another nail in the coffin for dilithium 🗡️

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 20, 2024

Another nail in the coffin for dilithium 🗡️

Well it's not Dilithium's fault that Sitecore data has decided to move out of SQL 😂

from unicorn.

cassidydotdk avatar cassidydotdk commented on July 20, 2024

It does beg the question however. What happens if you deploy your templates as protobuf? As in; what happens if you deploy first, and then deploy an updated protobuf file where the field sharing status has changed? I'll bet you right now, the exact same thing...

from unicorn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.