From ab0db6543fcdfb819c1b6b39ca10c29a29454d1e Mon Sep 17 00:00:00 2001 From: Philipp Kuhlmay Date: Fri, 5 Apr 2024 23:13:58 +0200 Subject: [PATCH 01/11] WIP load old extensions --- .../components/ReactFlow/CustomModelNode.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Build/Sources/components/ReactFlow/CustomModelNode.jsx b/Build/Sources/components/ReactFlow/CustomModelNode.jsx index 3abfa52e..57f31f9f 100644 --- a/Build/Sources/components/ReactFlow/CustomModelNode.jsx +++ b/Build/Sources/components/ReactFlow/CustomModelNode.jsx @@ -27,9 +27,9 @@ export const CustomModelNode = (props) => { // TODO: create a default property inside an empty js file and set it her. const addEmptyProperty = () => { setProperties([...properties, { - type: '', propertyName: '', - description: '', + propertyType: '', + propertyDescription: '', isRequired: false, isNullable: false, isExcludeField: false, @@ -73,9 +73,9 @@ export const CustomModelNode = (props) => { }]); props.data.properties.push( { - type: '', propertyName: '', - description: '', + propertyType: '', + propertyDescription: '', isRequired: false, isNullable: false, excludeField: false, @@ -460,7 +460,7 @@ export const CustomModelNode = (props) => { props.data.properties.map((property, index) => { return ( @@ -478,9 +478,9 @@ export const CustomModelNode = (props) => { label="Property type" identifier="propertyType" options={propertyTypes} - initialValue={property.type} + initialValue={property.propertyType} onChange={(value) => { - updateProperty(index, "type", value); + updateProperty(index, "propertyType", value); }} /> {property.type === 'Text' &&( { label="Property description" placeholder="Property description" identifier="propertyDescription" - initialValue={property.description} + initialValue={property.propertyDescription} onChange={(value) => { - updateProperty(index, "description", value); + updateProperty(index, "propertyDescription", value); }} /> Date: Mon, 8 Apr 2024 18:18:13 +0200 Subject: [PATCH 02/11] [DOCS] Adds changelog infos for v12 --- Documentation/ChangeLog/12-0-0.rst | 32 ++++++++++++++++++++++++++++++ Documentation/ChangeLog/Index.rst | 10 ++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Documentation/ChangeLog/12-0-0.rst diff --git a/Documentation/ChangeLog/12-0-0.rst b/Documentation/ChangeLog/12-0-0.rst new file mode 100644 index 00000000..527906d4 --- /dev/null +++ b/Documentation/ChangeLog/12-0-0.rst @@ -0,0 +1,32 @@ +.. include:: /Includes.rst.txt +.. _changelog: + +============== +Version 12.0.0 +============== + +Because of some important changes it could be necessary to update your :file:`EXT:my_extension/Configuration/ExtensionBuilder/settings.yaml` file manually. + +Please remove the dashes, as they could cause some problems while saving the extension. + +.. code-block:: yaml + :caption: EXT:my_extension/Configuration/ExtensionBuilder/settings.yaml + :emphasize-lines: 8 + + # + # Extension Builder settings for extension my_extension + # generated 2024-01-01 12:00:00 + # + # See http://www.yaml.org/spec/1.2/spec.html + # + + --- + + ############# Overwrite settings ########### + # + # These settings only apply, if the roundtrip feature of the extension builder + # is enabled in the extension manager + +.. note:: + + We haven't implemented an Upgrade wizard for this. This might change in the future. Feel free to open an Pull-Request on `GitHub `__ for this. diff --git a/Documentation/ChangeLog/Index.rst b/Documentation/ChangeLog/Index.rst index 4826614d..c0458db4 100644 --- a/Documentation/ChangeLog/Index.rst +++ b/Documentation/ChangeLog/Index.rst @@ -5,6 +5,16 @@ Change log ========== +Important release notes +======================= + +.. toctree:: + :maxdepth: 1 + :titlesonly: + :glob: + + 12-0-0 + Version 12.0.0 -------------- * [TASK] Rework the whole JS GUI of this extension From 1391582ba198d9894cb7b8e536e59d83e3d4bd0c Mon Sep 17 00:00:00 2001 From: Philipp Kuhlmay Date: Mon, 8 Apr 2024 18:20:41 +0200 Subject: [PATCH 03/11] fix for old names from v11 or earlier --- .../helper/converter/convertModulesToNodes.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Build/Sources/helper/converter/convertModulesToNodes.js b/Build/Sources/helper/converter/convertModulesToNodes.js index 6330bc4e..8ca46c2c 100644 --- a/Build/Sources/helper/converter/convertModulesToNodes.js +++ b/Build/Sources/helper/converter/convertModulesToNodes.js @@ -58,7 +58,7 @@ function convertModulesToNodes(modules) { y: item.config.position[1] }, data: { - label: item.name, + label: getModelName(item), objectType: "foobar", isAggregateRoot: item.value.objectsettings.aggregateRoot, enableSorting: item.value.objectsettings.sorting, @@ -99,6 +99,18 @@ function convertModulesToNodes(modules) { return result; } +/** + * Workaround for older versions. In version 11 the name was stored inside value.name, not it is stored in name. + */ +function getModelName(item) { + console.log("item"); + console.log(item); + if(item.name == 'New Model Object') { + return item.value.name; + } + return item.name; +} + export default convertModulesToNodes; /* From 71ec231dc9812cc3f003123f4b8a974053c1fb74 Mon Sep 17 00:00:00 2001 From: Philipp Kuhlmay Date: Fri, 5 Apr 2024 23:13:58 +0200 Subject: [PATCH 04/11] WIP load old extensions --- .../components/ReactFlow/CustomModelNode.jsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Build/Sources/components/ReactFlow/CustomModelNode.jsx b/Build/Sources/components/ReactFlow/CustomModelNode.jsx index 3abfa52e..57f31f9f 100644 --- a/Build/Sources/components/ReactFlow/CustomModelNode.jsx +++ b/Build/Sources/components/ReactFlow/CustomModelNode.jsx @@ -27,9 +27,9 @@ export const CustomModelNode = (props) => { // TODO: create a default property inside an empty js file and set it her. const addEmptyProperty = () => { setProperties([...properties, { - type: '', propertyName: '', - description: '', + propertyType: '', + propertyDescription: '', isRequired: false, isNullable: false, isExcludeField: false, @@ -73,9 +73,9 @@ export const CustomModelNode = (props) => { }]); props.data.properties.push( { - type: '', propertyName: '', - description: '', + propertyType: '', + propertyDescription: '', isRequired: false, isNullable: false, excludeField: false, @@ -460,7 +460,7 @@ export const CustomModelNode = (props) => { props.data.properties.map((property, index) => { return ( @@ -478,9 +478,9 @@ export const CustomModelNode = (props) => { label="Property type" identifier="propertyType" options={propertyTypes} - initialValue={property.type} + initialValue={property.propertyType} onChange={(value) => { - updateProperty(index, "type", value); + updateProperty(index, "propertyType", value); }} /> {property.type === 'Text' &&( { label="Property description" placeholder="Property description" identifier="propertyDescription" - initialValue={property.description} + initialValue={property.propertyDescription} onChange={(value) => { - updateProperty(index, "description", value); + updateProperty(index, "propertyDescription", value); }} /> Date: Mon, 8 Apr 2024 18:18:13 +0200 Subject: [PATCH 05/11] [DOCS] Adds changelog infos for v12 --- Documentation/ChangeLog/12-0-0.rst | 32 ++++++++++++++++++++++++++++++ Documentation/ChangeLog/Index.rst | 10 ++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Documentation/ChangeLog/12-0-0.rst diff --git a/Documentation/ChangeLog/12-0-0.rst b/Documentation/ChangeLog/12-0-0.rst new file mode 100644 index 00000000..527906d4 --- /dev/null +++ b/Documentation/ChangeLog/12-0-0.rst @@ -0,0 +1,32 @@ +.. include:: /Includes.rst.txt +.. _changelog: + +============== +Version 12.0.0 +============== + +Because of some important changes it could be necessary to update your :file:`EXT:my_extension/Configuration/ExtensionBuilder/settings.yaml` file manually. + +Please remove the dashes, as they could cause some problems while saving the extension. + +.. code-block:: yaml + :caption: EXT:my_extension/Configuration/ExtensionBuilder/settings.yaml + :emphasize-lines: 8 + + # + # Extension Builder settings for extension my_extension + # generated 2024-01-01 12:00:00 + # + # See http://www.yaml.org/spec/1.2/spec.html + # + + --- + + ############# Overwrite settings ########### + # + # These settings only apply, if the roundtrip feature of the extension builder + # is enabled in the extension manager + +.. note:: + + We haven't implemented an Upgrade wizard for this. This might change in the future. Feel free to open an Pull-Request on `GitHub `__ for this. diff --git a/Documentation/ChangeLog/Index.rst b/Documentation/ChangeLog/Index.rst index 4826614d..c0458db4 100644 --- a/Documentation/ChangeLog/Index.rst +++ b/Documentation/ChangeLog/Index.rst @@ -5,6 +5,16 @@ Change log ========== +Important release notes +======================= + +.. toctree:: + :maxdepth: 1 + :titlesonly: + :glob: + + 12-0-0 + Version 12.0.0 -------------- * [TASK] Rework the whole JS GUI of this extension From 7fe1be31b8984caf6c77678df47be8af0dd90668 Mon Sep 17 00:00:00 2001 From: Philipp Kuhlmay Date: Mon, 8 Apr 2024 18:20:41 +0200 Subject: [PATCH 06/11] fix for old names from v11 or earlier --- .../helper/converter/convertModulesToNodes.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Build/Sources/helper/converter/convertModulesToNodes.js b/Build/Sources/helper/converter/convertModulesToNodes.js index 6330bc4e..8ca46c2c 100644 --- a/Build/Sources/helper/converter/convertModulesToNodes.js +++ b/Build/Sources/helper/converter/convertModulesToNodes.js @@ -58,7 +58,7 @@ function convertModulesToNodes(modules) { y: item.config.position[1] }, data: { - label: item.name, + label: getModelName(item), objectType: "foobar", isAggregateRoot: item.value.objectsettings.aggregateRoot, enableSorting: item.value.objectsettings.sorting, @@ -99,6 +99,18 @@ function convertModulesToNodes(modules) { return result; } +/** + * Workaround for older versions. In version 11 the name was stored inside value.name, not it is stored in name. + */ +function getModelName(item) { + console.log("item"); + console.log(item); + if(item.name == 'New Model Object') { + return item.value.name; + } + return item.name; +} + export default convertModulesToNodes; /* From b5dbdaeb383dfd93ce7cc25c71b1b7293f2aacec Mon Sep 17 00:00:00 2001 From: Eric Harrer Date: Mon, 22 Apr 2024 23:52:40 +0200 Subject: [PATCH 07/11] [BUGFIX] Uniform naming of property fields This patch ensures that all fields that can occur within properties are written in the same way. In this way, values are retained when saving and reloading, for example. --- .../components/ActionButtonsComponent.jsx | 14 ++-- .../components/ReactFlow/CustomModelNode.jsx | 84 ++++++++++--------- .../forms/select/SelectComponent.jsx | 2 +- .../forms/textarea/TextareaComponent.jsx | 4 +- Build/Sources/components/jsonstring-v122.json | 2 +- Build/Sources/components/listWirings.json | 8 +- Build/Sources/initialValues/modelProperty.js | 15 ++-- .../ExtensionBuilderConfigurationManager.php | 3 +- Documentation/screenshots.json | 2 +- .../Extbase/Persistence/Classes.phpt | 2 +- .../Partials/Form/BooleanProperty.htmlt | 2 +- .../Partials/Form/ColorPickerProperty.htmlt | 2 +- .../Extbase/Partials/Form/DateProperty.htmlt | 2 +- .../Partials/Form/DateTimeProperty.htmlt | 2 +- .../Extbase/Partials/Form/EmailProperty.htmlt | 2 +- .../Extbase/Partials/Form/FloatProperty.htmlt | 2 +- .../Partials/Form/InputLinkProperty.htmlt | 2 +- .../Partials/Form/IntegerProperty.htmlt | 2 +- .../Partials/Form/NativeDateProperty.htmlt | 2 +- .../Form/NativeDateTimeProperty.htmlt | 2 +- .../Partials/Form/NativeTimeProperty.htmlt | 2 +- .../Extbase/Partials/Form/NoneProperty.htmlt | 2 +- .../Partials/Form/PasswordProperty.htmlt | 2 +- .../Form/Relation_ManyToManyRelation.htmlt | 2 +- .../Form/Relation_ZeroToManyRelation.htmlt | 2 +- .../Form/Relation_ZeroToOneRelation.htmlt | 2 +- .../Partials/Form/RichTextProperty.htmlt | 2 +- .../Partials/Form/SelectProperty.htmlt | 2 +- .../Extbase/Partials/Form/SlugProperty.htmlt | 2 +- .../Partials/Form/StringProperty.htmlt | 2 +- .../Extbase/Partials/Form/TextProperty.htmlt | 2 +- .../Extbase/Partials/Form/TimeProperty.htmlt | 2 +- .../Partials/Form/TimeSecProperty.htmlt | 2 +- .../Extbase/Partials/Property.htmlt | 12 +-- .../Partials/TCA/PropertiesDefinition.phpt | 2 +- .../Partials/TCA/ZeroToManyRelation.phpt | 4 +- .../Private/Backend/Partials/formFields.htmlt | 2 +- .../Private/Partials/formFields.htmlt | 2 +- Resources/Private/Language/locallang.xlf | 2 +- .../test_extension/ExtensionBuilder.json | 10 +-- .../Service/RoundTripServiceTest.php | 4 +- .../Service/ExtensionSchemaBuilderTest.php | 4 +- .../Unit/Service/ObjectSchemaBuilderTest.php | 10 +-- 43 files changed, 118 insertions(+), 116 deletions(-) diff --git a/Build/Sources/components/ActionButtonsComponent.jsx b/Build/Sources/components/ActionButtonsComponent.jsx index 54e82d89..f92b53b1 100644 --- a/Build/Sources/components/ActionButtonsComponent.jsx +++ b/Build/Sources/components/ActionButtonsComponent.jsx @@ -50,13 +50,13 @@ export const ActionButtonsComponent = (props) => { properties.push( { "allowedFileTypes": "", - "propertyDescription": property.description, - "excludeField": property.excludeField, - "propertyIsL10nModeExclude": property.isl10nModeExlude, - "propertyIsNullable": property.isNullable, - "propertyIsRequired": property.isRequired, - "propertyType": property.type, + "propertyDescription": property.propertyDescription, + "propertyIsExcludeField": property.propertyIsExcludeField, + "propertyIsL10nModeExclude": property.propertyIsL10nModeExclude, + "propertyIsNullable": property.propertyIsNullable, + "propertyIsRequired": property.propertyIsRequired, "propertyName": property.propertyName, + "propertyType": property.propertyType, "typeSelect": { "selectboxValues": property.typeSelect?.selectboxValues || "", "renderType": property.typeSelect?.renderType || "selectSingle", @@ -106,7 +106,7 @@ export const ActionButtonsComponent = (props) => { { "foreignRelationClass": relation.foreignRelationClass || "", "lazyLoading": relation.lazyLoading || false, - "propertyIsExcludeField": relation.propertyIsExcludeField || false, + "excludeField": relation.excludeField || false, "relationDescription": relation.relationDescription || "", "relationName": relation.relationName || "", "relationType": relation.relationType || "anyToMany", diff --git a/Build/Sources/components/ReactFlow/CustomModelNode.jsx b/Build/Sources/components/ReactFlow/CustomModelNode.jsx index 57f31f9f..f5500241 100644 --- a/Build/Sources/components/ReactFlow/CustomModelNode.jsx +++ b/Build/Sources/components/ReactFlow/CustomModelNode.jsx @@ -30,14 +30,15 @@ export const CustomModelNode = (props) => { propertyName: '', propertyType: '', propertyDescription: '', - isRequired: false, - isNullable: false, - isExcludeField: false, - isl10nModeExlude: false, + propertyIsRequired: false, + propertyIsNullable: false, + propertyIsExcludeField: false, + propertyIsL10nModeExclude: false, typeSelect: { selectboxValues: "", renderType: "selectSingle", foreignTable: "", + whereClause: "", }, typeText: { enableRichtext: false, @@ -76,14 +77,15 @@ export const CustomModelNode = (props) => { propertyName: '', propertyType: '', propertyDescription: '', - isRequired: false, - isNullable: false, - excludeField: false, - isl10nModeExlude: false, + propertyIsRequired: false, + propertyIsNullable: false, + propertyIsExcludeField: false, + propertyIsL10nModeExclude: false, typeSelect: { selectboxValues: "", renderType: "selectSingle", foreignTable: "", + whereClause: "", }, typeText: { enableRichtext: false, @@ -483,7 +485,7 @@ export const CustomModelNode = (props) => { updateProperty(index, "propertyType", value); }} /> - {property.type === 'Text' &&( { updateProperty(index, "typeText.enableRichtext", value); }} />)} - {(property.type === 'Integer' || property.type === 'Float') &&( + {(property.propertyType === 'Integer' || property.propertyType === 'Float') &&(
{ )}
)} - {(property.type === 'Integer' || property.type === 'Float') && (property.typeNumber?.enableSlider) && + {(property.propertyType === 'Integer' || property.propertyType === 'Float') && (property.typeNumber?.enableSlider) &&
{ }} />
- }{((property.type === 'Integer' || property.type === 'Float') && (property.typeNumber?.enableSlider && property.typeNumber?.setRange)) && + }{((property.propertyType === 'Integer' || property.propertyType === 'Float') && (property.typeNumber?.enableSlider && property.typeNumber?.setRange)) &&
{ />
} - {property.type === 'DateTime' &&( { updateProperty(index, "typeDateTime.formatDateTime", value); }} />)} - {property.type === 'Select' &&( { updateProperty(index, "typeSelect.selectboxValues", value); }} />)} - {property.type === 'Select' &&( { updateProperty(index, "typeSelect.renderType", value); }} />)} - {property.type === 'Select' && { updateProperty(index, "typeSelect.foreignTable", value); }} />} - {property.type === 'Select' && { updateProperty(index, "typeSelect.whereClause", value); }} />} - {property.type === 'Select' && { updateProperty(index, "size", value); }} />} - {property.type === 'Text' && !property.typeText?.enableRichtext && { updateProperty(index, "rows", value); }} />} - {(property.type === 'Select' || property.type === 'File') && (
+ {(property.propertyType === 'Select' || property.propertyType === 'File') && (
{ }} />
)} - {(property.type === 'File') && (
+ {(property.propertyType === 'File') && (
{ }} />
)} - {property.type === 'Boolean' &&( { updateProperty(index, "typeBoolean.renderType", value); }} />)} - {property.type === 'Boolean' && ( { updateProperty(index, "typeBoolean.booleanValues", value); }} />)} - {property.type === 'Password' &&( { updateProperty(index, "typePassword.renderPasswordGenerator", value); }} />) } - {property.type === 'ColorPicker' &&( { onChange={(value) => { updateProperty(index, "typeColor.setValuesColorPicker", value); }} />)} - {(property.type === 'ColorPicker' && property.typeColor?.setValuesColorPicker) &&( { }} /> { - updateProperty(index, "isRequired", value); + updateProperty(index, "propertyIsRequired", value); }} /> { isAdvancedOptionsVisible && ( { - updateProperty(index, "isNullable", value); + updateProperty(index, "propertyIsNullable", value); }} /> )} { isAdvancedOptionsVisible && ( { - updateProperty(index, "excludeField", value); + updateProperty(index, "propertyIsExcludeField", value); }} /> )} { isAdvancedOptionsVisible && ( { - updateProperty(index, "isl10nModeExlude", value); + updateProperty(index, "propertyIsL10nModeExclude", value); }} /> )}
@@ -834,11 +836,11 @@ export const CustomModelNode = (props) => { }} /> { - updateRelation(index, "isExcludeField", value); + updateRelation(index, "excludeField", value); }} /> { - if (validation?.isRequired && value?.trim() === '') { + if (validation?.propertyIsRequired && value?.trim() === '') { setValidationErrors(prevState => ({...prevState, [identifier]: true})); return false; } diff --git a/Build/Sources/components/forms/textarea/TextareaComponent.jsx b/Build/Sources/components/forms/textarea/TextareaComponent.jsx index 94882607..01d42b9c 100644 --- a/Build/Sources/components/forms/textarea/TextareaComponent.jsx +++ b/Build/Sources/components/forms/textarea/TextareaComponent.jsx @@ -24,11 +24,11 @@ const TextareaComponent = ({label = '', placeholder, identifier = '', initialVal return null; // Rückgabewert null, wenn keine Validierung vorhanden ist } - if(!validation?.isRequired) { + if(!validation?.propertyIsRequired) { return true; } - if (validation?.isRequired && value?.trim() === '') { + if (validation?.propertyIsRequired && value?.trim() === '') { setValidationErrors(prevState => ({...prevState, [identifier]: true})); return false; } diff --git a/Build/Sources/components/jsonstring-v122.json b/Build/Sources/components/jsonstring-v122.json index 764a0cd4..8f24b224 100644 --- a/Build/Sources/components/jsonstring-v122.json +++ b/Build/Sources/components/jsonstring-v122.json @@ -1 +1 @@ -{"id":4,"method":"saveWiring","name":"Test","params":{"language":"extbaseModeling","working":"{\"modules\":[{\"config\":{\"position\":[481.10227262733883,2.9610739963837034]},\"name\":\"Foos\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Foos\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":true,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"rel\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"dd71d893-8fa0-49b9-9aef-e230627803e3\"}]}}},{\"config\":{\"position\":[880.6535299657737,298.42529023958286]},\"name\":\"Bar\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Bar\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[]}}}],\"properties\":{\"backendModules\":[],\"description\":\"\",\"emConf\":{\"category\":\"backend\",\"custom_category\":\"\",\"dependsOn\":\"\",\"disableLocalization\":false,\"disableVersioning\":false,\"generateDocumentationTemplate\":false,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"en\",\"state\":\"alpha\",\"targetVersion\":\"12.4.0-12.4.99\",\"version\":\"1.0.0\"},\"extensionKey\":\"test\",\"name\":\"Test\",\"originalExtensionKey\":\"\",\"originalVendorName\":\"\",\"persons\":[],\"plugins\":[],\"vendorName\":\"Test\"},\"wires\":[]}"},"version":"json-rpc-2.0"} +{"id":4,"method":"saveWiring","name":"Test","params":{"language":"extbaseModeling","working":"{\"modules\":[{\"config\":{\"position\":[481.10227262733883,2.9610739963837034]},\"name\":\"Foos\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Foos\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":true,\"excludeField\":true,\"relationDescription\":\"\",\"relationName\":\"rel\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"dd71d893-8fa0-49b9-9aef-e230627803e3\"}]}}},{\"config\":{\"position\":[880.6535299657737,298.42529023958286]},\"name\":\"Bar\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Bar\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[]}}}],\"properties\":{\"backendModules\":[],\"description\":\"\",\"emConf\":{\"category\":\"backend\",\"custom_category\":\"\",\"dependsOn\":\"\",\"disableLocalization\":false,\"disableVersioning\":false,\"generateDocumentationTemplate\":false,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"en\",\"state\":\"alpha\",\"targetVersion\":\"12.4.0-12.4.99\",\"version\":\"1.0.0\"},\"extensionKey\":\"test\",\"name\":\"Test\",\"originalExtensionKey\":\"\",\"originalVendorName\":\"\",\"persons\":[],\"plugins\":[],\"vendorName\":\"Test\"},\"wires\":[]}"},"version":"json-rpc-2.0"} diff --git a/Build/Sources/components/listWirings.json b/Build/Sources/components/listWirings.json index d3187bd2..cd7b57ce 100644 --- a/Build/Sources/components/listWirings.json +++ b/Build/Sources/components/listWirings.json @@ -96,7 +96,7 @@ { "foreignRelationClass": "", "lazyLoading": true, - "propertyIsExcludeField": true, + "excludeField": true, "relationDescription": "", "relationName": "Rel", "relationType": "zeroToOne", @@ -106,7 +106,7 @@ "advancedSettings": { "relationType": "zeroToOne", "renderType": "selectSingle", - "propertyIsExcludeField": true, + "excludeField": true, "lazyLoading": true, "relationDescription": "", "foreignRelationClass": "" @@ -167,7 +167,7 @@ { "name":"demoextensionv11", "storagePath":"/var/www/html/Packages/", - "working":"{\"modules\":[{\"config\":{\"position\":[682,140]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[\"test\",\"foo\",\"bar\"]},\"name\":\"Product\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":true,\"categorizable\":true,\"description\":\"Lorem Ipsum Dolor Sit Amit\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":true,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"titelll\",\"propertyType\":\"String\",\"uid\":\"1357067104948\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"image\",\"propertyType\":\"File\",\"uid\":\"1001056457269\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"pages\",\"propertyType\":\"Integer\",\"uid\":\"1317692161560\"}]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"905857860343\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[370,514]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Author\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":true,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"971676471092\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[]}}},{\"config\":{\"position\":[901,329]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Test\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1533087399859\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"966207119111\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[82,261]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Foo\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"333458384440\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"rasd\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"1336729212119\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}}],\"properties\":{\"backendModules\":[],\"description\":\"Demo Extension from EB v12\",\"emConf\":{\"category\":\"plugin\",\"custom_category\":\"\",\"dependsOn\":\"typo3 => 11.5.0-11.5.99\\n\",\"disableLocalization\":true,\"disableVersioning\":true,\"generateDocumentationTemplate\":false,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"en\",\"state\":\"alpha\",\"targetVersion\":\"11.5.0-11.5.99\",\"version\":\"1.0.0\"},\"extensionKey\":\"demoextensionv11\",\"name\":\"Demo Extension v11\",\"originalExtensionKey\":\"demoextensionv11\",\"originalVendorName\":\"Treupo\",\"persons\":[],\"plugins\":[],\"vendorName\":\"Treupo\"},\"wires\":[{\"src\":{\"moduleId\":0,\"terminal\":\"relationWire_0\",\"uid\":\"905857860343\"},\"tgt\":{\"moduleId\":1,\"terminal\":\"SOURCES\",\"uid\":\"971676471092\"}},{\"src\":{\"moduleId\":2,\"terminal\":\"relationWire_0\",\"uid\":\"966207119111\"},\"tgt\":{\"moduleId\":1,\"terminal\":\"SOURCES\",\"uid\":\"971676471092\"}},{\"src\":{\"moduleId\":3,\"terminal\":\"relationWire_0\",\"uid\":\"1336729212119\"},\"tgt\":{\"moduleId\":0,\"terminal\":\"SOURCES\",\"uid\":\"1173301976935\"}}],\"storagePath\":\"\\/var\\/www\\/html\\/Packages\\/\",\"log\":{\"last_modified\":\"2023-07-25 07:42\",\"extension_builder_version\":\"dev-typo3-12-reactjs\",\"be_user\":\" (1)\"}}" + "working":"{\"modules\":[{\"config\":{\"position\":[682,140]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[\"test\",\"foo\",\"bar\"]},\"name\":\"Product\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":true,\"categorizable\":true,\"description\":\"Lorem Ipsum Dolor Sit Amit\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":true,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"titelll\",\"propertyType\":\"String\",\"uid\":\"1357067104948\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"image\",\"propertyType\":\"File\",\"uid\":\"1001056457269\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsExcludeField\":true,\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"pages\",\"propertyType\":\"Integer\",\"uid\":\"1317692161560\"}]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"excludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"905857860343\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[370,514]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Author\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":true,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"971676471092\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[]}}},{\"config\":{\"position\":[901,329]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Test\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1533087399859\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"966207119111\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[82,261]},\"name\":\"New Model Object\",\"value\":{\"actionGroup\":{\"_default0_index\":false,\"_default1_list\":false,\"_default2_show\":false,\"_default3_new_create\":false,\"_default4_edit_update\":false,\"_default5_delete\":false,\"customActions\":[]},\"name\":\"Foo\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"333458384440\"},\"propertyGroup\":{\"properties\":[]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":false,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"rasd\",\"relationType\":\"zeroToOne\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"1336729212119\",\"advancedSettings\":{\"relationType\":\"zeroToOne\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":false,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}}],\"properties\":{\"backendModules\":[],\"description\":\"Demo Extension from EB v12\",\"emConf\":{\"category\":\"plugin\",\"custom_category\":\"\",\"dependsOn\":\"typo3 => 11.5.0-11.5.99\\n\",\"disableLocalization\":true,\"disableVersioning\":true,\"generateDocumentationTemplate\":false,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"en\",\"state\":\"alpha\",\"targetVersion\":\"11.5.0-11.5.99\",\"version\":\"1.0.0\"},\"extensionKey\":\"demoextensionv11\",\"name\":\"Demo Extension v11\",\"originalExtensionKey\":\"demoextensionv11\",\"originalVendorName\":\"Treupo\",\"persons\":[],\"plugins\":[],\"vendorName\":\"Treupo\"},\"wires\":[{\"src\":{\"moduleId\":0,\"terminal\":\"relationWire_0\",\"uid\":\"905857860343\"},\"tgt\":{\"moduleId\":1,\"terminal\":\"SOURCES\",\"uid\":\"971676471092\"}},{\"src\":{\"moduleId\":2,\"terminal\":\"relationWire_0\",\"uid\":\"966207119111\"},\"tgt\":{\"moduleId\":1,\"terminal\":\"SOURCES\",\"uid\":\"971676471092\"}},{\"src\":{\"moduleId\":3,\"terminal\":\"relationWire_0\",\"uid\":\"1336729212119\"},\"tgt\":{\"moduleId\":0,\"terminal\":\"SOURCES\",\"uid\":\"1173301976935\"}}],\"storagePath\":\"\\/var\\/www\\/html\\/Packages\\/\",\"log\":{\"last_modified\":\"2023-07-25 07:42\",\"extension_builder_version\":\"dev-typo3-12-reactjs\",\"be_user\":\" (1)\"}}" }, { "name":"system_notes", @@ -187,6 +187,6 @@ { "name":"mybooks", "storagePath":"/var/www/html/Packages/", - "working":"{\"modules\":[{\"config\":{\"position\":[140,89]},\"name\":\"Book\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Book\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"title\",\"propertyType\":\"String\",\"uid\":\"2693a021-1401-4bc8-92d8-73f219f8677d\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"description\",\"propertyType\":\"RichText\",\"uid\":\"0d156b90-5639-41f4-8222-b70b25ceb27e\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"pages\",\"propertyType\":\"Integer\",\"uid\":\"55354482-76c6-426b-98f2-3b649ee94896\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"publicationdate\",\"propertyType\":\"Date\",\"uid\":\"f58cde23-1ac2-44c3-9c82-1ef1b5ef24dd\"}]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":true,\"propertyIsExcludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToMany\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"99b32d71-ea80-4db1-85d0-d1bfe844a488\",\"advancedSettings\":{\"relationType\":\"zeroToMany\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":true,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[745,229]},\"name\":\"Publisher\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Publisher\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"name\",\"propertyType\":\"String\",\"uid\":\"ee7205e2-6cf5-4712-9693-8d824fbb2375\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"logo\",\"propertyType\":\"File\",\"uid\":\"f0b99c29-57a2-46a8-993e-e609fd073d6b\"}]},\"relationGroup\":{\"relations\":[]}}},{\"config\":{\"position\":[461,404]},\"name\":\"Author\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Author\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"firstname\",\"propertyType\":\"String\",\"uid\":\"511381c8-9f73-417a-a21c-3a9421d5b331\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"lastname\",\"propertyType\":\"String\",\"uid\":\"82ad470f-1c18-48c8-8c22-ad8872b2b30c\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"city\",\"propertyType\":\"String\",\"uid\":\"de147ff8-925b-480b-b8db-4a6d1d2de249\"}]},\"relationGroup\":{\"relations\":[]}}}],\"properties\":{\"backendModules\":[{\"actions\":{\"controllerActionCombinations\":\"\",\"controllerActionsCachable\":\"Book => list, new, show, create, edit, update, delete\"},\"description\":\"Module for editing the books\",\"key\":\"books\",\"mainModule\":\"web\",\"name\":\"Books\",\"tabLabel\":\"Books\",\"id\":\"0.5633048444289948\"}],\"description\":\"Testextension for testing the extension_builder\",\"emConf\":{\"category\":\"plugin\",\"custom_category\":\"\",\"dependsOn\":\"typo3 => 12.4.0-12.4.99\\nnews => 11.2.0\",\"disableLocalization\":false,\"disableVersioning\":false,\"generateDocumentationTemplate\":true,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"de\",\"state\":\"beta\",\"targetVersion\":\"12.4.0-12.4.99\",\"version\":\"0.0.1\"},\"extensionKey\":\"mybooks\",\"name\":\"MyBooks\",\"originalExtensionKey\":\"mybooks\",\"originalVendorName\":\"Treupo\",\"persons\":[{\"company\":\"Wacon\",\"email\":\"info@treupo.de\",\"name\":\"Philipp Kuhlmay\",\"role\":\"Developer\",\"id\":\"0.41020161805050526\"},{\"company\":\"Cool company\",\"email\":\"info@treupo.de\",\"name\":\"John Doe\",\"role\":\"Developer\",\"id\":\"0.1433716572239263\"}],\"plugins\":[{\"actions\":{\"controllerActionCombinations\":\"\",\"noncacheableActions\":\"\"},\"description\":\"My list of all the books\",\"key\":\"booklist\",\"name\":\"Book list\",\"id\":\"0.19825226043478694\",\"controllerActionsCachable\":\"Book => list, show\",\"controllerActionsNonCachable\":\"Book => new, edit, delete\"}],\"vendorName\":\"Treupo\"},\"wires\":[{\"src\":{\"moduleId\":0,\"terminal\":\"relationWire_0\",\"uid\":\"reactflow__edge-dndnode_0-dndnode_2\"},\"tgt\":{\"moduleId\":2,\"terminal\":\"SOURCES\",\"uid\":\"dndnode_0\"}}],\"storagePath\":\"\\/var\\/www\\/html\\/Packages\\/\",\"log\":{\"last_modified\":\"2023-10-20 02:43\",\"extension_builder_version\":\"dev-typo3-12-reactjs\",\"be_user\":\" (1)\"}}" + "working":"{\"modules\":[{\"config\":{\"position\":[140,89]},\"name\":\"Book\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Book\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"title\",\"propertyType\":\"String\",\"uid\":\"2693a021-1401-4bc8-92d8-73f219f8677d\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"description\",\"propertyType\":\"RichText\",\"uid\":\"0d156b90-5639-41f4-8222-b70b25ceb27e\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"pages\",\"propertyType\":\"Integer\",\"uid\":\"55354482-76c6-426b-98f2-3b649ee94896\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"publicationdate\",\"propertyType\":\"Date\",\"uid\":\"f58cde23-1ac2-44c3-9c82-1ef1b5ef24dd\"}]},\"relationGroup\":{\"relations\":[{\"foreignRelationClass\":\"\",\"lazyLoading\":true,\"excludeField\":true,\"relationDescription\":\"\",\"relationName\":\"author\",\"relationType\":\"zeroToMany\",\"relationWire\":\"[wired]\",\"renderType\":\"selectSingle\",\"uid\":\"99b32d71-ea80-4db1-85d0-d1bfe844a488\",\"advancedSettings\":{\"relationType\":\"zeroToMany\",\"renderType\":\"selectSingle\",\"propertyIsExcludeField\":true,\"lazyLoading\":true,\"relationDescription\":\"\",\"foreignRelationClass\":\"\"}}]}}},{\"config\":{\"position\":[745,229]},\"name\":\"Publisher\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Publisher\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"name\",\"propertyType\":\"String\",\"uid\":\"ee7205e2-6cf5-4712-9693-8d824fbb2375\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"logo\",\"propertyType\":\"File\",\"uid\":\"f0b99c29-57a2-46a8-993e-e609fd073d6b\"}]},\"relationGroup\":{\"relations\":[]}}},{\"config\":{\"position\":[461,404]},\"name\":\"Author\",\"value\":{\"actionGroup\":{\"_default0_index\":true,\"_default1_list\":true,\"_default2_show\":true,\"_default3_new_create\":true,\"_default4_edit_update\":true,\"_default5_delete\":true,\"customActions\":[]},\"name\":\"Author\",\"objectsettings\":{\"addDeletedField\":true,\"addHiddenField\":true,\"addStarttimeEndtimeFields\":true,\"aggregateRoot\":false,\"categorizable\":false,\"description\":\"\",\"mapToTable\":\"\",\"parentClass\":\"\",\"sorting\":false,\"type\":\"Entity\",\"uid\":\"1173301976935\"},\"propertyGroup\":{\"properties\":[{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"firstname\",\"propertyType\":\"String\",\"uid\":\"511381c8-9f73-417a-a21c-3a9421d5b331\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"lastname\",\"propertyType\":\"String\",\"uid\":\"82ad470f-1c18-48c8-8c22-ad8872b2b30c\"},{\"allowedFileTypes\":\"\",\"maxItems\":\"1\",\"propertyDescription\":\"\",\"propertyIsL10nModeExclude\":false,\"propertyIsNullable\":false,\"propertyIsRequired\":false,\"propertyName\":\"city\",\"propertyType\":\"String\",\"uid\":\"de147ff8-925b-480b-b8db-4a6d1d2de249\"}]},\"relationGroup\":{\"relations\":[]}}}],\"properties\":{\"backendModules\":[{\"actions\":{\"controllerActionCombinations\":\"\",\"controllerActionsCachable\":\"Book => list, new, show, create, edit, update, delete\"},\"description\":\"Module for editing the books\",\"key\":\"books\",\"mainModule\":\"web\",\"name\":\"Books\",\"tabLabel\":\"Books\",\"id\":\"0.5633048444289948\"}],\"description\":\"Testextension for testing the extension_builder\",\"emConf\":{\"category\":\"plugin\",\"custom_category\":\"\",\"dependsOn\":\"typo3 => 12.4.0-12.4.99\\nnews => 11.2.0\",\"disableLocalization\":false,\"disableVersioning\":false,\"generateDocumentationTemplate\":true,\"generateEditorConfig\":true,\"generateEmptyGitRepository\":true,\"sourceLanguage\":\"de\",\"state\":\"beta\",\"targetVersion\":\"12.4.0-12.4.99\",\"version\":\"0.0.1\"},\"extensionKey\":\"mybooks\",\"name\":\"MyBooks\",\"originalExtensionKey\":\"mybooks\",\"originalVendorName\":\"Treupo\",\"persons\":[{\"company\":\"Wacon\",\"email\":\"info@treupo.de\",\"name\":\"Philipp Kuhlmay\",\"role\":\"Developer\",\"id\":\"0.41020161805050526\"},{\"company\":\"Cool company\",\"email\":\"info@treupo.de\",\"name\":\"John Doe\",\"role\":\"Developer\",\"id\":\"0.1433716572239263\"}],\"plugins\":[{\"actions\":{\"controllerActionCombinations\":\"\",\"noncacheableActions\":\"\"},\"description\":\"My list of all the books\",\"key\":\"booklist\",\"name\":\"Book list\",\"id\":\"0.19825226043478694\",\"controllerActionsCachable\":\"Book => list, show\",\"controllerActionsNonCachable\":\"Book => new, edit, delete\"}],\"vendorName\":\"Treupo\"},\"wires\":[{\"src\":{\"moduleId\":0,\"terminal\":\"relationWire_0\",\"uid\":\"reactflow__edge-dndnode_0-dndnode_2\"},\"tgt\":{\"moduleId\":2,\"terminal\":\"SOURCES\",\"uid\":\"dndnode_0\"}}],\"storagePath\":\"\\/var\\/www\\/html\\/Packages\\/\",\"log\":{\"last_modified\":\"2023-10-20 02:43\",\"extension_builder_version\":\"dev-typo3-12-reactjs\",\"be_user\":\" (1)\"}}" } ] diff --git a/Build/Sources/initialValues/modelProperty.js b/Build/Sources/initialValues/modelProperty.js index e65dace9..ccd0b99a 100644 --- a/Build/Sources/initialValues/modelProperty.js +++ b/Build/Sources/initialValues/modelProperty.js @@ -1,15 +1,16 @@ const modelProperty = { - name: '', - type: '', - description: '', - isRequired: false, - isNullable: false, - isExcludeField: false, - isl10nModeExlude: false, + propertyName: '', + propertyType: '', + propertyDescription: '', + propertyIsRequired: false, + propertyIsNullable: false, + propertyIsExcludeField: false, + propertyIsL10nModeExclude: false, typeSelect: { selectboxValues: "", renderType: "selectSingle", foreignTable: "", + whereClause: "", }, typeText: { enableRichtext: false, diff --git a/Classes/Configuration/ExtensionBuilderConfigurationManager.php b/Classes/Configuration/ExtensionBuilderConfigurationManager.php index 34dc4495..e82fde66 100644 --- a/Classes/Configuration/ExtensionBuilderConfigurationManager.php +++ b/Classes/Configuration/ExtensionBuilderConfigurationManager.php @@ -277,8 +277,7 @@ protected function mapAdvancedMode(array $jsonConfig, bool $prepareForModeler = $fieldsToMap = [ 'relationType', 'renderType', - 'propertyIsExcludeField', - 'propertyIsExcludeField', + 'excludeField', 'lazyLoading', 'relationDescription', 'foreignRelationClass' diff --git a/Documentation/screenshots.json b/Documentation/screenshots.json index f0dc2f4f..10195c82 100644 --- a/Documentation/screenshots.json +++ b/Documentation/screenshots.json @@ -172,7 +172,7 @@ {"action": "click", "link": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//div[contains(@class,'inputEx-Group-collapseImg')]"}, {"action": "selectOption", "option": "1:n", "select": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//select[@name='relationType']"}, {"action": "fillField", "value": "Assign posts to blog.", "field": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//textarea[@name='relationDescription']"}, - {"action": "uncheckOption", "option": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//input[@name='propertyIsExcludeField']/preceding-sibling::input"}, + {"action": "uncheckOption", "option": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//input[@name='excludeField']/preceding-sibling::input"}, {"action": "checkOption", "option": "//div[text()='Blog']/ancestor::div[contains(@class, \"WireIt-Container\")][1]//div[contains(@class,'relations')]//div[contains(@class,'inputEx-ListField-childContainer')]/div[1]//input[@name='lazyLoading']/preceding-sibling::input"}, {"action": "click", "link": "#modelingLayer"}, {"comment": "Capture only the body of the first relation instead of all relations, since there is no separate DOM element that contains all relations in an expanded state. Change this as soon as there is an appropriate DOM element."}, diff --git a/Resources/Private/CodeTemplates/Extbase/Configuration/Extbase/Persistence/Classes.phpt b/Resources/Private/CodeTemplates/Extbase/Configuration/Extbase/Persistence/Classes.phpt index e7d69525..61e0b52a 100644 --- a/Resources/Private/CodeTemplates/Extbase/Configuration/Extbase/Persistence/Classes.phpt +++ b/Resources/Private/CodeTemplates/Extbase/Configuration/Extbase/Persistence/Classes.phpt @@ -6,7 +6,7 @@ return ['tableName' => '{domainObject.databaseTableName}', 'properties' => [ - '{property.name}' => [ + '{property.propertyName}' => [ 'fieldName' => '{property.fieldName}' ], ] diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/BooleanProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/BooleanProperty.htmlt index 872e4319..89cdc81c 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/BooleanProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/BooleanProperty.htmlt @@ -1 +1 @@ -f:form.checkbox property="{property.name}" id="{property.name}" class="form-check-input" value="1" \ No newline at end of file +f:form.checkbox property="{property.propertyName}" id="{property.propertyName}" class="form-check-input" value="1" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/ColorPickerProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/ColorPickerProperty.htmlt index 79fc56ff..00d682cd 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/ColorPickerProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/ColorPickerProperty.htmlt @@ -1 +1 @@ -f:form.textfield type="color" property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield type="color" property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateProperty.htmlt index 51a23a0c..3425983a 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateTimeProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateTimeProperty.htmlt index 51a23a0c..3425983a 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateTimeProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/DateTimeProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/EmailProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/EmailProperty.htmlt index 5c9a5f27..1ca923d2 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/EmailProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/EmailProperty.htmlt @@ -1 +1 @@ -f:form.textfield type="email" property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield type="email" property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/FloatProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/FloatProperty.htmlt index 1ab69182..4f4465e1 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/FloatProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/FloatProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/InputLinkProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/InputLinkProperty.htmlt index e845fbeb..2f13497e 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/InputLinkProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/InputLinkProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/IntegerProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/IntegerProperty.htmlt index 1ab69182..4f4465e1 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/IntegerProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/IntegerProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateProperty.htmlt index 23e9dca9..623e56b2 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateTimeProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateTimeProperty.htmlt index 23e9dca9..623e56b2 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateTimeProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeDateTimeProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeTimeProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeTimeProperty.htmlt index c55fb1f7..76107d85 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeTimeProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NativeTimeProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NoneProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NoneProperty.htmlt index c999a771..b2d4ac8e 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/NoneProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/NoneProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" readonly="1" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" readonly="1" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/PasswordProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/PasswordProperty.htmlt index 74265cf5..3f5069ca 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/PasswordProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/PasswordProperty.htmlt @@ -1 +1 @@ -f:form.password property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.password property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ManyToManyRelation.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ManyToManyRelation.htmlt index e845fbeb..2f13497e 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ManyToManyRelation.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ManyToManyRelation.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToManyRelation.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToManyRelation.htmlt index e845fbeb..2f13497e 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToManyRelation.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToManyRelation.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToOneRelation.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToOneRelation.htmlt index e845fbeb..2f13497e 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToOneRelation.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/Relation_ZeroToOneRelation.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/RichTextProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/RichTextProperty.htmlt index a6063ce3..f6311fc3 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/RichTextProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/RichTextProperty.htmlt @@ -1 +1 @@ -f:form.textarea property="{property.name}" id="{property.name}" cols="40" rows="15" class="form-control" \ No newline at end of file +f:form.textarea property="{property.propertyName}" id="{property.propertyName}" cols="40" rows="15" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/SelectProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/SelectProperty.htmlt index 4365e587..76b0761c 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/SelectProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/SelectProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" class="form-select" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-select" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/SlugProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/SlugProperty.htmlt index 1ab69182..4f4465e1 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/SlugProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/SlugProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/StringProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/StringProperty.htmlt index 1ab69182..4f4465e1 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/StringProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/StringProperty.htmlt @@ -1 +1 @@ -f:form.textfield property="{property.name}" id="{property.name}" class="form-control" \ No newline at end of file +f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TextProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TextProperty.htmlt index 04526905..029f09dc 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TextProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TextProperty.htmlt @@ -1 +1 @@ -f:form.textarea property="{property.name}" id="{property.name}" class="form-control" cols="40" rows="15" \ No newline at end of file +f:form.textarea property="{property.propertyName}" id="{property.propertyName}" class="form-control" cols="40" rows="15" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeProperty.htmlt index 51a23a0c..3425983a 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeSecProperty.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeSecProperty.htmlt index 51a23a0c..3425983a 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeSecProperty.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Form/TimeSecProperty.htmlt @@ -1 +1 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.name}" id="{property.name}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.name}->f:format.date()" \ No newline at end of file +{namespace k=EBT\ExtensionBuilder\ViewHelpers}f:form.textfield property="{property.propertyName}" id="{property.propertyName}" class="form-control" value="{domainObject.name-> k:format.lowercaseFirst()}.{property.propertyName}->f:format.date()" \ No newline at end of file diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/Property.htmlt b/Resources/Private/CodeTemplates/Extbase/Partials/Property.htmlt index 156ea034..43bd96e7 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/Property.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/Property.htmlt @@ -1,27 +1,27 @@ -{namespace k=EBT\ExtensionBuilder\ViewHelpers}{escaping off} +{namespace k=EBT\ExtensionBuilder\ViewHelpers}{escaping off} - f:for each="{domainObject.name -> k:format.lowercaseFirst()}.{property.name}" as="image" + f:for each="{domainObject.name -> k:format.lowercaseFirst()}.{property.propertyName}" as="image" f:image src="image.originalResource.publicUrl" width="200"/ /f:for - f:image src="{domainObject.name -> k:format.lowercaseFirst()}.{property.name}.originalResource.publicUrl" width="200"/ + f:image src="{domainObject.name -> k:format.lowercaseFirst()}.{property.propertyName}.originalResource.publicUrl" width="200"/ - f:for each="{domainObject.name -> k:format.lowercaseFirst()}.{property.name}" as="file" + f:for each="{domainObject.name -> k:format.lowercaseFirst()}.{property.propertyName}" as="file" file.originalResource.name /f:for - - {domainObject.name -> k:format.lowercaseFirst()}.{property.name}.originalResource.name + + {domainObject.name -> k:format.lowercaseFirst()}.{property.propertyName}.originalResource.name diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/TCA/PropertiesDefinition.phpt b/Resources/Private/CodeTemplates/Extbase/Partials/TCA/PropertiesDefinition.phpt index 257f93b1..560a4160 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/TCA/PropertiesDefinition.phpt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/TCA/PropertiesDefinition.phpt @@ -2,7 +2,7 @@ {escaping off} '{property.fieldName}' => [ - 'exclude' => truefalse, + 'exclude' => truefalse, 'l10n_mode' => 'exclude', 'label' => 'LLL:EXT:{domainObject.extension.extensionKey}/Resources/Private/Language/locallang_db.xlf:{property.labelNamespace}', 'description' => 'LLL:EXT:{domainObject.extension.extensionKey}/Resources/Private/Language/locallang_db.xlf:{property.descriptionNamespace}', diff --git a/Resources/Private/CodeTemplates/Extbase/Partials/TCA/ZeroToManyRelation.phpt b/Resources/Private/CodeTemplates/Extbase/Partials/TCA/ZeroToManyRelation.phpt index 65c7c142..6c4e37af 100644 --- a/Resources/Private/CodeTemplates/Extbase/Partials/TCA/ZeroToManyRelation.phpt +++ b/Resources/Private/CodeTemplates/Extbase/Partials/TCA/ZeroToManyRelation.phpt @@ -1,6 +1,6 @@ - + For files or images - + [ 'type' => 'select', 'renderType' => '{property.renderType}', diff --git a/Resources/Private/CodeTemplates/Extbase/Resources/Private/Backend/Partials/formFields.htmlt b/Resources/Private/CodeTemplates/Extbase/Resources/Private/Backend/Partials/formFields.htmlt index 8aedc84a..d639c0ab 100644 --- a/Resources/Private/CodeTemplates/Extbase/Resources/Private/Backend/Partials/formFields.htmlt +++ b/Resources/Private/CodeTemplates/Extbase/Resources/Private/Backend/Partials/formFields.htmlt @@ -2,7 +2,7 @@ -