﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10448	saveasnew on error will change the title but not URL	whiskybar	nobody	"Enable the ''Save as new'' button in the admin change form by

{{{
class MyModelAdmin(admin.ModelsAdmin)
    save_as = True
    ...

}}}

Then, if an error occurs, i.e. the form does not validate due to unique constraints, or any other custom clean_ methods, the form will appear again with errors and:

1. The screen clearly indicates one is trying to add a new object. There is ''Add'' in the breadcrumbs, ''Add (object)'' in the header, and ''add'' is set in the template context.

2. The URL however points to the old object's change form, i.e. .../object/NNN/ - the object's id.

Now, correcting the above errors and pressing ''Save'' will actually modify the old object and will not create a new one. I think this situation is confusing and one should either see the old object's change form or the URL should change to ..../add/."		closed	contrib.admin	dev		fixed	admin saveasnew		Ready for checkin	1	0	0	0	0	0
