[BUG] Approved Colour Picker
lori698 opened this issue · 1 comments
lori698 commented
Approved colour picker
Ive got the following in my usync config files. However when I import my colour picker still gets over ridden.
Using usync uSync 8 v8.8.3.0
Umbraco version 8.11.1
<?xml version="1.0" encoding="utf-8"?>
<uSync>
<BackOffice>
<Folder>~/uSync/v8/</Folder>
<FlatFolders>True</FlatFolders>
<ImportAtStartup>False</ImportAtStartup>
<ExportAtStartup>False</ExportAtStartup>
<ExportOnSave>False</ExportOnSave>
<UseGuidFilenames>False</UseGuidFilenames>
<BatchSave>False</BatchSave>
<!-- calls a rebuild cache when an import completes
(for Umbraco 8.3+ recommended value is false) -->
<RebuildCacheOnCompletion>False</RebuildCacheOnCompletion>
<Exporter>
<HandlerSet>Exporter</HandlerSet>
<!-- control -->
<DisableImport>False</DisableImport>
<!-- ui -->
<DisableExistingMenuItems>True</DisableExistingMenuItems>
<!-- checkbox defaults -->
<IncludeMediaFiles>True</IncludeMediaFiles>
<IncludeTemplates>False</IncludeTemplates>
<IncludeLinkedItems>False</IncludeLinkedItems>
<IncludeDictionaryItems>True</IncludeDictionaryItems>
</Exporter>
<!-- handler sets -->
<HandlerSets default="default" Default="default">
<Handlers Name="default">
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="languageHandler" Enabled="false" Actions="All"/>
<Handler Alias="macroHandler" Enabled="true" Actions="All"/>
<Handler Alias="mediaTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="memberTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="templateHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentHandler" Enabled="false" Actions="All"/>
<Handler Alias="contentTemplateHandler" Enabled="true" Actions="All"/>
<Handler Alias="dictionaryHandler" Enabled="true" Actions="All"/>
<Handler Alias="domainHandler" Enabled="false" Actions="All"/>
<Handler Alias="mediaHandler" Enabled="false" Actions="All"/>
<Handler Alias="memberHandler" Enabled="false"/>
<Handler Alias="memberGroupHandler" Enabled="false"/>
<Handler Alias="userHandler" Enabled="false"/>
<Handler Alias="userGroupHandler" Enabled="false"/>
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
<Add Key="NoConfigEditors" Value="Umbraco.ColorPicker" />
</Handler>
</Handlers>
<Handlers Name="exporter">
<Handler Alias="dataTypeHandler" Enabled="true" />
<Handler Alias="languageHandler" Enabled="true" />
<Handler Alias="macroHandler" Enabled="true" />
<Handler Alias="mediaTypeHandler" Enabled="true" />
<Handler Alias="memberTypeHandler" Enabled="false" />
<Handler Alias="templateHandler" Enabled="false" />
<Handler Alias="contentTypeHandler" Enabled="true" />
<Handler Alias="contentHandler" Enabled="true" />
<Handler Alias="contentTemplateHandler" Enabled="true" />
<Handler Alias="dictionaryHandler" Enabled="true" />
<Handler Alias="domainHandler" Enabled="true" />
<Handler Alias="mediaHandler" Enabled="true" />
<Handler Alias="memberGroupHandler" Enabled="true" />
<Handler Alias="memberHandler" Enabled="true" />
<Handler Alias="publicAccessHandler" Enabled="true" />
<Handler Alias="userGroupHandler" Enabled="true" />
<Handler Alias="userHandler" Enabled="true" />
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
<Add Key="NoConfigEditors" Value="Umbraco.ColorPicker" />
</Handler>
</Handlers>
<Handlers Name="publisher">
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="languageHandler" Enabled="true" Actions="All"/>
<Handler Alias="macroHandler" Enabled="true" Actions="All"/>
<Handler Alias="mediaTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="memberTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="templateHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentTypeHandler" Enabled="true" Actions="All"/>
<!-- publisher only send published content -->
<Handler Alias="publishedContentHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentTemplateHandler" Enabled="true" Actions="All"/>
<Handler Alias="dictionaryHandler" Enabled="true" Actions="All"/>
<Handler Alias="domainHandler" Enabled="true" Actions="All"/>
<Handler Alias="mediaHandler" Enabled="true" Actions="All"/>
<Handler Alias="publicAccessHandler" Enabled="true" Actions="All"/>
<Handler Alias="mediaFileHandler" Enabled="true" Actions="All">
<Add Key="IncludeFileHash" Value="true"/>
</Handler>
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
<Add Key="NoConfigEditors" Value="Umbraco.ColorPicker" />
</Handler>
</Handlers>
</HandlerSets>
<ReportDebug>False</ReportDebug>
<FailOnMissingParent>True</FailOnMissingParent>
<ShowVersionCheckWarning>True</ShowVersionCheckWarning>
</BackOffice>
</uSync>
KevinJump commented
Hi lori,
in youir config the dataTypeHandler is configured twice.
once at the top and once at the bottom, to get the setting to take effect you will need to remove the top entry for dataTypeHandler as it is taking priority.
<Handlers Name="default">
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="languageHandler" Enabled="false" Actions="All"/>
<Handler Alias="macroHandler" Enabled="true" Actions="All"/>
<Handler Alias="mediaTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="memberTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="templateHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentTypeHandler" Enabled="true" Actions="All"/>
<Handler Alias="contentHandler" Enabled="false" Actions="All"/>
<Handler Alias="contentTemplateHandler" Enabled="true" Actions="All"/>
<Handler Alias="dictionaryHandler" Enabled="true" Actions="All"/>
<Handler Alias="domainHandler" Enabled="false" Actions="All"/>
<Handler Alias="mediaHandler" Enabled="false" Actions="All"/>
<Handler Alias="memberHandler" Enabled="false"/>
<Handler Alias="memberGroupHandler" Enabled="false"/>
<Handler Alias="userHandler" Enabled="false"/>
<Handler Alias="userGroupHandler" Enabled="false"/>
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All">
<Add Key="NoConfigEditors" Value="Umbraco.ColorPicker" />
</Handler>
``