Breaking criteria types


This page should only be used if the assisted migration script asks you to pass the manual migration code.CMS.update-criteria-type-case

For version 4.9 ofAmetys, we have decided to standardize the syntax of criteria types with the syntax of content type attributes. Type identifiers are therefore changed from uppercase to lowercase.

This has an impact on the rendering of search services when criteria are overloaded. You need to check that the types detected by assisted migration do indeed concern search service criteria. In this case, you need to change the syntax by changing the identifier to lower case

Example:

<xsl:template match="criterion[type='BOOLEAN']" mode="field-input">

becomes

<xsl:template match="criterion[type='boolean']" mode="field-input">
Back to top