zendframework/zf2 — pull request #1926 by demiankatz (2012-07-19 19:16:29+00:00)
Title: Make sure AbstractRowGateway allows access to generated primary key...

after calls to save() by synchronizing the data and originalData properties.

Without this patch, there seems to be no way to figure out the ID of the row you have created when you use save() to perform an insert operation. The included unit test demonstrates the problem.