cubicweb #1381901 apply button in edition view can redirect to wrong url [deprecated]

When editing an entity with a name attribute and a unique constraint (meaning the url /etype/value_of_name will work), if you edit the name attribute and hit Apply, you get redirected to /etype/old_value_of_name?vid=edition which will generally cause an error because no such entity exist.

The Apply button should redirect to a safe url using the eid of the entity.

This bug has probably been there for a long time.

priorityimportant
typebug
appeared in<not specified>
done in3.14.3
load0.000
load left0.000
closed by<not specified>