Project

General

Profile

Actions

Task / Tâche #1711

closed

Meetings plugin spits HTTP 500

Added by pcdog about 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
27 September 2011
Due date:
% Done:

100%

Estimated time:

Description

tried to create meeting in the project ppts. filled values: location = "Frauenfeld, Bahnhofstrasse 85", Event Desctiption "Reguläres Vorstandsmeeting", Date 28/9/11 20:00 to 22:00 and clicked on attendees: "All" Button. Spits "internal error" aka HTTP 500.

If the accurate error message is needed, you can run the Rails app directly (in parallel) via script/server and access the server on port 3000. It'll output the error message to the shell :)


(propapbly too much information already, just trying to give a good help)

Actions #1

Updated by corvus about 13 years ago

  • Status changed from New to 2

Ich kann diesen Fehler nicht reproduzieren. Mein Vorschlag: wir treffen uns im Mummle und ich verfolge das log während du deine Eingaben machst.

Actions #2

Updated by pcdog about 13 years ago

Können wir das andersweitig lösen, ich habe nur Probleme mit Mumble.... ich ruf dich auch gerne auf das Handy an.

Actions #3

Updated by corvus about 13 years ago

  • Status changed from 2 to 3

Ich konnte das Problem nun reproduzieren. Interessanterweise tritt dies bei Administratoren nicht auf.

Der Fehler war:

NoMethodError (undefined method `local_to_utc' for nil:NilClass):
  vendor/plugins/redmine_meetings/app/models/meeting_mailer.rb:72:in `send_meeting'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal/component.rb:26:in `method_missing'
  vendor/plugins/redmine_meetings/app/models/meeting_mailer.rb:68:in `send_meeting'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal/component.rb:50:in `call'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal/component.rb:50:in `initialize'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal/component/calendar.rb:12:in `initialize'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal.rb:111:in `new'
  /var/lib/gems/1.8/gems/ri_cal-0.8.8/lib/ri_cal.rb:111:in `Calendar'
  vendor/plugins/redmine_meetings/app/models/meeting_mailer.rb:65:in `send_meeting'
  vendor/plugins/redmine_meetings/app/models/meeting.rb:77:in `deliver'
  vendor/plugins/redmine_meetings/app/models/meeting.rb:76:in `each'
  vendor/plugins/redmine_meetings/app/models/meeting.rb:76:in `deliver'
  vendor/plugins/redmine_meetings/app/controllers/meetings_controller.rb:108:in `create_meeting'
  public/dispatch.fcgi:24

Fürs erste habe ich ihn wie folgt gelöst:

vendor/plugins/redmine_meetings/app/models/meeting_mailer.rb

#        event.dtstart     = User.current.time_zone.local_to_utc(meeting.start_date)
#        event.dtend       = User.current.time_zone.local_to_utc(meeting.end_date)
        event.dtstart     = meeting.start_date
        event.dtend       = meeting.end_date

Actions #4

Updated by corvus about 13 years ago

  • Status changed from 3 to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF