Giter Club home page Giter Club logo

Comments (20)

stefanheimes avatar stefanheimes commented on July 27, 2024

I am working on it.
Sorry for that. It takes a while to find all edge cases.
I hope i have a new version today.

from attribute_tags.

stefanheimes avatar stefanheimes commented on July 27, 2024

Update done!
We have improve the whole part with getData and setData and the valueToWidget and widgetToValue.
This should fix the bugs. Can you please test it. At the moment i have no problem.

Sorry again for this.

from attribute_tags.

kein-nickname avatar kein-nickname commented on July 27, 2024

Hab die Fehlermeldung weiterhin... trotz update!

from attribute_tags.

stefanheimes avatar stefanheimes commented on July 27, 2024

Kannst du mir beschreiben wo ?
Also was genau machst du damit der Fehler auftritt.

from attribute_tags.

kein-nickname avatar kein-nickname commented on July 27, 2024

Ich kann die obere Fehlermeldung dadurch entfernen, dass ich den Filter für Einzel- oder Mehrfachauswahl ausschalte... bzw. darin den Punkt "Nur zugeordnete Tags"

Dann kommt aber:

Recoverable error: Argument 1 passed to MetaModels\Filter\Rules\FilterRuleTags::__construct() must be an instance of MetaModels\Attribute\Tags\Tags, instance of MetaModels\Attribute\Tags\MetaModelTags given, called in /var/www/vhosts/xxx/httpdocs/composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/AbstractTags.php on line 214 and defined in composer/vendor/metamodels/attribute_tags/src/MetaModels/Filter/Rules/FilterRuleTags.php on line 48

#0 composer/vendor/metamodels/attribute_tags/src/MetaModels/Filter/Rules/FilterRuleTags.php(48): __error(4096, 'Argument 1 pass...', '/var/www/vhosts...', 48, Array)
#1 composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/AbstractTags.php(214): MetaModels\Filter\Rules\FilterRuleTags->__construct(Object(MetaModels\Attribute\Tags\MetaModelTags), 'aussenbewirtsch...')
#2 composer/vendor/metamodels/core/src/MetaModels/Filter/Rules/SearchAttribute.php(81): MetaModels\Attribute\Tags\AbstractTags->searchFor('aussenbewirtsch...')
#3 composer/vendor/metamodels/core/src/MetaModels/Filter/Filter.php(114): MetaModels\Filter\Rules\SearchAttribute->getMatchingIds()
#4 composer/vendor/metamodels/core/src/MetaModels/Filter/Rules/Condition/ConditionOr.php(96): MetaModels\Filter\Filter->getMatchingIds()
#5 composer/vendor/metamodels/core/src/MetaModels/Filter/Filter.php(114): MetaModels\Filter\Rules\Condition\ConditionOr->getMatchingIds()
#6 composer/vendor/metamodels/core/src/MetaModels/Filter/Setting/Collection.php(283): MetaModels\Filter\Filter->getMatchingIds()
#7 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/FrontendFilter.php(304): MetaModels\Filter\Setting\Collection->getParameterFilterWidgets(Array, Array, Object(MetaModels\FrontendIntegration\FrontendFilterOptions))
#8 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/FrontendFilter.php(91): MetaModels\FrontendIntegration\FrontendFilter->getFilters()
#9 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/HybridFilterBlock.php(59): MetaModels\FrontendIntegration\FrontendFilter->getMetaModelFrontendFilter(Object(MetaModels\FrontendIntegration\Module\Filter))
#10 system/modules/core/classes/Hybrid.php(228): MetaModels\FrontendIntegration\HybridFilterBlock->compile()
#11 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/MetaModelHybrid.php(88): Contao\Hybrid->generate()
#12 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/HybridFilterBlock.php(48): MetaModels\FrontendIntegration\MetaModelHybrid->generate()
#13 system/modules/core/elements/ContentModule.php(63): MetaModels\FrontendIntegration\HybridFilterBlock->generate()
#14 system/modules/core/library/Contao/Controller.php(468): Contao\ContentModule->generate()
#15 system/modules/core/modules/ModuleArticle.php(196): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'right')
#16 system/modules/core/modules/Module.php(163): Contao\ModuleArticle->compile()
#17 system/modules/core/modules/ModuleArticle.php(59): Contao\Module->generate()
#18 system/modules/core/library/Contao/Controller.php(404): Contao\ModuleArticle->generate(false)
#19 system/modules/core/library/Contao/Controller.php(268): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'right')
#20 system/modules/core/pages/PageRegular.php(138): Contao\Controller::getFrontendModule('0', 'right')
#21 index.php(260): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#22 index.php(444): Index->run()
#23 {main}

from attribute_tags.

reneaye avatar reneaye commented on July 27, 2024

Ich bekomme den Fehler auch noch. Wenn ich z.B. einen SingleSelection Filter hinzufüge, der ein Tags Attribut verwenden soll. Sobald ich die Auswahl Attribute in den Filter Settings auf Tags stelle, kommt die Fehlermeldung. Mit anderen Attributen (z.B. Text Attribut) geht es aber.

from attribute_tags.

stefanheimes avatar stefanheimes commented on July 27, 2024

Kann ich bestätigen, Fehler ist auch soweit gefunden, ich versuche im laufe des Tages die Änderungen zu machen.

from attribute_tags.

tniebergall avatar tniebergall commented on July 27, 2024

Hi,

wenn ich einen Filter vom Typ "Einfache Auswahl" in Kombination mit einem Tag-Attribute nutzen möchte bekomme ich nach der Auswahl des Attributs folgende Meldung.

Fatal error: Uncaught exception Exception with message Too few arguments to build the query string thrown in system/modules/core/library/Contao/Database/Statement.php on line 332
#0 system/modules/core/library/Contao/Database/Statement.php(265): Contao\Database\Statement->replaceWildcards(Array)
#1 composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/MetaModelTags.php(288): Contao\Database\Statement->execute()
#2 composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/MetaModelTags.php(203): MetaModels\Attribute\Tags\MetaModelTags->buildFilterRulesForUsedOnly(Object(MetaModels\Filter\Filter))
#3 composer/vendor/metamodels/core/src/MetaModels/DcGeneral/Events/Table/FilterSetting/PropertyDefaultId.php(56): MetaModels\Attribute\Tags\MetaModelTags->getFilterOptions(NULL, true, Array)
#4 [internal function]: MetaModels\DcGeneral\Events\Table\FilterSetting\PropertyDefaultId::getOptions(Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), 'dc-general.view...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#5 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func('MetaModels\DcGe...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent), 'dc-general.view...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#6 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
#7 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(119): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
#8 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ContaoWidgetManager.php(446): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch('dc-general.view...', Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Event\GetPropertyOptionsEvent))
#9 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ContaoWidgetManager.php(534): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->getOptionsForWidget(Object(ContaoCommunityAlliance\DcGeneral\DataDefinition\Definition\Properties\DefaultProperty), Object(ContaoCommunityAlliance\DcGeneral\Data\DefaultModel))
#10 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ContaoWidgetManager.php(806): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->getWidget('defaultid', Object(ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag))
#11 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/EditMask.php(235): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager->processInput(Object(ContaoCommunityAlliance\DcGeneral\Data\PropertyValueBag))
#12 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/EditMask.php(658): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->processInput(Object(ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ContaoWidgetManager))
#13 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(1304): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\EditMask->execute()
#14 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(790): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->createEditMask(Object(ContaoCommunityAlliance\DcGeneral\Data\DefaultModel), NULL, Object(Closure), Object(Closure))
#15 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->create()
#16 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/BaseView.php(155): call_user_func_array(Array, Array)
#17 [internal function]: ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\BaseView->handleAction(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#18 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
#19 composer/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#20 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Event/EventPropagator.php(119): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#21 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(129): ContaoCommunityAlliance\DcGeneral\Event\EventPropagator->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
#22 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(238): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
#23 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(263): MetaModels\BackendIntegration\Module->runDC()
#24 composer/vendor/metamodels/core/src/MetaModels/BackendIntegration/Module.php(283): MetaModels\BackendIntegration\Module->performNormal()
#25 system/modules/core/classes/Backend.php(415): MetaModels\BackendIntegration\Module->generate()
#26 system/modules/core/controllers/BackendMain.php(135): Contao\Backend->getBackendModule('metamodels')
#27 contao/main.php(22): Contao\BackendMain->run()
#28 {main}

Danke schon mal im Voraus.

from attribute_tags.

ways2web avatar ways2web commented on July 27, 2024

meine Fehlermeldung sieht ähnlich aus, aber nicht gleich

Fatal error: Uncaught exception Exception with message Too few arguments to build the query string thrown in system/modules/core/library/Contao/Database/Statement.php on line 316

