diff --git a/Dockerfile b/Dockerfile index eae48140..720ca792 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,7 +95,7 @@ RUN a2enmod rewrite # Install composer and yarn dependencies for Part-DB USER www-data RUN composer install -a --no-dev && composer clear-cache -RUN yarn install && yarn build && yarn cache clean && rm -rf node_modules/ +RUN yarn install --network-timeout 600000 && yarn build && yarn cache clean && rm -rf node_modules/ # Use docker env to output logs to stdout ENV APP_ENV=docker diff --git a/src/Form/Type/StructuralEntityType.php b/src/Form/Type/StructuralEntityType.php index 1c84074d..ed537ce5 100644 --- a/src/Form/Type/StructuralEntityType.php +++ b/src/Form/Type/StructuralEntityType.php @@ -119,7 +119,7 @@ class StructuralEntityType extends AbstractType //Must be the same as the separator in the choice_loader, otherwise this will not work! return $element->getFullPath('->'); } - + return $element->getID(); }, //Use the element id as option value and for comparing items 'choice_loader' => function (Options $options) {