bin/cubicweb-ctl
author Alexandre Richardson <alexandre.richardson@logilab.fr>
Tue, 07 Jun 2016 10:05:30 +0200
changeset 11273 c655e19cbc35
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
[server,bfss] fix storage migration when Bytes attributes is None (closes #13519541) When a Bytes attributes is None before the BFSS storage migration, the migration crashes. A Bytes attribute can be None, when the attribute is not required and there is no default value. In this case, the attributes should remained None after migration and no file is stored on the disk.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])