? ? Pending

User tests: Successful: Unsuccessful:

avatar C-Lodder
C-Lodder
6 Mar 2019

Summary of Changes

Replace JFactory with Factory in all remaining files

avatar C-Lodder C-Lodder - open - 6 Mar 2019
avatar C-Lodder C-Lodder - change - 6 Mar 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 Mar 2019
Category Administration com_associations com_content com_finder Repository CLI Front End
avatar brianteeman
brianteeman - comment - 6 Mar 2019

Finder was excluded when I did the big namespace conversion as it was still being rewritten by @Hackwar and I believe he has recently done it with #24097

avatar C-Lodder C-Lodder - change - 6 Mar 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Mar 2019
Category Administration com_associations com_content com_finder Repository CLI Front End Administration com_associations com_content Repository CLI Installation Libraries Front End Plugins Templates (site)
avatar C-Lodder
C-Lodder - comment - 6 Mar 2019

Reverted com_finder

avatar amitranjan2
amitranjan2 - comment - 6 Mar 2019

@C-Lodder I have seen somewhere JTEXT also
could you please change that also?

avatar C-Lodder
C-Lodder - comment - 6 Mar 2019

@amitranjan2 There's are loads of J prefixed classes that need changing. The PR focuses on solely on JFactory.

JText and the others can be done in separate PRs

avatar amitranjan2
amitranjan2 - comment - 6 Mar 2019

@C-Lodder ok I will do it my making another PR ,thanks

avatar amitranjan2
amitranjan2 - comment - 6 Mar 2019

@C-Lodder are you sure that you have changed all JFactory to Factory?

I am seeing plenty of JText here
changed almost 50 JText and still there are plenty

avatar C-Lodder
C-Lodder - comment - 6 Mar 2019

Yes, I've changed all of the ones I found in a mass search, other than those in com_finder which I was asked to revert.

It would probably be much better creating a script that automatically does this.

avatar amitranjan2
amitranjan2 - comment - 6 Mar 2019

Yes, I've changed all of the ones I found in a mass search, other than those in com_finder which I was asked to revert.

It would probably be much better creating a script that automatically does this.

that will be great,please create a script

avatar dgrammatiko
dgrammatiko - comment - 6 Mar 2019

that will be great,please create a script

There is no need for such a script, all modern IDEs offer search capabilities...

avatar C-Lodder
C-Lodder - comment - 6 Mar 2019

@dgrammatiko Not to just search for J prefixed classes, but to add use Joomla\xxx\xxx to the top of the file aswell

avatar Quy Quy - test_item - 7 Mar 2019 - Tested successfully
avatar Quy
Quy - comment - 7 Mar 2019

I have tested this item successfully on 1b107f5


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

avatar amitranjan2 amitranjan2 - test_item - 7 Mar 2019 - Tested successfully
avatar amitranjan2
amitranjan2 - comment - 7 Mar 2019

I have tested this item successfully on 1b107f5


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

avatar amitranjan2
amitranjan2 - comment - 7 Mar 2019

I have tested this item successfully on 1b107f5


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Mar 2019
Title
[4.0] Use namepsaced version of JFactory everywhere
[4.0] Use namespaced version of JFactory everywhere
Status Pending Ready to Commit
avatar joomla-cms-bot joomla-cms-bot - edited - 7 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Mar 2019

Status "Ready To Commit".

avatar wilsonge wilsonge - change - 15 Mar 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 15 Mar 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-03-15 12:39:03
Closed_By wilsonge
avatar wilsonge wilsonge - close - 15 Mar 2019
avatar wilsonge wilsonge - merge - 15 Mar 2019
avatar wilsonge
wilsonge - comment - 15 Mar 2019

Thanks :)

Add a Comment

Login with GitHub to post a comment