None (Required for basic native multilingual site creation)
in the sample data.No warning
Latest staging
I have no user id 42 on the database.
The user id 42 is harcoded (??) in the install sql (https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/joomla.sql#L241-L247) but it has been like that for a while, so some new check is being done in latest staging.
Labels |
Added:
?
|
Category | ⇒ | Installation |
ok so it's really a regression
Title |
|
Title |
|
The install app is supposed to reset the user ID on all records in the sample data. That code wasn't changed or skipped in any way, was it?
don't know i have the problem in two different test sites.
can you check?
I see nothing that's changed InstallationModelDatabase::postInstallSampleData() in some time. Honestly the most notable changes in the install app were JavaScript tweaks and language strings.
really don't know. need more people to check if this.
is a simple test. just enter edit mode of any "Uncategorized" category in any component.
I can't reproduce on anew install. My superUser gets id 618
Forget my last comment
I can't reproduce on anew install. My superUser gets id 618
The question is not what's the id you get for your super user.
The question is the categories named "Uncategorized" have in the database that they were created with user id 42 and them we get that warning editing them...
Just tested in clean staging without any sample/test data and i get the user id 42 as the user who created those categories and get the warning when trying to edit the category.
IMO this is a regression.
I do not get the warning at all. In database 42 is replaced by 618.
Php 5.4.4
used simple sample data
I used sampledata.sql which does not change anyhting to categories vs joomla.sql
This may be useful to find out where is the culprit.
i used a clean staging install in a new database with new prefix and did not install any sample data, nor any multilanguage. Just next, next ... next.
I know what you did and I get the same warning in that case.
What I try to say is that IF I install sampledata.sql instead of nothing, and although sampledata.sql does NOT contain any change to com_categories (which therefore means normally that only the joomla.sql records are used for these), then I do not get the issue.
This may be useful to find out where is the culprit.
You're right, if you select "Default English (GB) Sample Data" it works fine, the id gets updated.
But if you select "None (Required for basic native multilingual site creation)" the id doesn't get updated!
Please confirm you have the same issue.
done above
so do you agree this is a regression?
Never tested before I must say. It should be solved indeed I guess.
i don't have this issue in a clean 3.5.1 so it's a regression IMO
actually they are created with id 42 but in 3.5.1 there is no warning.
Yes happens when you do a fresh install with multilingual
On 22 Jul 2016 12:55 pm, "infograf768" notifications@github.com wrote:
Never tested before I must say. It should be solved indeed I guess.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11228 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALFsdqWWAX5DlbAkCLAp0chvzc_dgPmks5qYKGTgaJpZM4JRszb
.
yes, basicly all new installs multilanguage (or monolanguage without any sample data) get this issue.
i think the issue is postInstallSampleData
https://github.com/joomla/joomla-cms/blob/staging/installation/model/database.php#L772 is not run if you don't install sample data.
which from logic perspective makes sense (if you don't install sample data why run a method called postInstallSampleData
), but if you don't install sample data, some things need to be changed also...
in 3.5.1 the issue is there but there is no warning.
so it seems in latest staging a new warning is there (IMO correct) and this issue was previous masked because joomla didn't send a warning.
in conclusion the problem is there for some time, but masked.
ok i found the issue check this https://github.com/andrepereiradasilva/joomla-cms/pull/58/files?w=1
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-22 13:27:16 |
Closed_By | ⇒ | andrepereiradasilva |
can confirm
something is going wrong with com_categories....