Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ffdb06c

Browse files
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

‎src/main/java/com/magento/idea/magento2plugin/magento/packages/PropertiesTypes.java‎

Lines changed: 3 additions & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /