Multiple reaction pathways operating in the mechanism of vinylogous Mannich-type reaction activated by a water molecule.