backdrop-contrib / domain

WORK IN PROGRESS - A domain-based access control system for Backdrop CMS
3 stars 4 forks source link

Wrong url for update.php when domain module working. #39

Open izmeez opened 2 days ago

izmeez commented 2 days ago

With the domain module working, when there is a need to run /core/update.php such as from Backdrop 1.29.0 to 1.29.1 login to the primary domain, going to the Status Report and clicking the link to run update fails because it is trying to reach the wrong url /core/core/update.php.

Disabling the domain module by commenting the line in settings.php file to include domain/services.inc allows the update link to work and uses the correct url.

Subsequently, when the line in settings.php is again uncommented and the site refreshed (clear caches), user has to login again. Something to be expected?

rudy880719 commented 2 days ago

@izmeez Yes, it is normal behavior, since an update was made, and it will ask to log in again

yorkshire-pudding commented 2 days ago

I'm not worried about the logging in again, but it does seem like a bug that it goes to the wrong URL and I think this is a problem as it effectively makes it impossible to do updates completely in the UI, which is a key feature of Backdrop.

izmeez commented 1 day ago

Agree: logging in again may be an artifact of changing the settings.php file; the key problem is the wrong url for update.