umb 13.1.1, uSync 13.1.1
I've written a package migration that as part of it's role updates a dataype configuration (blocklist)
However, although this works as expected, adding uSync into the mix causes the update to be reverted as importAtStartup : Settings is in use.
Is it that the notification service isn't present to let uSync know that a dataType has changed?
If so can we manually notify uSync? I do seem to remember there was a savewithevents in days gone past is that something that's missing?
Any pointers so that my migration supports uSync greatfully recieved
simplified code
public class PackageMigration1 : PackageMigrationBase
{
public IglooPackageMigration1(IPackagingService packagingService, .... , IDataTypeService dataTypeService)
{
_dataTypeService = dataTypeService;
}
protected override void Migrate()
{
var contentBlockList = _dataTypeService.GetDataType(new Guid("e52e988a-65e8-45b0-87d7-dfa013357177"));
// update our datatype and save it
_dataTypeService.Save(contentBlockList);
// not generating uSync config file....
}
umb 13.1.1, uSync 13.1.1I've written a package migration that as part of it's role updates a dataype configuration (blocklist)
However, although this works as expected, adding uSync into the mix causes the update to be reverted as
importAtStartup : Settingsis in use.Is it that the notification service isn't present to let uSync know that a dataType has changed?
If so can we manually notify uSync? I do seem to remember there was a
savewitheventsin days gone past is that something that's missing?Any pointers so that my migration supports uSync greatfully recieved
simplified code