well, things like that are exactly why one hears the "cabin crew: all doors in PARK and cross-check" announcement when arriving at the gate.
Evidently, someone forgot to put it in park and another forgot to cross-check.....
Expensive mistake. Could also be dangerous. That slide deploys with quite some force.