3.1 reseller does not see domains added through remote_api until re-login
Test 1:
- add client with appropriate reseller_id through API
- add domain for this client
- login to web-panel as reseller
- result: both client and domain are seen in the panel
Test 2:
- login to web-panel as admin
- add client with appropriate reseller_id through API
- add domain for this client through API
- result: both client and domain are seen in the panel
Test 3:
- login to web-panel as reseller
- add client with appropriate reseller_id through API
- add domain for this client through API
- result: client is seen in the panel, but domain isn't
Domain is seen in the web-panel after logout/login procedure, which seem to indicate that the reason for this behaviour is one of these:
- some sort of caching takes place when getting a list of domains through web panel's web_vhost_domain_list.php
- either client or domain is being created with some sort of deficiency initially (possibly due to mistake on my side), which is being fixed on successive login
I'd like to figure out, which one it is, as in case of 2) there might be other hidden consequences. I tried to figure out db changes during logout/login, but so far couldn't find any.
Can you replicate this issue (I'm using stable 3.1)? If not, can you provide any hints for further debugging?