J4 Issue ?
avatar PhilETaylor
PhilETaylor
19 Aug 2018

Steps to reproduce the issue

install Joomla 4 with demo data

Navigate to front end user registration form (while logged out)

In admin - Disable User Registration

screen shot 2018-08-19 at 23 16 37

reload frontend user registration form

Expected result

404/403 error

Actual result

form still loads fine, can be submitted, no error given and no user created.

System information (as much as possible)

Additional comments

A strange one

http://0.0.0.0:8087/index.php/en/ SHOWS THE CREATE AN ACCOUNT link still after user registration is disabled

whereas http://0.0.0.0:8087/index.php/en without the trailing slash doesnt show the link in the module - strange !

No caching enabled.

screen shot 2018-08-19 at 23 21 39

avatar PhilETaylor PhilETaylor - open - 19 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 19 Aug 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Aug 2018
avatar PhilETaylor
PhilETaylor - comment - 19 Aug 2018

This is a strange one. Im seeing the same behaviour with any global config change - its like the config is being cached somewhere but for few pages/urls only...

E.g Set the site to be offline while you have a frontend page open - refresh the frontend page repeatedly and it still works (checking the PHP/Web logs you can see its NOT a browser cached version - its still going through Joomla and PHP to render it!!!) but if you navigate to any other link on the page, you then see the offline page correctly (as you have set the site offline).

Its not browser - because if I open safari (as well as chrome) and then navigate around the site (which is in offline mode, and im not logged in) I can still get to the home, and several other demo pages...!! Only a few correctly give the offline page!)

Very strange - and if can be replicated by others, I would consider this huge issue (security too)

avatar PhilETaylor PhilETaylor - change - 19 Aug 2018
Title
[4.0] User registration form available when configuration is set to not allow it
[4.0] Weirdness with configuration/frontend
avatar PhilETaylor PhilETaylor - edited - 19 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Aug 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Aug 2018
Category Authentication Cache com_users
avatar brianteeman brianteeman - change - 20 Aug 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 20 Aug 2018
avatar PhilETaylor
PhilETaylor - comment - 20 Aug 2018

Note that the "server" is PHP command line like php -S 0.0.0.0:8085 - as that might be an important thing to test if you cannot replicate this with a webserver (nginx/apache)


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

avatar mbabker
mbabker - comment - 20 Aug 2018

And if it really is the PHP webserver the odds of that being addressed are going to be slim to none, just being realistic here (who aside from you actually uses that for Joomla?).

avatar PhilETaylor
PhilETaylor - comment - 20 Aug 2018

I only mention it in passing :) just in case...

I've yet to get a docker instance for Joomla 4 ;-) so I'm running PHP development command line server and mysql in docker :)

Tonight I should have more time to complete the Joomla 4 development docker image for you ;-) and then I can retest... it was/is a very very very strange bug though, and I have seen this before in earlier development of Joomla 4

I'm thinking it could be an opcache thing - but not really sure why

avatar brianteeman
brianteeman - comment - 7 Sep 2018

Are you still seeing this issue on anything other than "php -s"

avatar PhilETaylor
PhilETaylor - comment - 12 Nov 2018

I cannot replicate this today.

avatar PhilETaylor PhilETaylor - change - 12 Nov 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-11-12 00:55:54
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 12 Nov 2018

Add a Comment

Login with GitHub to post a comment