{"action":"opened","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/6674","repository_url":"https://api.github.com/repos/concrete5/concrete5","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/6674/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/6674/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/6674/events","html_url":"https://github.com/concrete5/concrete5/issues/6674","id":325659685,"number":6674,"title":"Upgrade from 8.2.1 to 8.4.0 RC2/RC3 fails","user":{"login":"Ruud-Zuiderlicht","id":18439859,"avatar_url":"https://avatars3.githubusercontent.com/u/18439859?v=4","gravatar_id":"","url":"https://api.github.com/users/Ruud-Zuiderlicht","html_url":"https://github.com/Ruud-Zuiderlicht","followers_url":"https://api.github.com/users/Ruud-Zuiderlicht/followers","following_url":"https://api.github.com/users/Ruud-Zuiderlicht/following{/other_user}","gists_url":"https://api.github.com/users/Ruud-Zuiderlicht/gists{/gist_id}","starred_url":"https://api.github.com/users/Ruud-Zuiderlicht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ruud-Zuiderlicht/subscriptions","organizations_url":"https://api.github.com/users/Ruud-Zuiderlicht/orgs","repos_url":"https://api.github.com/users/Ruud-Zuiderlicht/repos","events_url":"https://api.github.com/users/Ruud-Zuiderlicht/events{/privacy}","received_events_url":"https://api.github.com/users/Ruud-Zuiderlicht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T11:16:21Z","updated_at":"2018-05-23T11:16:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When upgrading a vanilla install of 8.2.1 to 8.4.0 RC2 (and also tested in 8.4.0 RC3) the upgrade runs into an error in Migration `Version20170804000000.php`. The error reads that column `t0.ftLimitedToFileSets` does not exist. The property was recently introduced in https://github.com/concrete5/concrete5/commit/1f1fc1266274f4479a2ea7edb97b37cb7124393b#diff-c57dc09a2a2d3a33c61fba505f643c03R112.\r\n\r\nThis is the exact error message I got plus stack trace for RC3:\r\n```\r\nAn exception occurred while executing 'SELECT t0.ftTypeID AS ftTypeID_1, t0.ftTypeHandle AS ftTypeHandle_2, t0.ftTypeName AS ftTypeName_3, t0.ftTypeWidth AS ftTypeWidth_4, t0.ftTypeHeight AS ftTypeHeight_5, t0.ftTypeIsRequired AS ftTypeIsRequired_6, t0.ftTypeSizingMode AS ftTypeSizingMode_7, t0.ftLimitedToFileSets AS ftLimitedToFileSets_8 FROM FileImageThumbnailTypes t0 WHERE t0.ftTypeHandle = ? LIMIT 1' with params [\"file_manager_detail\"]:\r\n\r\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.ftLimitedToFileSets' in 'field list'\r\n\r\nFile:\r\n/var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:71\r\n\r\nTrace:\r\n#0 /var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine/DBAL/Driver/AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine/DBAL/Driver/PDOException))\r\n#1 /var/www/concrete/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(855): Doctrine/DBAL/DBALException::driverExceptionDuringQuery(Object(Concrete/Core/Database/Driver/PDOMySqlConcrete5/Driver), Object(Doctrine/DBAL/Driver/PDOException), 'SELECT t0.ftTyp...', Array)\r\n#2 /var/www/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(712): Doctrine/DBAL/Connection->executeQuery('SELECT t0.ftTyp...', Array, Array)\r\n#3 /var/www/concrete/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(196): Doctrine/ORM/Persisters/Entity/BasicEntityPersister->load(Array, NULL, NULL, Array, NULL, 1, NULL)\r\n#4 /var/www/concrete/src/File/Image/Thumbnail/Type/Type.php(143): Doctrine/ORM/EntityRepository->findOneBy(Array)\r\n#5 /var/www/concrete/src/Updater/Migrations/Migrations/Version20170804000000.php(18): Concrete/Core/File/Image/Thumbnail/Type/Type::getByHandle('file_manager_de...')\r\n#6 /var/www/concrete/src/Updater/Migrations/AbstractMigration.php(81): Concrete/Core/Updater/Migrations/Migrations/Version20170804000000->upgradeDatabase()\r\n#7 /var/www/concrete/vendor/doctrine/migrations/lib/Doctrine/DBAL/Migrations/Version.php(297): Concrete/Core/Updater/Migrations/AbstractMigration->postUp(Object(ProxyManagerGeneratedProxy/__PM__/Doctrine/DBAL/Schema/Schema/Generated2e01a7af5663aaa6f05dbe19bed007fa))\r\n#8 /var/www/concrete/src/Updater/Update.php(225): Doctrine/DBAL/Migrations/Version->execute('up')\r\n#9 /var/www/concrete/src/Console/Command/UpdateCommand.php(92): Concrete/Core/Updater/Update::updateToCurrentVersion(Object(Concrete/Core/Updater/Migrations/Configuration))\r\n#10 /var/www/concrete/src/System/Mutex/FileLockMutex.php(95): Concrete/Core/Console/Command/UpdateCommand->Concrete/Core/Console/Command/{closure}()\r\n#11 /var/www/concrete/src/Console/Command/UpdateCommand.php(93): Concrete/Core/System/Mutex/FileLockMutex->execute('core_system_upg...', Object(Closure))\r\n#12 /var/www/concrete/vendor/symfony/console/Command/Command.php(252): Concrete/Core/Console/Command/UpdateCommand->execute(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))\r\n#13 /var/www/concrete/src/Console/Command.php(57): Symfony/Component/Console/Command/Command->run(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))\r\n#14 /var/www/concrete/vendor/symfony/console/Application.php(946): Concrete/Core/Console/Command->run(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))\r\n#15 /var/www/concrete/vendor/symfony/console/Application.php(248): Symfony/Component/Console/Application->doRunCommand(Object(Concrete/Core/Console/Command/UpdateCommand), Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))\r\n#16 /var/www/concrete/vendor/symfony/console/Application.php(148): Symfony/Component/Console/Application->doRun(Object(Symfony/Component/Console/Input/ArgvInput), Object(Symfony/Component/Console/Output/ConsoleOutput))\r\n#17 /var/www/concrete/src/Foundation/Runtime/Run/CLIRunner.php(63): Symfony/Component/Console/Application->run(Object(Symfony/Component/Console/Input/ArgvInput))\r\n#18 /var/www/concrete/src/Foundation/Runtime/DefaultRuntime.php(102): Concrete/Core/Foundation/Runtime/Run/CLIRunner->run()\r\n#19 /var/www/concrete/dispatcher.php(36): Concrete/Core/Foundation/Runtime/DefaultRuntime->run()\r\n#20 /var/www/concrete/bin/concrete5(85): require('/var/www/co...')\r\n#21 {main}\r\n```"}}
{"actor":{"display_login":"Ruud-Zuiderlicht"}}