debian/cubicweb-server.prerm
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 Apr 2015 21:49:06 +0200
changeset 10385 cb3a48780615
parent 0 b97547f5f1fa
permissions -rw-r--r--
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.

#! /bin/sh -e
 
case "$1" in
    remove)
	if [ -x "/etc/init.d/cubicweb-ctl" ]; then
	    invoke-rc.d cubicweb-ctl stop || true
	fi
    ;;
esac
 
#DEBHELPER#
 
exit 0