? ? ? Pending

User tests: Successful: Unsuccessful:

avatar dgt41
dgt41
18 Apr 2017

Pull Request for Issue # .

Summary of Changes

  • No inline scripts
  • A redo of #11922 (was RTC, before falling out of sync)

Testing Instructions

Apply patch, ensure that tooltips, alerts, modals, tabs accordions etc still work

Expected result

Actual result

Documentation Changes Required

Nope, internal changes

avatar dgt41 dgt41 - open - 18 Apr 2017
avatar dgt41 dgt41 - change - 18 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Apr 2017
Category Layout Libraries JavaScript Unit Tests
avatar dgt41 dgt41 - change - 18 Apr 2017
Labels Added: ? ?
avatar rjcf18 rjcf18 - test_item - 18 Apr 2017 - Tested successfully
avatar rjcf18
rjcf18 - comment - 18 Apr 2017

I have tested this item successfully on e3fe25c


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 19 Apr 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Apr 2017

I have tested this item 🔴 unsuccessfully on e3fe25c

Without PR:

1

With PR:

bildschirmfoto 2017-04-19 um 18 15 31


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15374.
avatar dgt41
dgt41 - comment - 19 Apr 2017

@franz-wohlkoenig are the images in the correct order?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 Yes, applied PR having 4 Tabs instead 2 Tabs without PR.

avatar dgt41
dgt41 - comment - 20 Apr 2017

There was an bug with the tab titles. @franz-wohlkoenig can you check that is ok now?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

4 Tabs:
bildschirmfoto 2017-04-20 um 07 19 27

avatar Bakual
Bakual - comment - 20 Apr 2017

There was an bug with the tab titles.

@dgt41 Actually, the bug is that the tabs are doubled, the missing translated title wasn't the real bug 😄

avatar dgt41
dgt41 - comment - 20 Apr 2017

Hmmm, I get 2 tabs here

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 would it help to install fresh?

avatar dgt41
dgt41 - comment - 20 Apr 2017

Maybe, I still can't figure out why these tabs are bouble

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

Fresh Install (staging), same Result:
bildschirmfoto 2017-04-20 um 08 39 55

avatar zero-24
zero-24 - comment - 20 Apr 2017

Fresh Install (staging), same Result:

staging means 3.7? i guess you mean 4.0-dev? ;)

avatar dgt41
dgt41 - comment - 20 Apr 2017

Brand new install, fresh db, still can't replicate this (FF):
screen shot 2017-04-20 at 09 58 17

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig this is for J4, so @zero-24 is right!

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@zero-24 is right, i meant 4.0-dev.

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

Let me get a fresh installation from this again to verify this.


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

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

Weird, no tabs appear at all for me O.o

deepinscreenshot20170420110323


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15374.
avatar dgt41
dgt41 - comment - 20 Apr 2017

@rjcf18 are you getting any errors in the browsers console?

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

I've edited the comment, you can see the error in the previous comment.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

