[xwiki-devs] Ideas on preventing problems in the database caused by a bug (e.g. XWIKI-1841)