-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Some class errors #25422
[4.0] Some class errors #25422
Conversation
Don't know if changing file casing causes issues at this point. If it does, we can rename the class instead? |
typo looks correct to me |
Maybe just leave the file name as it is and only correct the typo? |
@richard67 that won't fix the issue. We need to either rename the file or rename the class and change all instances of it in code. Anyways, this is fine, I think, if updates between alphas aren't officially supported. |
@SharkyKZ Ah, yes I forgot that with the update support ;-) |
Hm, there are more instances of this:
Rename classes or rename files? Renaming files also requires updating XML files but it would be nice to have correctly cased classes at some point. |
Hmm, I don't remember right now how such renames were handled in past, was not involved in that, just reading some PR when passing by long time ago. George maybe remembers that better. |
We had to rename them in two commits - to a different name and back again for git to be happy. Then that still doesn't work on shared hosts (but at this stage in j4 we don't guarentee b/c there so it's not a problem). TL/DR - just rename the files and let's do this correctly and set the correct precedent :) |
Hm, I think it's better to rename |
Unless we want to rename the view, which also means updating all links to it. |
No I think keeping the existing view type makes sense |
So this PR should be fine as it is. Just found more of the same:
StringController has already been reported for 3.x (#23725). Other two are 4.0-specific. |
This will do as a first pass - thankyou @SharkyKZ ! |
Do these changes also work under Windows? Quote #23762:
|
@Orgoth this PR fixes only new files added in 4.0. Updates between 4.0 dev builds aren't supported, so if you try to update from older 4.0 version, you'll have to apply the filename changes manually or just use a new 4.0 installation. This, however, won't be an issue when updating from 3.x because these files do not exist in 3.x. |
Updates from Nightly > Nightly Build will be supported at Beta. |
@wilsonge My bad, it's a field class 🤦♂ . We'd need to update the type in forms to use the new casing. As a simple alternative we could rename the class to |
Lets just rename the class back to lowercase I think - i mean uppercase SQL is just a nice to have |
The casing in the field type hasn't changed from 3.x so I'd rather not change it |
Pull Request for Issue # .
Summary of Changes
Rename
SysinfoModel.php
toSysInfoModel.php
.Typo in
Joomla\Component\Privacy\Site\Service\Router
.Testing Instructions
Code review? CC @wilsonge
Documentation Changes Required
No.