In FF-Console CSS:
Expected media feature name but found '-webkit-min-device-pixel-ratio'. template.min.css:1:359
Expected colour but found 'auto'. Expected colour but found '-webkit-focus-ring-color'. Expected end of value but found '-webkit-focus-ring-color'. Error in parsing value for 'outline'. Declaration dropped. template.min.css:1:449
Error in parsing value for '-webkit-text-size-adjust'. Declaration dropped. template.min.css:6:175
Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'. Ruleset ignored due to bad selector. template.min.css:6:1928
Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'. Ruleset ignored due to bad selector. template.min.css:6:2085
Unknown pseudo-class or pseudo-element '-webkit-file-upload-button'. Ruleset ignored due to bad selector. template.min.css:6:2181
Unknown property 'orphans'. Declaration dropped. template.min.css:6:2862
Unknown property 'widows'. Declaration dropped. template.min.css:6:2871
Expected colour but found 'auto'. Expected colour but found '-webkit-focus-ring-color'. Expected end of value but found '-webkit-focus-ring-color'. Error in parsing value for 'outline'. Declaration dropped. template.min.css:6:4641
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:8643
Unknown pseudo-class or pseudo-element '-ms-expand'. Ruleset ignored due to bad selector. template.min.css:6:24921
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'. Ruleset ignored due to bad selector. template.min.css:6:25072
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'. Ruleset ignored due to bad selector. template.min.css:6:25136
Unknown pseudo-class or pseudo-element '-ms-value'. Ruleset ignored due to bad selector. template.min.css:6:25459
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:30190
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:30386
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:30545
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:30978
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:31307
Unknown property 'user-select'. Declaration dropped. template.min.css:6:31809
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:40974
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:41652
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:43038
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:44475
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:44804
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:47625
Unknown property 'user-select'. Declaration dropped. template.min.css:6:48468
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:49533
Unknown pseudo-class or pseudo-element '-ms-value'. Ruleset ignored due to bad selector. template.min.css:6:50320
Unknown pseudo-class or pseudo-element '-ms-expand'. Ruleset ignored due to bad selector. template.min.css:6:50464
Unknown property 'user-select'. Declaration dropped. template.min.css:6:50987
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:51455
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:52669
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:52993
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:54268
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:54416
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:55055
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:55206
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:55848
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:55999
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:56643
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:56794
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:57385
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:57536
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:59839
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:63072
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:63164
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:63417
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:64976
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:68715
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:69230
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:69349
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:69817
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:74573
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:74939
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:75244
Unknown property 'line-break'. Declaration dropped. template.min.css:6:75893
Unknown property 'line-break'. Declaration dropped. template.min.css:6:77732
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:81486
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:82271
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:83387
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86082
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86150
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86493
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86564
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86908
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:86979
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:87323
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:87394
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:87739
Error in parsing value for 'display'. Declaration dropped. template.min.css:6:87810
Error in parsing value for 'position'. Declaration dropped. template.min.css:6:102802
Unknown property 'speak'. Declaration dropped. template.min.css:9:33914
Unknown property 'user-select'. Declaration dropped. template.min.css:9:34216
Error in parsing value for 'min-width'. Declaration dropped. template.min.css:9:36180
Error in parsing value for 'transition-delay'. Declaration dropped. template.min.css:9:45485
Error in parsing value for 'transition-delay'. Declaration dropped. template.min.css:9:48404

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig the CSS warnings/errors are not related to this PR

avatar C-Lodder
C-Lodder - comment - 20 Apr 2017

No idea how on earth you're getting all these CSS errors. What version of FF are you using? And do you have any experimental features enabled?

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

On firefox the same happens:

deepinscreenshot20170420111717


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 CSS was the only Part with Errors.

@C-Lodder Firefox 53.0 (64-bit), as i know i have no experimental Features enabled, only something like dict.cc

avatar dgt41
dgt41 - comment - 20 Apr 2017

@rjcf18 can you check once more, thanks!

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

Did another fresh installation, and I'm still having the same problem:

deepinscreenshot20170420114101

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

Oh wait wait sry, give me a minute let me try something

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

The HEAD was still at the previous commit :P sry about that. But still the same problem though:

deepinscreenshot20170420115004

avatar dgt41
dgt41 - comment - 20 Apr 2017

are you using the browser in responsive mode?
I'm trying to figure out why I don't get this

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

I've tried both without and with responsive mode and have tried in Google chrome (56.0.2924.76 (64-bit)) and Firefox (48.0).

avatar dgt41
dgt41 - comment - 20 Apr 2017

Still can't replicate this and without the ability to replicate it I can't fix it.
By the way are the tabs in the other views (e.g. article edit) working correctly?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017
avatar rjcf18
rjcf18 - comment - 20 Apr 2017

In every other view I can see that they are working properly (buttons, accordeons, tabs, etc), I get that same error in the menu item type selection modal window despite it working well:

