? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
4 Nov 2014

We have a getDbo() method in JModelLegacy (https://github.com/joomla/joomla-cms/blob/staging/libraries/legacy/model/legacy.php#L373) . This effectively is still a proxy to JFactory::getDatabase() - however it can be injected into the class and I see us standardising on using this method as us really promoting the use of injection into MVC classes instead of using these static JFactory methods.

Testing

To test navigate around the backend and check all the views work affected parts are:

  • Saving a category
  • Saving a banner
  • Displaying the system information
  • Saving a contact
  • Saving an article
  • Viewing the list of installed extensions in Extension Manager
  • Checking for existing extensions when using Discover in Extension Manager
  • Checking the database is upto date in Extension Manager
  • Using the purge cache button in the Joomla Update Component
  • Saving a menu item
  • Getting the list of available menu types when creating a menu item
  • Saving a newsfeed
  • Loading module lang files
  • Saving a template
  • Getting the user groups for a user in User Manager

As this is about getting the database object it should be REALLY obvious if something is broken (like the page completely dies).

On top of that check using the vote plugin in the frontend of Joomla in an article and registration view in the frontend

avatar wilsonge wilsonge - open - 4 Nov 2014
avatar jissues-bot jissues-bot - change - 4 Nov 2014
Labels Added: ?
avatar jissues-bot jissues-bot - change - 4 Nov 2014
Labels Added: ?
avatar wilsonge wilsonge - change - 4 Nov 2014
Category Components
avatar wilsonge wilsonge - change - 4 Nov 2014
The description was changed
Easy No Yes
avatar wilsonge wilsonge - reference | - 5 Nov 14
avatar RCheesley RCheesley - test_item - 16 Nov 2014 - Tested unsuccessfully
avatar RCheesley
RCheesley - comment - 16 Nov 2014

Tested this patch on 3.3.6 and I am unable to save any articles with changes - I get the following error:

Notice: Undefined variable: app in /administrator/components/com_content/models/article.php on line 497

I can change the article state from article manager, but any time I try to change anything within the article itself, I get the error above.

This error does not occur without the patch applied.

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

avatar wilsonge
wilsonge - comment - 16 Nov 2014

Yeah this is one of those things where because patchtester replaces the file you get misleading results. That bug was completely unrelated to this patch and fixed with 842d95b but because patch-tester replaces the whole file whenever anything gets changed rather than applying the actual diff it looks like the bug is the cause of the patch. I've just merged in staging and that should fix things up :)

avatar wilsonge wilsonge - reference | - 8 Feb 15
avatar zero-24
zero-24 - comment - 12 Mar 2015

@wilsonge can you again merge staging into this PR to fix the merge conflicts? Thanks!

avatar smohila
smohila - comment - 14 Mar 2015

Seems to work.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4992.
avatar smohila smohila - test_item - 14 Mar 2015 - Tested successfully
avatar wilsonge
wilsonge - comment - 14 Mar 2015

Merged in staging @zero-24

avatar garstud
garstud - comment - 9 May 2015

@test with success, i succeed to :

  • view an article in frontend
  • make a frontend registration, login and log out in frontend
  • display a contact detail in frontend
  • edit and save an article in frontend
  • edit and save an article in backend

Perhaps, it may needs more tests intructions on other joomla functions !?


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

avatar garstud garstud - test_item - 9 May 2015 - Tested successfully
avatar wilsonge
wilsonge - comment - 9 May 2015

I've tried to write the complete list of things affected. Thanks so much for testing!

avatar zero-24 zero-24 - alter_testresult - 11 Jun 2015 - RCheesley: Not tested
avatar zero-24 zero-24 - change - 11 Jun 2015
Status Pending Ready to Commit
avatar zero-24 zero-24 - change - 11 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 2 Jul 2015
Milestone Added:
avatar zero-24 zero-24 - change - 2 Jul 2015
Milestone Added:
avatar Kubik-Rubik
Kubik-Rubik - comment - 6 Jul 2015

@wilsonge Couldn't rebase against staging. Could you please update this PR?

avatar wilsonge
wilsonge - comment - 6 Jul 2015

There's a green merge button. GitHub seems to think everything is up to date?

avatar wilsonge
wilsonge - comment - 6 Jul 2015

I just merged in staging and there weren't any conflicts - maybe try applying the diff from https://github.com/joomla/joomla-cms/pull/4992.diff ?

avatar wilsonge wilsonge - change - 7 Jul 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-07-07 21:56:21
Closed_By wilsonge
avatar wilsonge wilsonge - close - 7 Jul 2015
avatar wilsonge wilsonge - close - 7 Jul 2015
avatar Kubik-Rubik
Kubik-Rubik - comment - 7 Jul 2015

Still had 4 conflicts.... but could solve them! :-)

Thank you @wilsonge! Merged.

Add a Comment

Login with GitHub to post a comment