? Pending

User tests: Successful: Unsuccessful:

avatar frankmayer
frankmayer
18 Dec 2016

Summary of Changes

Type safe comparison in plugins - second iteration

  • some more string comparisons
  • some bool
  • some int

This PR is part of a set to try to separate some of the changes done in one of my previous batch PR's for the plugins directory, which is still on hold (#12228).
Once the new set is merged completely, it will hopefully reduce the changes in that PR, so it can be reviewed easier and finally be merged.

The changes in this PR should be also be fairly easy to review. In hope that this will get merged quickly. ;)

Note: Don't bother if some possible changes are missing or could be differently written. They are probably in the batch PR , that this one references. As soon as this set of sub PR's is merged, the batch PR will have its conflicts resolved and should be a lot easier to review and finally get merged.

Testing Instructions

None, should not change behavior

Documentation Changes Required

None.

avatar frankmayer frankmayer - open - 18 Dec 2016
avatar frankmayer frankmayer - change - 18 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Dec 2016
Category Front End Plugins
avatar frankmayer frankmayer - change - 18 Dec 2016
The description was changed
avatar frankmayer frankmayer - edited - 18 Dec 2016
avatar wilsonge
wilsonge - comment - 19 Dec 2016

Conflicts with the other PR :)

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Dec 2016
avatar frankmayer frankmayer - change - 19 Dec 2016
Labels Added: ?
avatar frankmayer
frankmayer - comment - 19 Dec 2016

@andrepereiradasilva Thanks missed the one you mentioned and also reverted another case that has multiple comparisons. In that second case though, there might be some cleaning up to do in future (false/null is used if no language is given, though maybe it could just be a '')

avatar frankmayer frankmayer - change - 19 Dec 2016
Title
Type safe string comparison of strings in plugins - second iteration
Type safe comparison in plugins - second iteration
avatar frankmayer frankmayer - change - 19 Dec 2016
Title
Type safe string comparison of strings in plugins - second iteration
Type safe comparison in plugins - second iteration
avatar frankmayer frankmayer - edited - 19 Dec 2016
avatar frankmayer frankmayer - change - 19 Dec 2016
The description was changed
avatar frankmayer frankmayer - edited - 19 Dec 2016
avatar frankmayer
frankmayer - comment - 19 Dec 2016

It would be great, if this sub-PR could be reviewed / tested and merged, so that the associated Batch PR can also be easier reviewed / tested and merged.

BTW, ? to all for putting in the extra work to support my efforts for all these PR with lots and lots of changes.

avatar andrepereiradasilva
andrepereiradasilva - comment - 19 Dec 2016

BTW, ? to all for putting in the extra work to support my efforts for all these PR with lots and lots of changes.

no, thank you for doing this!

avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Dec 2016

@frankmayer the one i pointed and you corrected is not the only case in this PR. (example: access)
Please review the PR changes according to that. IMO is important to make sure this (and the others) PR don't break anything by making incorrect assumptions reggarding the variable types.

avatar frankmayer
frankmayer - comment - 28 Dec 2016

@andrepereiradasilva Yes, I was already checking those out, too...
Commit will follow soon.

avatar andrepereiradasilva
andrepereiradasilva - comment - 28 Dec 2016

ok sorry, tought you missed them. ignore the comment them

avatar frankmayer
frankmayer - comment - 28 Dec 2016

No, no, my fault. I shouldn't have pushed the commit, before completing my checks. I was multitasking with other things... ?

avatar frankmayer
frankmayer - comment - 28 Dec 2016

The rest should be OK now.

avatar frankmayer
frankmayer - comment - 29 Dec 2016

It would be great, if this sub-PR could be reviewed / tested and merged, so that the referenced Batch PR #12228 can also be easier reviewed / tested and merged.

avatar frankmayer
frankmayer - comment - 12 Jan 2017

Conflicts resolved...

avatar frankmayer
frankmayer - comment - 26 Apr 2017

Pls check and merge.

avatar andrepereiradasilva
andrepereiradasilva - comment - 31 May 2017

I have tested this item successfully on 572572c

on code review


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

avatar andrepereiradasilva andrepereiradasilva - test_item - 31 May 2017 - Tested successfully
avatar frankmayer
frankmayer - comment - 31 May 2017

Thanks, one more tester to get this RTC?

avatar wilsonge wilsonge - change - 31 May 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-31 20:16:46
Closed_By wilsonge
avatar wilsonge wilsonge - close - 31 May 2017
avatar wilsonge wilsonge - merge - 31 May 2017

Add a Comment

Login with GitHub to post a comment