Skip to content

Commit ffdb06c

Browse files
committed
1295: Exclude 'ARRAY' property type from the property list because it breaks entity generator
Added a conditional check to skip the 'ARRAY' property type when populating the property list. This ensures that unwanted types are filtered out, improving functionality and data accuracy.
1 parent 5183af0 commit ffdb06c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/main/java/com/magento/idea/magento2plugin/magento/packages/PropertiesTypes.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ public static List<String> getPropertyTypesList() {
8181
final List<String> propertyList = new LinkedList<>();
8282

8383
for (final PropertiesTypes property : PropertiesTypes.values()) {
84-
propertyList.add(property.getPropertyType());
84+
if (!property.getPropertyType().equals(ARRAY.getPropertyType())) {
85+
propertyList.add(property.getPropertyType());
86+
}
8587
}
8688

8789
return propertyList;

0 commit comments

Comments
 (0)