Bonjour,
version 5.2.44
Lors de la comparaison de référentiels les patchs sont KO s’ils incluent des objets de type ressource car il manque le bloc res_object dans le patch XML appliqué.
Patch proposé (KO) :
<?xml version="1.0" encoding="UTF-8"?>
<simplicite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.simplicite.fr/base" xsi:schemaLocation="http://www.simplicite.fr/base https://www.simplicite.io/resources/schemas/base.xsd">
<object>
<name>Resource</name>
<action>insert</action>
<data>
<res_type>IMG</res_type>
<res_cached>0</res_cached>
<row_module_id.mdl_name>RenaultAuth</row_module_id.mdl_name>
<res_lang>ANY</res_lang>
<res_file/>
<res_code>OAUTH2_SIGNIN_OKTA</res_code>
<res_image><![CDATA[DATA:OAUTH2_SIGNIN_OKTA.svg:base64:...]]></res_image>
</data>
</object>
</simplicite>
Patch corrigé manuellement (OK) :
<?xml version="1.0" encoding="UTF-8"?>
<simplicite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.simplicite.fr/base" xsi:schemaLocation="http://www.simplicite.fr/base https://www.simplicite.io/resources/schemas/base.xsd">
<object>
<name>Resource</name>
<action>insert</action>
<data>
<res_object>
<object>
<name>Disposition</name>
<data>
<dis_code>default</dis_code>
</data>
</object>
</res_object>
<res_type>IMG</res_type>
<res_cached>0</res_cached>
<row_module_id.mdl_name>RenaultAuth</row_module_id.mdl_name>
<res_lang>ANY</res_lang>
<res_file/>
<res_code>OAUTH2_SIGNIN_OKTA</res_code>
<res_image><![CDATA[DATA:OAUTH2_SIGNIN_OKTA.svg:base64:...]]></res_image>
</data>
</object>
</simplicite>