{"issue":{"created_at":"2011-11-29T19:06:06Z","state":"closed","updated_at":"2011-11-29T19:06:13Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","login":"importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":6,"body":"Bei der Auswahl des Galeri-Inhaltstyps im Backend wird folgender Fehler geworfen. Die Abfrage \"SELECT pid FROM tl_article WHERE pid='3'\" macht keinen Sinn. Das Ergebnis wird im vorliegenden Fall immer 3 sein.\n\n```\nFatal error: Uncaught exception Exception with message Query error: Subquery returns more than 1 row (SELECT id FROM tl_page WHERE id=(SELECT pid FROM tl_article WHERE pid='3') LIMIT 0,1) thrown in /var/www/web114/html/system/libraries/Database.php on line 642\n\n#0 /var/www/web114/html/system/libraries/Database.php(589): Database_Statement->query()\n#1 /var/www/web114/html/system/modules/backend/dca/tl_content.php(977): Database_Statement->execute('3')\n#2 /var/www/web114/html/system/libraries/Controller.php(2188): tl_content->getGalleryTemplates(Object(DC_Table))\n#3 /var/www/web114/html/system/modules/backend/DataContainer.php(227): Controller->prepareForWidget(Array, 'galleryTpl', '', 'galleryTpl', 'tl_content')\n#4 /var/www/web114/html/system/drivers/DC_Table.php(1639): DataContainer->row()\n#5 /var/www/web114/html/system/modules/backend/Backend.php(212): DC_Table->edit()\n#6 /var/www/web114/html/contao/main.php(101): Backend->getBackendModule('article')\n#7 /var/www/web114/html/contao/main.php(297): Main->run()\n#8 {main}\n```\n\n--- _Originally created by fwolf on June 14th, 2010, at 03:59pm (ID 2136)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2390416,"labels":[{"name":"backend","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/backend"},{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"}],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":2136,"title":"Exception bei Auswahl von Galerie Inhaltstyp","closed_at":"2011-11-29T19:06:13Z","html_url":"https://github.com/contao/import/issues/2136","url":"https://api.github.com/repos/contao/import/issues/2136","milestone":{"created_at":"2011-11-29T15:29:48Z","state":"closed","due_on":null,"closed_issues":111,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","login":"leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"number":25,"description":"Contao 2.9.0 (minor release)","title":"2.9.0","url":"https://api.github.com/repos/contao/import/milestones/25","open_issues":0}},"action":"closed"}