1 (edited by remat457 2018-07-25 05:57:46)

Topic: multiple calendars in separate DB seem to share last default

Hello,
I setup 2 separate installs in separate directories and separate mySQL databases.
However, the default seems to default only to the last calendar run - unless I manually specify it.

So, if calendar_1 (ID: main) was last used I go to calendar_2 (to its own folder without specifying a calendar)  it says: Calendar 'main' not found.

This is also true vice versa if calendar_2 was last specified. It always seems to work if manually specified: /?cal=main for either calendar but I was hoping that this would not be needed.

By having the installs in separate folders and separate mySQL db's with only a single calendar I thought that the specified "Default" would be separate? Or did I miss a step? I skimmed the mySQL settings table but didn't see where it is set.

Thanks

eta: lcconfig.php reflects correct default ID in each directory. Also tried alt PC and alt browsers - does not appear to be local cache issue.

Re: multiple calendars in separate DB seem to share last default

Ok, I just reinstalled clean folder/db with the same result.
However, I did notice some odd behavior.

If I am logged into calendar_1 and switch to calendar_2 (specifying /?cal=secondcalendar) I am also logged into calendar_2.
Should this occur?
Is there PHP caching that I can tweek?

Thanks

Re: multiple calendars in separate DB seem to share last default

Hello Remat457

This is how the calendar does.
We are having some discussions, how the behaviour should be about multi-calendars.

Some could say it is smart that you don't have to log in again, but just can shift between calendars - others would say it should only be possible if both the name and the mail is the same, and others again would say it should be completely separated.

I can't say what solution Roel think is the best, but I think it will be adressed in a follow-up release in a couple of months.

Re: multiple calendars in separate DB seem to share last default

Hello Schwartz,
Thank you for the reply.
I would recommend that they be completely separate otherwise an additional calendar could just be created in the same instance.
In fact, this is probably the route I will take in the interim.
I look forward to the resolution!

thanks again