Note: This issue is reserved for an intern applicant at MD Systems. Please do not work on this unless assigned to it by us :)
Problem/Motivation
In JobItemInterface, there are some documentations wrongly defined.
- Interface doc-block:
/**
* Interface for tmgmt_job entity.
*
* @ingroup tmgmt_job
*/
setState()@return description:
/**
* Updates the state of the job item.
...* @return int
* The updated state of the job if it could be set.
...
getMessages()doc-block:
/**
* Returns all job messages attached to this ...
...* @return array
* An array of translation job messages.
*/
- and
getMessagesSince()doc-block:
/**
* Returns all job messages attached to this ...
...* @return array
* An array of translation job messages.
*/
Proposed resolution
Replace "job" with "job item".
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff-2774755-2-6.txt | 591 bytes | tbonomelli |
| #6 | jobiteminterfacce_wrong_documentations-2774755-6.patch | 1.86 KB | tbonomelli |
| #2 | jobiteminterface_wrong_documentations-2774755-2.patch | 1.84 KB | tbonomelli |
Comments
Comment #2
tbonomelli commentedI replaced "job" with "job item" in the listed documentations.
Comment #4
tduong commentedRetest triggered as locally passes as well.
Comment #5
tduong commentedOk, test is passing, just a tiny thing:
80 chars D: just put 'newer' in the second line :D
Then I think it is alright :)
Comment #6
tbonomelli commentedUpdated the documentation.
Comment #7
tduong commentedCool, now it's alright! :)
Comment #9
berdirThere is now tmmgt_job_item group, this is still tmgmt_job.
Fixed and committed.