Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
13 Dec 2014

"If the value attribute is not specified, the content will be passed as a value instead." (http://www.w3schools.com/tags/att_option_value.asp - the most reliable source ever).

Michael stated in #579 that the values from the database where

["rel_type"] => string(0) ""
["milestone_id"] => string(12) "No Milestone"

This fixes that by specifying a default value of 0 for both fields (which isn't a possible relation for the 2 fields). If this value is met then in the model they are set to null (note I don't know whether these checks for 0 are better done in model or table - I was strongly tempted to put them into App\Tracker\Table\IssuesTable::check() function tbh)

Note I have absolutely no virtual box for this thing set up so you MUST test this before merging

avatar wilsonge wilsonge - open - 13 Dec 2014
avatar b2z
b2z - comment - 20 Dec 2014

Test passed ;) Thanks. But I would like to see checks in the Table. @mbabker @elkuku ?

avatar wilsonge
wilsonge - comment - 3 Feb 2015

bump?

avatar elkuku
elkuku - comment - 3 Feb 2015

I think it's in line with what we are doing currently (checking/filtering in the controller before passing the data to the table class), so I believe we can move this code with the rest when we decide on how to refactor.

@wilsonge honestly this slipped somehow but looking at the submission date that may explain some things... sorry for the delay and thanks for the bump :wink:

avatar elkuku elkuku - close - 3 Feb 2015
avatar elkuku elkuku - reference | - 3 Feb 15
avatar elkuku elkuku - merge - 3 Feb 2015
avatar elkuku elkuku - close - 3 Feb 2015
avatar elkuku elkuku - change - 3 Feb 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-02-03 02:04:59
avatar wilsonge wilsonge - head_ref_deleted - 3 Feb 2015
avatar wilsonge
wilsonge - comment - 3 Feb 2015

Yeah don't worry - it was that time of year :) Thanks for merging it!!

avatar elkuku elkuku - reference | - 4 Feb 15
avatar mbabker mbabker - reference | - 6 Feb 15

Add a Comment

Login with GitHub to post a comment