User tests: Successful: Unsuccessful:
The file https://github.com/joomla/joomla-cms/blob/staging/administrator/includes/toolbar.php breaks the principle of having 1 class per file: JToolbarHelper and JSubMenuHelper
@chrisdavenport suggested that we could maybe fix it by removing JSubMenuHelper and including it from JToolbarHelper file. That way we will not break b/c. How does it sound?
see #4551
Labels |
Added:
?
|
Alright :) Can I do something more with pull requests and issue description to make everyones life easier?
If you look at the diff it would appear you've broken all the spacing at the start of each line for implementation tho. Will try and get this tested properly tomorrow!
Do I create another pull request or is there a way to fix this here?
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
Labels |
Added:
?
|
@test, it works fine. As mentioned in file subtoolbar.php, the function JSubMenuHelper::addEntry() wil be deprecated in Joomla! 4.0 so we will use JHtmlSidebar::addEntry() instead.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
@test, test OK - Navigation works fine.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
Getting:
Fatal error: Class 'JToolBarHelper' not found in /var/www/html/pbf33/administrator/components/com_patchtester/views/pulls/view.html.php on line 119
when applying the patch. Checking ./administrator/includes/toolbar.php contains "400: Invalid request" so could be a problem with the patch tester or github.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
I have applied the patch with Eclipse from github diff. I have been working with the applied patch with no issues so far.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
The patchtester has been fixed, you can now use it to apply the PR. For me the fix is working so far!
Working also, and patch successfully tested.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
Multiple successful tests - thanks - setting to RTC
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.
Status | Pending | ⇒ | Ready to Commit |
@kirapwn Can you fix the codestyle issues?
FILE: /home/travis/build/joomla/joomla-cms/administrator/includes/toolbar.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
19 | ERROR | Missing class doc comment
--------------------------------------------------------------------------------
FILE: ...me/travis/build/joomla/joomla-cms/administrator/includes/subtoolbar.php
--------------------------------------------------------------------------------
FOUND 1 ERROR(S) AFFECTING 1 LINE(S)
--------------------------------------------------------------------------------
141 | ERROR | Please end your files with an empty line.
--------------------------------------------------------------------------------
Labels |
Added:
?
|
I think they should be fixed now
Thanks.. guess I am blind
Status | Ready to Commit | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-11-20 10:58:49 |
Labels |
Removed:
?
|
Sorry you cant test your own stuff ;)
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4718.