? ? Success

User tests: Successful: Unsuccessful:

avatar phproberto
phproberto
12 Oct 2014

I think we need 2 tests on this because changes done in:
https://github.com/phproberto/joomla-cms/compare/joomla:staging...phproberto:cs-com_messages-backend?expand=1#diff-58d47869bc03e4659c4fa82975614951R28

It fixes the issues about params with no default values at the end of the parameter list on function definition. Same fix we applied in:

https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/html/select.php#L157-L160

So the param is defined as optional but internally it's still required to ensure B/C

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar phproberto phproberto - open - 12 Oct 2014
avatar jissues-bot jissues-bot - change - 12 Oct 2014
Labels Added: ?
avatar Bakual
Bakual - comment - 12 Oct 2014

Would it make sense to deprecate the method and create a new one with the correct argument order?
This way we could add a deprecate log and change the extensions to use the new one already today and when we remove the method with 4.0 there are no issues.

avatar phproberto
phproberto - comment - 12 Oct 2014

In fact I think that the default values of false for $canChange and 0 for row number are ok. I mean we could directly convert them into optional values without breaking anything.

I think we could remove the exceptions

avatar phproberto
phproberto - comment - 12 Oct 2014

I created JHtmlMessages::status() to replace the old JHtmlMessages::state(). Also added the log message and replaced the unique use we had on the message list view.

All should be B/C

avatar phproberto phproberto - close - 12 Oct 2014
avatar phproberto phproberto - change - 12 Oct 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-10-12 17:19:24
avatar phproberto phproberto - reopen - 12 Oct 2014
avatar phproberto phproberto - change - 12 Oct 2014
Title
[code style] com_messages backend
[Code Style] com_messages backend
avatar phproberto phproberto - change - 12 Oct 2014
Title
[code style] com_messages backend
[Code Style] com_messages backend
Status Closed New
avatar phproberto
phproberto - comment - 12 Oct 2014

I added the since tags :dancer:

avatar javigomez javigomez - change - 13 Oct 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 13 Oct 2014
Category Code style
avatar nicksavov nicksavov - change - 16 Oct 2014
Labels Added: ?
avatar ronakchauhan ronakchauhan - test_item - 17 Oct 2014 - Tested successfully
avatar gunjanpatel gunjanpatel - change - 17 Oct 2014
Status New Pending
avatar gunjanpatel
gunjanpatel - comment - 17 Oct 2014

Setting as a pending as we have fixes.

avatar anibalsanchez
anibalsanchez - comment - 17 Oct 2014

@test OK,

Tested sending and receiving messages between two users.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4569.

avatar roland-d roland-d - alter_testresult - 14 Nov 2014 - anibalsanchez: Tested successfully
avatar roland-d roland-d - change - 14 Nov 2014
Status Pending Ready to Commit
avatar roland-d
roland-d - comment - 14 Nov 2014

Moving to RTC as we have 2 successful tests.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4569.

avatar brianteeman brianteeman - change - 29 Nov 2014
Labels Added: ?
avatar phproberto
phproberto - comment - 3 Dec 2014

Rebased vs the latest staging.

avatar Bakual
Bakual - comment - 4 Dec 2014

Merged, thanks!

avatar phproberto phproberto - close - 4 Dec 2014
avatar zero-24 zero-24 - close - 4 Dec 2014
avatar phproberto phproberto - change - 4 Dec 2014
Status Ready to Commit Closed
Closed_Date 2014-10-12 17:19:24 2014-12-04 07:25:47
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment