fix bad-caching of datetime with tz info at sql generation time
There is a special handling for datetime with tzinfo, where value was stored in
the query cache. The implementation of merge_args was simply overwriting
parameters of the query with those in the query cache, expecting no collision.
To fix this:
* handle replacement of tzinfo in merge_args, not at sql generation time
* add an assertion to ensure we've actually no collision
Closes #6978316
.. _urlpublishing_module:
:mod:`cubicweb.web.views.urlpublishing`
=======================================
.. automodule:: cubicweb.web.views.urlpublishing
.. autoexception:: PathDontMatch
.. autoclass:: URLPublisherComponent
:show-inheritance:
:members:
.. autoclass:: URLPathEvaluator
:show-inheritance:
:members:
.. autoclass:: RawPathEvaluator
:show-inheritance:
:members:
.. autoclass:: EidPathEvaluator
:show-inheritance:
:members:
.. autoclass:: RestPathEvaluator
:show-inheritance:
:members:
.. autoclass:: URLRewriteEvaluator
:show-inheritance:
:members:
.. autoclass:: ActionPathEvaluator
:show-inheritance:
:members: