Success

User tests: Successful: Unsuccessful:

avatar allenzhao
allenzhao
25 Jul 2014

This should fix #390.
And I found that, modified_date has a default value of 0000-00-00 00:00:00 and not null, the original if clause didn't work as expected.
Now I've tested, it's fine ?

avatar allenzhao allenzhao - open - 25 Jul 2014
avatar elkuku elkuku - change - 25 Jul 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-07-25 01:38:45
avatar elkuku elkuku - close - 25 Jul 2014
avatar elkuku elkuku - reference | - 25 Jul 14
avatar elkuku elkuku - merge - 25 Jul 2014
avatar elkuku elkuku - close - 25 Jul 2014
avatar elkuku
elkuku - comment - 25 Jul 2014

I'm not sure that it is actually "best practice" to pass the user object with the request data, just to get the user name... but I'd prefer it instead of creating a setUser() method in the model :wink:

About the modified date: Seems the code was never working, so we have to look out for unexpected behavior now :tongue:

avatar b2z
b2z - comment - 25 Jul 2014

Yeah this should be definitely refactored.

avatar allenzhao
allenzhao - comment - 25 Jul 2014

Maybe just pass the username to the table?

On Jul 25, 2014, at 2:14 PM, Dmitry Rekun notifications@github.com wrote:

Yeah this should be definitely refactored.


Reply to this email directly or view it on GitHub.

avatar b2z
b2z - comment - 25 Jul 2014

As I said already in #390 - just pass modified_by.

Add a Comment

Login with GitHub to post a comment