.. -*- coding: utf-8 -*-
Version 3.22.4
--------------
:publication date: 2016/07/22
:expected date: n/a
Ticket #14214794 crash during CSS cache generation under windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:type: bug
:state: validation pending
because of different behaviour of os.rename (doesn't overwrite existing file if
any but raise an error)
Ticket #11298794 gen-static-datadir file permission issues
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:type: bug
:load: 1.000
:state: validation pending
When gen-static-datadir is run on upgrades, we end up with:
- files in /var/lib/cubicweb/instances/$instance/data/ that are not world
readable - root-owned files/directories in
/var/lib/cubicweb/instances/$instance/uicache
These need manual cleanup so the web server can serve static files, and so an
unprivileged user can write its own stuff to the uicache directory when the
instance is running.
Ticket #11217958 session data handling (in web/views/autoform.py at least) is not friendly with redis
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:type: bug
:state: validation pending
by doing things like (web/views/autoform.py +487)::
pendings = req.session.data.setdefault(key, set()) pendings.add( (int(eidfrom),
rel, int(eidto)) )
cw do modify a value inside the dictionnary holding session data, but when one
uses pyramid-redis-session (for example) to store session data, these
modifications of the values are not detected, thus not stored in the redis
backend.
This is why for example the generic relation edition form is broken when using
pyramid-redis-session.
We should fix this by never store a mutable type as session's data values (and
we shoud only store json-serializable types).