New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep manager-bundle synchronized with core-bundle in 4.4 and 4.5 too #10
Comments
Reproduction:
After the composer operation finished, the Contao Manager will show Version 4.4.21 for Contao Open Source CMS, since the |
Yes, it should. Both |
Fixed in c2a864d. |
Hm, I am not sure if this was the correct solution. People update their Contao version in the Contao Manager by updating just the
it will not update any of the bundles at all, since they are all locked in place. Example in a Contao 4.4.21 installation:
Even if specifically want to update all Contao bundles, it will not update any bundle:
The only way to update a Contao installation now is to run the following command:
Or a full package update with @aschempp may be the Contao Manager needs to be changed, so that whenever the user requests an update of a Contao bundle, it automatically executes
What do you think? |
Forgot the core-bundle and manager-bundle actually... so this works as well:
|
I think the correct command to update Contao is probably:
or:
|
The first command does not update dependencies for some reason:
The second one does however:
|
Currently you simply have to update all bundles by selecting them in the manager. I have a POC of UI improvements for that, but nothing yet implemented. |
Description ----------- With @Toflar we have discovered by accident that if a URL is double-encoded (for some reason, doesn't matter) the Contao's `RouteProvider` will eventually throw an error trying to query a database. ``` URL original: drachenlochmuseum-v%25c3%25a4ttis.html URL decoded: drachenlochmuseum-v%c3%a4ttis.html URL decoded 2nd time: drachenlochmuseum-vättis.html ``` The decoded URL is used in the database query and that fails because the database driver would like to replace wildcards `%c` with parameters that were not provided. Stack trace: ``` Exception: Too few arguments to build the query string #27 vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php(304): replaceWildcards #26 vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php(249): execute #25 vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php(1102): find #24 vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php(973): findBy #23 vendor/contao/core-bundle/src/Framework/Adapter.php(38): __call #22 vendor/contao/core-bundle/src/Routing/RouteProvider.php(493): findPages #21 vendor/contao/core-bundle/src/Routing/RouteProvider.php(88): getRouteCollectionForRequest #20 vendor/contao/core-bundle/src/Routing/LegacyRouteProvider.php(43): getRouteCollectionForRequest #19 vendor/symfony-cmf/routing/src/NestedMatcher/NestedMatcher.php(141): matchRequest #18 vendor/contao/core-bundle/src/Routing/Matcher/LegacyMatcher.php(69): matchRequest #17 vendor/symfony-cmf/routing/src/DynamicRouter.php(271): matchRequest #16 vendor/symfony-cmf/routing/src/ChainRouter.php(188): doMatch #15 vendor/symfony-cmf/routing/src/ChainRouter.php(158): matchRequest #14 vendor/symfony/http-kernel/EventListener/RouterListener.php(115): onKernelRequest #13 vendor/symfony/event-dispatcher/EventDispatcher.php(212): doDispatch #12 vendor/symfony/event-dispatcher/EventDispatcher.php(44): dispatch #11 vendor/symfony/http-kernel/HttpKernel.php(126): handleRaw #10 vendor/symfony/http-kernel/HttpKernel.php(67): handle #9 vendor/symfony/http-kernel/Kernel.php(198): handle #8 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(85): handle #7 vendor/symfony/http-kernel/HttpCache/HttpCache.php(448): forward #6 vendor/symfony/framework-bundle/HttpCache/HttpCache.php(57): forward #5 vendor/symfony/http-kernel/HttpCache/HttpCache.php(420): fetch #4 vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(46): fetch #3 vendor/symfony/http-kernel/HttpCache/HttpCache.php(317): lookup #2 vendor/symfony/http-kernel/HttpCache/HttpCache.php(192): handle #1 vendor/friendsofsymfony/http-cache/src/SymfonyCache/EventDispatchingHttpCache.php(98): handle #0 web/app.php(58): null ``` Commits ------- 8ae2582 Fix a potential error if the URL has percentage in it 8caaf25 Fix unit tests 509f762 Correctly encode the page aliases
Description ----------- This includes most of the features discussed in #3097 (comment) Commits ------- 6a63d40 Added support for canonical link handling to html head bag 8849810 Allow to set canonical url manually bfe8f29 Added support for parameter wildcards c9bde3e Added back end integration e737edf Bye $GLOBALS['TL_NOINDEX_KEYS'] a02c18f Implemented output of rel="canonical" 902d705 Different field order 72b18be Fixed tests b3ba34d Merge branch '4.x' into feature/canonical a9634a5 Update core-bundle/src/Resources/contao/languages/en/tl_page.xlf Co-authored-by: Fritz Michael Gschwantner <fmg@inspiredminds.at> 47b0409 Update core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 Co-authored-by: Fritz Michael Gschwantner <fmg@inspiredminds.at> a58098b Update core-bundle/src/Routing/ResponseContext/HtmlHeadBag/HtmlHeadBag.php Co-authored-by: M. Vondano <m-vo@users.noreply.github.com> 22d8d49 Make sure the custom canonical URI can be retrieved as is 627ab48 Normalize custom URI as well 9122bea Fixed CI e6f6fbd Merge branch '4.x' into feature/canonical 2dd6e97 Merge branch '4.x' into feature/canonical 06ea58a CS 1acca17 Use the request object instead of the Environment class 4ac1409 CS 4eb4a05 Also add the base path e8c7d40 Merge pull request #7 from leofeyer/feature/canonical-without-environment Use the request object instead of the Environment class f595819 Merge branch '4.x' into feature/canonical bdfcb55 Disable the canonical fields instead of adding them dynamically (#9) cd936ea Remove the block around the canonical tag (#10)
…method (see #6833) Description ----------- Fixes #6824 Now that we have merged #6645, we can revert these changes. Commits ------- ea67382 Revert the changes to the `Controller::getParentEntries()` method ef335ed Also check the ptable in the SQL query 7db085f Fix getParentEntries() (see #10) Co-authored-by: ausi <martin@auswoeger.com>
Currently, the
contao/manager-bundle
is not kept in sync with thecontao/core-bundle
in the 4.4 branch. This leads to situations where only thecontao/manager-bundle
is updated while all the othercontao/core-bundles
are not. This leads to some confusion - since the Contao Manager will show that Contao4.4.21
is installed for example (which is actually the version of thecontao/manager-bundle
package) while the Contao backend will show that Contao4.4.20
is installed (wich is actually the version of thecontao/core-bundle
package).Shouldn't the requirement be changed to
in the
4.4
(and4.5
) branch too?The text was updated successfully, but these errors were encountered: