﻿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
15831	Migration 1.2.5 to 1.3 breaks Apps	dev66@…	nobody	"We have the impression, that the form save behavior was revamped and works differently now.
 
observed behavior in v1.3:
 
form.save() does not always return the primary key of the object saved to the database table.
why ""not always""?
 
1) f = form(instance=None)
works. form.save() returns an instance object with the correct pk from the database.
 
2) f = form(instance=SomeModelObject())
form.save() returns an instance object but the pk of the instance is None.
however, the instance is correctly saved to the database.
 
Is this behavior intended?
 
TIA
 "	Bug	closed	Forms	1.3	Release blocker	needsinfo	Forms Save		Unreviewed	0	0	0	0	0	0