deepinscreenshot20170420122850

But I can't quite replicate what happens to @franz-wohlkoenig the tabs don't repeat for me:

deepinscreenshot20170420123315

deepinscreenshot20170420123344

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig I really don't know how you end up with double tabs, the code runs only once!
Ah, maybe the patch tester didn't delete some files?
Are you using git or patch tester here?

@rjcf18 same question are you using patch tester or git here?

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

I'm using git (git clone --depth 1 -b 006-clean-up-bootstrap --single-branch https://github.com/dgt41/joomla-cms.git) and for each of your commit I clone and install everything from scratch so I can be sure I have a 100% clean installation and that there are no problems with remainders from previous versions of some files.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 i use Patchtester. Will reinstall it.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

Issue stay same after reinstalling Patchtester; same in Chrome 57, Safari 10.1.

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig I'm afraid this PR cannot be tested with patchtester

1ca327a 20 Apr 2017 avatar dgt41 fixes
033e4a9 20 Apr 2017 avatar dgt41 fixes
0358d08 20 Apr 2017 avatar dgt41 UT
21ec33a 20 Apr 2017 avatar dgt41 UT
b9f5223 20 Apr 2017 avatar dgt41 more
66a3f94 20 Apr 2017 avatar dgt41 tabs
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 okay. Possible to write this in future Test instructions?

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig I think there is a known limitation for patch tester some files, @mbabker can explain the issue better

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 20 Apr 2017

@dgt41 theres also a Comment that Patchtester in J4 is experimental – but most works. I thought you know that this PR isn't testable by Patchtester and so to write info.

avatar mbabker
mbabker - comment - 20 Apr 2017

Unless something changed with GitHub this PR is fine with patch tester. The biggest problems relate to binary files, none of the files changed here fall into that category.

The patch tester quirk is it does not patch files. It does a full replace based on the file from the remote branch. So if that is in any way out of sync with the base branch, it can cause problems.

avatar dgt41
dgt41 - comment - 20 Apr 2017

@franz-wohlkoenig honestly I didn't even think about patchtester in the first place. Till J4 repo become public all the participants were using git.

avatar Bakual
Bakual - comment - 20 Apr 2017

Please also check that you browser cache is cleared before testing. Not that it caches some parts of the JS.
When using Chrome, a good way to have cache always cleared is to have the development tools open (F12) and have "Disable cache (while DevTools is open)" enabled in its settings.

avatar rjcf18
rjcf18 - comment - 20 Apr 2017

Yep I was aware of that option and have it activated, plus I clear the cache anyways just in case both in chrome and firefox. For this case I guess the problem isn't related to that, but yeah it's a good practice.

avatar dgt41
dgt41 - comment - 20 Apr 2017

@Bakual thanks, should be fine now

avatar rjcf18 rjcf18 - test_item - 20 Apr 2017 - Tested successfully
avatar rjcf18
rjcf18 - comment - 20 Apr 2017

I have tested this item successfully on 1d60931

The problem seems to be solved, no longer getting the error on the console on the modal window and the tabs in Joomla! Update seem to be displayed correctly and with no errors:

deepinscreenshot20170420234148

deepinscreenshot20170420233638


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15374.
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 21 Apr 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Apr 2017

I have tested this item 🔴 unsuccessfully on 1d60931

Test on fresh Install 4.0.0-dev, double Tabs Issue stay:


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

avatar dgt41
dgt41 - comment - 21 Apr 2017

@franz-wohlkoenig I think patchetester is not behaving with this issue

avatar ciar4n
ciar4n - comment - 26 Apr 2017

I have tested this item successfully on 1d60931


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

avatar ciar4n ciar4n - test_item - 26 Apr 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Apr 2017

RTC after two successful tests.

avatar wilsonge wilsonge - change - 8 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-08 11:58:49
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 8 May 2017
avatar wilsonge wilsonge - merge - 8 May 2017

Add a Comment

Login with GitHub to post a comment