Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
bug in manage_pending_events ?

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
diannibd



Joined: 17 Feb 2006
Posts: 5

PostPosted: Fri Feb 17, 2006    Post subject: bug in manage_pending_events ? Reply with quote

Possible bug in manage_pending_events in plans.cgi causes only the last
event in events_to_approve to be approved. The rest of the approved
events are simply deleted.


var url = plans_url+"?manage_pending_events=1&approve="+events_to_approve+"&delete="+events_to_delete;

goes to -> ?manage_pending_events in plans.cgi

//bdd uncommented below...
alert("events_to_approve: "+ events_to_approve + "\nevents_to_delete: "+ events_to_delete);

For example if the events_to_approve list contains a,b,c as shown by the
above comment, then only event "c" is added to the calendar. Events a and
b simply disappear.

The message after clicking "Do it" states that all the events were
approved but only the last event is added to the calendar.

Thanks,

Barnaby

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Plans Diagnostic information

Script Name:plans.cgi

Plans version: 7.6
Perl version: 5.8.8
script name: plans.cgi
script path: /var/www/htts
script url path: http://cowbell/htts

Theme url: http://cowbell/htts/theme
graphics url: http://cowbell/htts/theme/graphics
icons url: http://cowbell/htts/theme/icons

Options:
generate_js_lang: 0
users_file: data/users.xml
ical_import: 1
events_file: data/events.xml
pending_actions_file: data/pending_actions.xml
sendmail_location: /usr/sbin/sendmail
default_event_end_time: 18:00
email_mode: 1
data_directory: data
anonymous_events: 1
upcoming_events_cache_seconds: 0
from_address: your@address.com
language_files: us_english.pl
new_events_all_day: 1
data_storage_mode: 0
default_event_start_time: 9:00
pending_events_display: 1
right_click_menus_enabled: 1
users: 0
multi_calendar_event_mode: 0
calendars_file: data/calendars.xml
force_single_timezone: 1
new_calendar_request_notify: your@address.com
email_reminders_datafile: data/email_reminders.xml
disable_passwords: 0
unit_number_icons: 0
js_language_file: plans_lang.js
choose_themes:
all_calendars_selectable: 1
show_event_background_color_descriptions: 0
twentyfour_hour_format: 1
display_types: ARRAY(0x857f004)
reply_address: your@address.com
default_template_path: theme/plans.template
discovery_file: data/plans_discovery.xml
sessions: 1
default_theme_path: theme
new_calendars_automatically_selectable: 1
sessions_directory: sessions

# Client - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124
Firefox/1.5.0.1

# server - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Linux cowbell 2.4.21 #3 SMP Fri Jul 25 15:29:36 PDT 2003 i686 GNU/Linux
Apache/1.3.34 Server

or

Linux bdianni-lnx 2.6.15 #3 PREEMPT Mon Jan 23 14:26:51 EST 2006 i686
Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz GenuineIntel GNU/Linux

#end
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Tue Feb 21, 2006    Post subject: Reply with quote

This is a real bug (introduced in version 7.6). Thanks for reporting it!

It's fixed in the just-released 7.6.1.

- Lloyd
Back to top
View user's profile Send private message
diannibd



Joined: 17 Feb 2006
Posts: 5

PostPosted: Wed Feb 22, 2006    Post subject: Possible that 7.6.1 is not out? Reply with quote

Hello Loyd,

Thanks for the fix.

However I see that the 7.6.1 plans.cgi version seems to be in the http://www.planscalendar.com/release/plans_7.6/

directory?


Barnaby
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Wed Feb 22, 2006    Post subject: Reply with quote

Good catch. I goofed up the release process. The correct version is out there now.

- Lloyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net