bin/cubicweb-ctl
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 Apr 2015 21:49:06 +0200
changeset 10385 cb3a48780615
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
fix EditController._ordered_formparams method in case some mandatory relation isn't specified If you have an HTML form which doesn't carry information about some mandatory relation (maybe because this relation is set by a hook), you ends up with a KeyError when the form is posted. Using a get instead of subscription protocol fixes the problem. Closes #5481617.

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