lemonldap-ng issueshttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues2018-06-18T16:35:46Zhttps://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/1454Portal doesn't update app urls2018-06-18T16:35:46ZPaul CuriePortal doesn't update app urls### Concerned version
Version: 2.0.0~alpha3+20180614095215+2019+master+stretch+olab1
Platform: Apache
### Summary
Debian 9 / Apache2 mpm-prefork
login as ldap user, test app 2 is http://
go to manager, change test app 2 menu item u...### Concerned version
Version: 2.0.0~alpha3+20180614095215+2019+master+stretch+olab1
Platform: Apache
### Summary
Debian 9 / Apache2 mpm-prefork
login as ldap user, test app 2 is http://
go to manager, change test app 2 menu item url to https://, save, in manager the new value is here, in diff, it only show old value, no new value shown.
![Selection_155](/uploads/801e79c8f7e9771b25e83beb18bf9a92/Selection_155.png)
F5 or Ctrl+F5 on portal doesn't show new value for test app 2 url
logout/login doesn't show new value
Refresh my rights doesn't show new value
Restart apache2 service, new url is shown on portal
I can't reproduce this bug 100% of times, more like 99%, in a few cases the diff show the new value, but portal still doesn't show new url, once it did.
I tested on 1.9 with same environment/config, no need to restart apache2 to show new urls, it works 100% of times.
### Logs
llng debug log of saving the new value
```
[debug] Get session fd10b516ed150445a73bdcdebe4a70174c7dcc3241fa3aedc227bc513cb98d7b
[debug] manager.xps.local: Apply default rule
[debug] removing cookie
[debug] User fd-admin was granted to access to /manager.fcgi/confs/?cfgNum=27
[debug] User authenticated, calling handler()
[debug] Start routing confs
[notice] User fd-admin has stored conf 28
[debug] Check configuration for Lemonldap::NG::Handler::PSGI::Main
[debug] Configuration 28 stored.
Get configuration from cache without verification.
[debug] Lemonldap::NG::Handler::PSGI::Main: configuration is up to date
[Thu Jun 14 17:09:05.262461 2018] [perl:notice] [pid 17925] Request for configuration reload
[notice] Apply configuration for reload.xps.local: ok
[debug] Get session fd10b516ed150445a73bdcdebe4a70174c7dcc3241fa3aedc227bc513cb98d7b from Handler internal cache
[debug] manager.xps.local: Apply default rule
[debug] removing cookie
[debug] User fd-admin was granted to access to /manager.fcgi/confs/latest
[debug] User authenticated, calling handler()
[debug] Start routing confs
[debug] Search for cfgNum in conf
[debug] Cfgnum set to latest
[debug] Search for cfgAuthor in conf
[debug] Cfgnum set to 28
[debug] Search for cfgDate in conf
[debug] Cfgnum set to 28
[debug] Search for cfgAuthorIP in conf
[debug] Cfgnum set to 28
[debug] Search for cfgLog in conf
[debug] Cfgnum set to 28
[debug] Search for cfgVersion in conf
[debug] Cfgnum set to 28
[info] User fd-admin ask for configuration metadatas (28)
[debug] Get session fd10b516ed150445a73bdcdebe4a70174c7dcc3241fa3aedc227bc513cb98d7b from Handler internal cache
[debug] manager.xps.local: Apply default rule
[debug] removing cookie
[debug] User fd-admin was granted to access to /manager.fcgi/confs/28/portal
[debug] User authenticated, calling handler()
[debug] Start routing confs
[info] User fd-admin asks for key portal
[debug] Search for portal in conf
[debug] Cfgnum set to 28
[debug] Get session fd10b516ed150445a73bdcdebe4a70174c7dcc3241fa3aedc227bc513cb98d7b from Handler internal cache
[debug] manager.xps.local: Apply default rule
[debug] removing cookie
[debug] User fd-admin was granted to access to /manager.fcgi/confs/28/domain
[debug] User authenticated, calling handler()
[debug] Start routing confs
[info] User fd-admin asks for key domain
[debug] Search for domain in conf
[debug] Cfgnum set to 28
```
### Backends used
LDAP for auth/user/password
Files for config/sessions2.0.0YaddYadd