User tests: Successful: Unsuccessful:
Pull Request for Issue #37285 .
No, this is a bug
Status | New | ⇒ | Pending |
Category | ⇒ | Installation |
Labels |
Added:
?
|
By review I'd say this PR is correct because a few lines below, in line 23, we already use the right path for the JS file.
thats why I suggested it ;)
What I still don't understand is why I could not reproduce the issue here. But I have tested that with this PR the installation form still looks ok here with LTR and RTL.
@richard67 @brianteeman on my local server with either paths (just template.css
or [installation/template/css/template.css
I get the correct result but lets use the stricter one (the line is missing the options array for 'relative' => true
and I'm guessing the logic is a bit flaky on windows[?])
Unless if adding ->registerAndUseStyle('template.installation', 'template' . ($this->direction === 'rtl' ? '-rtl' : '') . '.css', ['version' => 'auto', 'relative' => true],[])
is working, then this is a better solution
@brianteeman can you please confirm that the latest commit works as expected on your env?
give me 5
I have tested this item
I have tested this item
I have tested this item
Issue can be reproduced by creating a file "template.css" in the Joomla root. This can be an empty file.
Without the PR, installation form is not styled.
With the PR it is.
@brianteeman For some reason your test result had an old commit reference. Not your fault, I think, but maybe a caching issue of the tracker. I've restored your test result in the tracker so it is properly counted.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Pending |
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-17 11:57:35 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Thanks!
By review I'd say this PR is correct because a few lines below, in line 23, we already use the right path for the JS file.