alexhenning / wpi-suite-tng

Rewrite of the WPI Suite project management application
Other
5 stars 3 forks source link

Can't assign users to a requirement #80

Closed alexhenning closed 11 years ago

alexhenning commented 11 years ago

This is necessary to report how many requirements are assigned to a user.

alexhenning commented 11 years ago

Liam is addressing this, but it's really a user story not a bug. So, I'm closing it for now.

jpalnick commented 11 years ago

this is not closed until it is fixed. so what is the status of this?

WillSonOfWilliam commented 11 years ago

I believe all the pieces are here, but I’m missing a link somewhere in the code. The gui is there and the users are retrieved from the database, but then they get displayed in the wrong table. Furthermore the buttons to add/remove users don’t appear to do anything. I think there might be some functionality missing in the table listeners. All the code is on the dev-feature-assignUser branch

William F. Terry IV Robotics Engineering Electrical & Computer Engineering Worcester Polytechnic Institute, 2013

From: Jacob Palnick [mailto:notifications@github.com] Sent: Thursday, April 11, 2013 5:17 PM To: alexhenning/wpi-suite-tng Cc: Terry, William Francis Subject: Re: [wpi-suite-tng] Can't assign users to a requirement (#80)

this is not closed until it is fixed. so what is the status of this?

— Reply to this email directly or view it on GitHubhttps://github.com/alexhenning/wpi-suite-tng/issues/80#issuecomment-16261916.

WillSonOfWilliam commented 11 years ago

Seems to be a problem getting the selected row from the table object; it always returns -1 even when a row is selected. I'm not sure why this is happening or how to fix it.

WillSonOfWilliam commented 11 years ago

ok, i came up with a stop gap solution to the problem. for some reason that i can't understand, the .getSelectedRow() method from JTable doesn't work within the button actionListener, it always returns -1. it works when called from within the AddUserToRequirement class, so right now the button actionListener refers to a global variable that gets updated by the table mouse listener.

WillSonOfWilliam commented 11 years ago

Ok, I'm at a loss. The tables seem to be backwards, the assigned user table displays the users that are not assigned and the unassigned user table displays nothing at the moment. I'll push what I have, but I really have no idea where to go from here.

tmdefreitas commented 11 years ago

Have all of these issues been addressed? It looks like you can assign users to me

WillSonOfWilliam commented 11 years ago

Yes, I thought I committed and pushed a message that said it fixed that issue, but apparently not

William F. Terry IV Robotics Engineering Electrical & Computer Engineering Worcester Polytechnic Institute, 2013

From: Timothy DeFreitas [mailto:notifications@github.com] Sent: Wednesday, April 17, 2013 1:53 PM To: alexhenning/wpi-suite-tng Cc: Terry, William Francis Subject: Re: [wpi-suite-tng] Can't assign users to a requirement (#80)

Have all of these issues been addressed? It looks like you can assign users to me

— Reply to this email directly or view it on GitHubhttps://github.com/alexhenning/wpi-suite-tng/issues/80#issuecomment-16521635.