Skip to content

Commit 572b04b

Browse files
committed
Merge 3.4 to 4.0
2 parents c2f21fb + 7f090f6 commit 572b04b

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"pimcore/admin-ui-classic-bundle": "^1.0",
2828
"pimcore/object-merger": "^4.0",
2929
"pimcore/pimcore": "^11.0",
30-
"pimcore/admin-ui-classic-bundle": "^1.0",
3130
"pimcore/search-query-parser": "^1.3",
3231
"pimcore/personalization-bundle": "^1.0",
3332
"symfony/asset": "^6.2",

install/class_source/class_CustomerSegmentGroup_export.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"description": null,
3-
"parentClass": null,
4-
"useTraits": null,
2+
"description": "",
3+
"parentClass": "",
4+
"useTraits": "",
55
"allowInherit": false,
66
"allowVariants": false,
77
"showVariants": false,
@@ -255,4 +255,4 @@
255255
"creationDate": true
256256
}
257257
}
258-
}
258+
}

install/class_source/class_CustomerSegment_export.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"description": null,
2+
"description": "",
33
"parentClass": "\\CustomerManagementFrameworkBundle\\Model\\AbstractCustomerSegment",
44
"implementsInterfaces": null,
55
"listingParentClass": "",
66
"useTraits": "",
77
"listingUseTraits": "",
88
"allowInherit": false,
9-
"allowVariants": null,
9+
"allowVariants": false,
1010
"showVariants": false,
1111
"layoutDefinitions": {
1212
"fieldtype": "panel",
@@ -239,4 +239,4 @@
239239
}
240240
},
241241
"enableGridLocking": false
242-
}
242+
}

install/class_source/class_LinkActivityDefinition_export.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"useTraits": "",
77
"listingUseTraits": "",
88
"allowInherit": true,
9-
"allowVariants": null,
9+
"allowVariants": false,
1010
"showVariants": false,
1111
"generateTypeDeclarations": true,
1212
"layoutDefinitions": {

install/class_source/class_TermSegmentBuilderDefinition_export.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"description": null,
2+
"description": "",
33
"parentClass": "CustomerManagementFrameworkBundle\\Model\\AbstractTermSegmentBuilderDefinition",
4-
"useTraits": null,
4+
"useTraits": "",
55
"allowInherit": false,
66
"allowVariants": false,
77
"showVariants": false,
@@ -164,4 +164,4 @@
164164
"creationDate": true
165165
}
166166
}
167-
}
167+
}

install/class_source/optional/class_Customer_export.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"description": null,
2+
"description": "",
33
"parentClass": "\\CustomerManagementFrameworkBundle\\Model\\AbstractCustomer",
44
"implementsInterfaces": null,
55
"listingParentClass": "",
66
"useTraits": "",
77
"listingUseTraits": "",
88
"allowInherit": false,
9-
"allowVariants": null,
9+
"allowVariants": false,
1010
"showVariants": false,
1111
"layoutDefinitions": {
1212
"fieldtype": "panel",
@@ -1734,4 +1734,4 @@
17341734
}
17351735
},
17361736
"enableGridLocking": false
1737-
}
1737+
}

src/View/Formatter/DefaultViewFormatter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use CustomerManagementFrameworkBundle\Model\CustomerSegmentInterface;
2020
use Pimcore\Model\DataObject\ClassDefinition;
2121
use Pimcore\Model\DataObject\ClassDefinition\Data;
22+
use Pimcore\Security\SecurityHelper;
2223
use Symfony\Contracts\Translation\TranslatorInterface;
2324

2425
class DefaultViewFormatter implements ViewFormatterInterface
@@ -176,7 +177,7 @@ public function getLocale()
176177
*/
177178
protected function formatSegmentValue(CustomerSegmentInterface $segment)
178179
{
179-
return sprintf('<span class="label label-default">%s</span>', $segment->getName());
180+
return sprintf('<span class="label label-default">%s</span>', SecurityHelper::convertHtmlSpecialChars($segment->getName()));
180181
}
181182

182183
protected function getLanguageFromLocale($locale)

0 commit comments

Comments
 (0)