Welcome, Guest
Please Login or Register.    Lost Password?

Probs with .ini when using slash in calendar name
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Probs with .ini when using slash in calendar name
#3148
Probs with .ini when using slash in calendar name 7 Years, 5 Months ago  
The rainlendar.ini gets screwed up when you create a calendar with a slash in the name e.g. "Holiday/Birthday".

The .ini grows - every section is duplicated? with "iCalendar\ Format/" in front of it.
Changing any option adds a additional copy of the ini with "iCalendar\ Format/".
After 2 changes you have:
- [SectionName]
- [iCalendar\ Format/SectionName]
- [iCalendar\ Format/iCalendar\ Format/SectionName]
- [iCalendar\ Format/iCalendar\ Format/iCalendar\ Format/SectionName]


Steps to reproduce part A:
- Create a new iCalendar name "Dummy/Dummy"
- Close Rainlendar
- Look at the .ini

Steps to reproduce part B:
- reopen Rainlendar
- change any option
- Close Rainlendar
- Look at the .ini

PS:
Whats added in front of the section name depends of the calendar type:
iCalendar => "iCalendar\ Format/"
Network shared calendar => "Network\ Shared\ Calendar"
Outlook not tested (I don't use Outlook)


There are two directories in the attached zip:
Directory A:
rainlendar.log + rainlendar.ini after creating a calendar "Foo/Bar"
Directory B:
rainlendar.log + rainlendar.ini after changing any option
File Attachment:
File Name: error2.zip
File Size: 20197
Toeffie
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3155
Re:Probs with .ini when using slash in calendar name 7 Years, 5 Months ago  
The forward slash is used as the path separator in the settings class which causes the problem. I'll do something about this.
Rainy
Moderator
Posts: 5991
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop