?
avatar BurtNL
BurtNL
18 Aug 2016

After a clean install of 3.6.3-dev I noticed there is no default access level set for Guest.
I suppose it would be better to have usergroup Guest automatically assigned to access level Guest.

screen shot 2016-08-18 at 10 24 37

avatar BurtNL BurtNL - open - 18 Aug 2016
avatar zero-24
zero-24 - comment - 18 Aug 2016

can you please show us your #__viewlevels table? as it should be there: https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/joomla.sql#L1989-L1994

avatar zero-24
zero-24 - comment - 18 Aug 2016

And please also the #__usergroups table

avatar BurtNL
BurtNL - comment - 18 Aug 2016

Here are the screendumps of the requested tables.

screen shot 2016-08-18 at 14 03 01

screen shot 2016-08-18 at 14 03 20


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

avatar zero-24
zero-24 - comment - 18 Aug 2016

So it looks like you installed sample data which one did you install?

avatar BurtNL
BurtNL - comment - 18 Aug 2016

Yes, it was a clean install of 3.6.3-dev with sample data 'Test English' (not sure about that name, but it is the last option).


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

avatar brianteeman
brianteeman - comment - 19 Aug 2016

Can you please retest and then confirm exactly which sample data set you installed and that the problem you have still exists


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

avatar brianteeman brianteeman - change - 19 Aug 2016
Status New Information Required
avatar brianteeman
brianteeman - comment - 19 Aug 2016

OK - i found the problem - I will do a PR for it shortly

avatar brianteeman brianteeman - change - 19 Aug 2016
Status Information Required Confirmed
avatar brianteeman
brianteeman - comment - 19 Aug 2016

Nope I can confirm the problem but I dont see what is causing it. It is only in the test sample data @zero-24 any ideas?

avatar BurtNL
BurtNL - comment - 19 Aug 2016

@brianteeman Okay, great you found it, I will test it when the PR is available.
I confirm it was the English Testdata, see screenshot, although in Dutch.

screen shot 2016-08-19 at 04 26 32


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

avatar brianteeman brianteeman - change - 19 Aug 2016
Category Administration Administration Installation
avatar BurtNL
BurtNL - comment - 19 Aug 2016

To me it looks like a mismatch with the ID of the usergroup Guest.
If referes to [9] in the rules-column, but there is no ID 9 in table #__usergroups.

In the backend I have set the access level Guest to usergroup Guest and now the #__viewlevels table shows [13].
Which is indeed the ID of the group Guest in table #__usergroups.

screen shot 2016-08-19 at 05 12 52

So I guess the sample data has a faulty ID in the install script?


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

avatar brianteeman
brianteeman - comment - 19 Aug 2016

My concern is that either it has always been broken - in which case a fix
is easy OR something broke it recently which I can not find.

It is a low priority though as the sample test data is not shipped with
Joomla it is only available from github

On 19 August 2016 at 11:14, BurtNL notifications@github.com wrote:

To me it looks like a mismatch with the ID of the usergroup Guest.
If referes to [9] in the rules-column, but there is no ID 9 in table
#__usergroups.

In the backend I have set the access level Guest to usergroup Guest and
now the #__viewlevels table shows [13].
Which is indeed the ID of the group Guest in table #__usergroups.

[image: screen shot 2016-08-19 at 05 12 52]
https://camo.githubusercontent.com/f7679b13ac8e0c49b1b00bb3a034d82d55ed99e6/68747470733a2f2f6973737565732e6a6f6f6d6c612e6f72672f75706c6f6164732f312f65643938663938393431323933316131623566306262376663666131653435322e706e67

So I guess the sample data has a faulty ID in the install script?

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/11660
https://issues.joomla.org/tracker/joomla-cms/11660.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11660 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8VEtRgvoD-K8CzRFiyj7nTpmjMYDks5qhYIGgaJpZM4JnnEF
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar zero-24
zero-24 - comment - 19 Aug 2016

@brianteeman yes it is on my list but i don't know if i get a PR ready today.

Here we add new usergroups but we need to fix the viewlevels than too
https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/sample_testing.sql#L775

This is an example how it should look like.
https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/sample_learn.sql#L761

Then we also need this line above in the sample_testing.sql file at line 16
https://github.com/joomla/joomla-cms/blob/staging/installation/sql/mysql/sample_learn.sql#L17

maybe the same for the other databases.

avatar brianteeman
brianteeman - comment - 19 Aug 2016

@zero-24 yes thats what I saw. Just surprised its "always" been broken for
that data set

On 19 August 2016 at 13:05, zero-24 notifications@github.com wrote:

@brianteeman https://github.com/brianteeman yes it is on my list but i
don't know if i get a PR ready today.

Here we add new usergroups but we need to fix the viewlevels than too
https://github.com/joomla/joomla-cms/blob/staging/
installation/sql/mysql/sample_testing.sql#L775

This is an example how it should look like.
https://github.com/joomla/joomla-cms/blob/staging/
installation/sql/mysql/sample_learn.sql#L761

Then we also need this line above in the sample_testing.sql file at line 16
https://github.com/joomla/joomla-cms/blob/staging/
installation/sql/mysql/sample_learn.sql#L17

maybe the same for the other databases.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11660 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8TlBJMbOXSxbfRquzLSYzDcPm4-rks5qhZwJgaJpZM4JnnEF
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar mbabker
mbabker - comment - 19 Aug 2016

Don't be so surprised. That same sample data set had a broken JSON string for menu item parameters for years.

avatar zero-24
zero-24 - comment - 19 Aug 2016

see: #11674

avatar brianteeman
brianteeman - comment - 19 Aug 2016

Closed as we have a pr.

avatar brianteeman brianteeman - change - 19 Aug 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-08-19 19:34:36
Closed_By brianteeman
avatar brianteeman brianteeman - close - 19 Aug 2016

Add a Comment

Login with GitHub to post a comment