#0 system/modules/core/library/Contao/Database/Statement.php(253): Contao\Database\Statement->replaceWildcards(Array)
#1 composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/MetaModelTags.php(288): Contao\Database\Statement->execute()
#2 composer/vendor/metamodels/attribute_tags/src/MetaModels/Attribute/Tags/MetaModelTags.php(203): MetaModels\Attribute\Tags\MetaModelTags->buildFilterRulesForUsedOnly(Object(MetaModels\Filter\Filter))
#3 composer/vendor/metamodels/core/src/MetaModels/Filter/Setting/SimpleLookup.php(82): MetaModels\Attribute\Tags\MetaModelTags->getFilterOptions(Array, true, Array)
#4 composer/vendor/metamodels/core/src/MetaModels/Filter/Setting/SimpleLookup.php(261): MetaModels\Filter\Setting\SimpleLookup->getParameterFilterOptions(Object(MetaModels\Attribute\Tags\MetaModelTags), Array, Array)
#5 composer/vendor/metamodels/core/src/MetaModels/Filter/Setting/Collection.php(296): MetaModels\Filter\Setting\SimpleLookup->getParameterFilterWidgets(Array, Array, Array, Object(MetaModels\FrontendIntegration\FrontendFilterOptions))
#6 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/FrontendFilter.php(304): MetaModels\Filter\Setting\Collection->getParameterFilterWidgets(Array, Array, Object(MetaModels\FrontendIntegration\FrontendFilterOptions))
#7 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/FrontendFilter.php(91): MetaModels\FrontendIntegration\FrontendFilter->getFilters()
#8 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/HybridFilterBlock.php(59): MetaModels\FrontendIntegration\FrontendFilter->getMetaModelFrontendFilter(Object(MetaModels\FrontendIntegration\Content\Filter))
#9 system/modules/core/classes/Hybrid.php(218): MetaModels\FrontendIntegration\HybridFilterBlock->compile()
#10 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/MetaModelHybrid.php(88): Contao\Hybrid->generate()
#11 composer/vendor/metamodels/core/src/MetaModels/FrontendIntegration/HybridFilterBlock.php(48): MetaModels\FrontendIntegration\MetaModelHybrid->generate()
#12 system/modules/core/library/Contao/Controller.php(456): MetaModels\FrontendIntegration\HybridFilterBlock->generate()
#13 system/modules/core/modules/ModuleArticle.php(196): Contao\Controller->getContentElement(Object(Contao\ContentModel), 'main')
#14 system/modules/core/modules/Module.php(148): Contao\ModuleArticle->compile()
#15 system/modules/core/modules/ModuleArticle.php(59): Contao\Module->generate()
#16 system/modules/core/library/Contao/Controller.php(392): Contao\ModuleArticle->generate(false)
#17 system/modules/core/library/Contao/Controller.php(254): Contao\Controller->getArticle(Object(Contao\ArticleModel), false, false, 'main')
#18 system/modules/core/pages/PageRegular.php(138): Contao\Controller->getFrontendModule('0', 'main')
#19 index.php(253): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#20 index.php(437): Index->run()
#21 {main}

from attribute_tags.

andre5tz avatar andre5tz commented on July 27, 2024

Die Fehlermeldung "Fatal error: Uncaught exception Exception with message Too few arguments to build the query string thrown in system/modules/core/library/Contao/Database/Statement.php on line 316" habe ich auch nach dem aktuellen Update über Composer.
Im Frontend und im Backend.

Contao 3.2.16
metapackage metamodels/bundle_all 1.0.1
metamodels/core dev-tng (acd6b4d1) → 2.0.x-dev

from attribute_tags.

ways2web avatar ways2web commented on July 27, 2024

gab jetzt schon ein paar updates.. aber der fehler ist bei mir noch aktuell.. hoffe, ich hab kein spezielles problem?

from attribute_tags.

kein-nickname avatar kein-nickname commented on July 27, 2024

@ways2web Für den Fehler gibt es unter #23 einen Fix #25
hat bei mir funktioniert!

from attribute_tags.

ways2web avatar ways2web commented on July 27, 2024

meine files sehen durch die updates zwar anders aus, aber endlich fnktjoneirt das listing wieder bei mir.
aber das Backend ist dennoch nicht zu gebrauchen... wobei der fehler hier nun woanders liegen mag durch die ganzen updates
Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException with message DataContainer mm_tutorials is not editable thrown in composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/EditMask.php on line 160

from attribute_tags.

discordier avatar discordier commented on July 27, 2024

Dann musst du deinen inputscreen bearbeiten und editierbar machen

from attribute_tags.

ways2web avatar ways2web commented on July 27, 2024

whaat??? :)

from attribute_tags.

discordier avatar discordier commented on July 27, 2024

See https://community.contao.org/de/showthread.php?54512-Fatal-error-beim-Bearbeiten-eines-bestehenden-Datensatzes&p=351860&viewfull=1#post351860

from attribute_tags.

ways2web avatar ways2web commented on July 27, 2024

👍 es werde licht! Danke xtra

from attribute_tags.

MiniModel avatar MiniModel commented on July 27, 2024

This issue has been labeled with "testing" but got no feedback.

We are reliant on feedback to prove a ticket fixed as we can not tell if the ticket has been
resolved if we receive no feedback.
I will close this ticket now, as I assume it has been resolved.
If the ticket should still be valid, please feel free to reopen it.

@kein-nickname could you please have a final look at this and tell if your issue has been resolved?

from attribute_tags.

uagga avatar uagga commented on July 27, 2024

gleiches Problem wie beschrieben.

from attribute_tags.

discordier avatar discordier commented on July 27, 2024

@uagga Welches Problem tritt bei dir wie beschrieben auf? Keine der hier zitierten Code stellen existiert noch in derselben Version wie zum Zeitpunkt als dieses ticket geoeffnet wurde, weiterhin wurden hier 3 verschiedene Problematiken besprochen.

Bitte mache ein neues Ticket auf mit neuem stack trace und genauen Informationen wie das Problem nachzustellen ist.

from attribute_tags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.