Yii Framework Forum: Error on Issue - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Error on Issue Create

#1 User is offline   Alexandre Carmo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 147
  • Joined: 22-December 09
  • Location:Brazil - SP

Posted 25 January 2011 - 04:03 PM

Hello friends

I have a problem when I click on Create Issue. On the create form the fields: owner and requester are empty. I review the code and don't found the error. Somebody knows where the error?

See the imagem:
Posted Image
0

#2 User is offline   jefftulsa 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 168
  • Joined: 06-October 08
  • Location:Austin, TX

Posted 27 January 2011 - 12:26 AM

Can you please ensure that you have users associated to this project (from the url in your screenshot it looks like project_id = 8 ) in the following table

tbl_project_user_assignment

i.e. run

select user_id from tbl_project_user_assignment where project_id = 8


Do you get any rows back?
0

#3 User is offline   Alexandre Carmo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 147
  • Joined: 22-December 09
  • Location:Brazil - SP

Posted 13 February 2011 - 01:36 PM

Hello friend.

Sorry for the delay. I had problem with my computer.

You were right, I put this code:
select user_id from tbl_project_user_assignment where project_id = 1

on table tbl_project_user_assignment and don't return any arrow. I put manually this code direct on table:
insert into tbl_project_user_assignment(project_id, user_id)values(1,1);
and after it, the Issue worked right.
But I have a doubt, even I need create to a new project I need put manually on table tbl_project_user_assignment the relation? Or I lost something on the book?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users