Fix name of definition name object type definition PIP GUI form field
authorMatthias Schmidt <gravatronics@live.com>
Sat, 13 Oct 2018 10:04:32 +0000 (12:04 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 13 Oct 2018 10:04:32 +0000 (12:04 +0200)
See #2545

wcfsetup/install/files/lib/system/package/plugin/ObjectTypeDefinitionPackageInstallationPlugin.class.php

index f085907e7040a1c71edf6c62db2c85586aa0013b..59a9761d95e4cc6668dfbca163de3b87c025530e 100644 (file)
@@ -92,7 +92,8 @@ class ObjectTypeDefinitionPackageInstallationPlugin extends AbstractXMLPackageIn
                $dataContainer = $form->getNodeById('data');
                
                $dataContainer->appendChildren([
-                       TextFormField::create('name')
+                       TextFormField::create('definitionName')
+                               ->objectProperty('name')
                                ->label('wcf.acp.pip.objectTypeDefinition.definitionName')
                                ->description('wcf.acp.pip.objectTypeDefinition.definitionName.description', ['project' => $this->installation->getProject()])
                                ->required()