timkan, on 20 December 2012 - 07:44 AM, said:
test code and find issue,chapter5 page107 first project and issue creation is ok, but second project and more,and issue create will show abnormal,Owner and Requester null.
attachment for your reference.Pls help and thanks a lot.
Keep in mind that the book is building an application, and so are you, along the way.
On page 103, we explicitly assigned users #1 and #2 to the first project using direct SQL. This is in order to have a couple of users assigned to that first project for the purpose of being able to complete the initial issue management feature. It is not until chapter 6, where we get into user management, that we build the feature to allow the "owner" of the project to assign users to their project. So, you will need to continue on with the building of the application (i.e. continue on to chapter 6) in order to get users assigned to projects and then they will be available to be assigned to issues within those projects.
Hope this helps.