WTTechLabs / taskboard

your on-line tool for task management fun
http://taskboard.cognifide.com
GNU General Public License v3.0
60 stars 16 forks source link

wrong reports while moving cards #29

Open prozz opened 15 years ago

prozz commented 15 years ago

I'm moving the cards between lanes, however BEFORE and AFTER fields in logs shows same value: TIMESTAMP; 20090616103439; USER_ID; 1; USER_NAME; taskboard; ACTION; moveCard; MSG; Moved a 'asdaf' card; OBJECT_ID; 1; OBJECT_NAME; asdaf; BEFORE; 1 @ Todo; AFTER; 1 @ Todo TIMESTAMP; 20090616103448; USER_ID; 1; USER_NAME; taskboard; ACTION; moveCard; MSG; Moved a 'asdaf' card; OBJECT_ID; 1; OBJECT_NAME; asdaf; BEFORE; 1 @ asdfgg; AFTER; 1 @ asdfgg

mleszczynski commented 14 years ago

TIMESTAMP; 20100703204215; USER_ID; 1; USER_NAME; taskboard; ACTION; moveCard; MSG; Moved a 'cccc' card; OBJECT_ID; 3; OBJECT_NAME; cccc; BEFORE; 1 @ Brave new column; AFTER; 1 @ Brave new column

Identified scenarios:

1) Fields BEFORE and AFTER are the same, when card is droped in the very same spot from which it has been picked up.

Action: this should not be logged at all, should not even dispatch anything in the code. Some optimization should be planned.

2) Fields BEFORE and AFTER are the same, when card is moved between columns and dropped into the same row id.

Action: this is obvious error, will try to fix.