6.0.0-git
2019-04-24

[#3552] New users can't create events
Summary New users can't create events
Queue Kronolith
Queue Version 2.0.4
Type Bug
State Duplicate
Priority 2. Medium
Owners
Requester patrick.timmons (at) polymtl (dot) ca
Created 2006-03-02 (4801 days ago)
Due
Updated 2006-03-02 (4801 days ago)
Assigned 2006-03-02 (4801 days ago)
Resolved 2006-03-02 (4801 days ago)
Milestone
Patch No

History
2006-03-02 18:14:41 patrick (dot) timmons (at) polymtl (dot) ca Comment #7 Reply to this comment
Other prefs for kronolith are save to mysql.
I should say that the new events are saved to the mysql backend but 
there is no way to select the calendar to see them as the calendar 
selector pulldown menu is not displayed on the web page.


2006-03-02 17:23:09 Chuck Hagenbuch Comment #6
State ⇒ Duplicate
Reply to this comment
Same issue as bug 3538.
2006-03-02 17:22:46 Chuck Hagenbuch Deleted Original Message
 
2006-03-02 16:15:18 patrick (dot) timmons (at) polymtl (dot) ca Comment #5 Reply to this comment
But what matters is whether or not the preferences backend is storing
preferences correctly. kronolith/lib/base.php automatically sets the
display_cals preference if there are no calendars in it.
Other prefs for kronolith are save to mysql.



mysql> select pref_name, pref_value from horde_prefs where pref_uid = 
"p999002@pop3.polymtl.ca" and pref_scope = "kronolith" order by 
pref_name;

+--------------------------+-------------------------+

| pref_name                | pref_value              |

+--------------------------+-------------------------+

| confirm_delete           | 1                       |

| day_hour_end             | 48                      |

| day_hour_start           | 16                      |

| defaultview              | month                   |

| default_share            | p999002@pop3.polymtl.ca |

| display_cals             | a:0:{}                  |

| display_remote_cals      | a:0:{}                  |

| half                     | 0                       |

| show_fb_legend           | 1                       |

| show_icons               | 1                       |

| show_legend              | 1                       |

| show_shared_side_by_side | 0                       |

| time_between_days        | 0                       |

| week_start_monday        | 0                       |

+--------------------------+-------------------------+

14 rows in set (0.00 sec)



mysql>


2006-03-02 15:21:01 Chuck Hagenbuch Comment #4
State ⇒ Feedback
Reply to this comment
prefs.php for both versions are straight copies of prefs.php.dist
But what matters is whether or not the preferences backend is storing 
preferences correctly. kronolith/lib/base.php automatically sets the 
display_cals preference if there are no calendars in it.
2006-03-02 14:40:59 patrick (dot) timmons (at) polymtl (dot) ca Comment #3
New Attachment: prefs-2.0.4.php
Reply to this comment
prefs.php for both versions are straight copies of prefs.php.dist


2006-03-02 06:39:45 patrick (dot) timmons (at) polymtl (dot) ca Comment #2 Reply to this comment
The conditions under which  to display the calendar selector in 
template/menu.inc has changed from kronolith 2.0.3 to kronolith 2.0.4. 
I can see the calendar selector in 2.0.3 but not in 2.0.4




2006-03-02 06:06:35 patrick (dot) timmons (at) polymtl (dot) ca Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ New users can't create events
Queue ⇒ Kronolith
Reply to this comment
The display_cals pref is set to 'a:0:{}' for new users and I can't 
find where to select a calendar. If I replace the pref by 
'a:1:{i:0;s:23:"p999002@pop3.polymtl.ca";}' it works.

kronolith/config/prefs:

// store the calendars to diplay

$_prefs['display_cals'] = array(

     'value' => 'a:0:{}',

     'locked' => false,

     'shared' => false,

     'type' => 'implicit'

);

I believe in version 2.0.3 you could select the calendar.

Saved Queries