Bonjour,
J’ai vu qu’il est possible d’importer un fichier ics pour ajouter des events dans le calendrier.
J’ai fait un export depuis notre solution actuelle, puis un import sur Bluemind.
Aucun event n’a été pris en compte. Je pense qu’il s’agit d’une incompatibilité dans les paramètres.
Avez-vous une documentation quant au format du fichier ics pour Bluemind ?
Merci.
Il faut regarder dans les logs de bm-core (/var/log/bm/core.log) pour connaître la raison exacte de l’échec de l’import.
Quel est votre outil actuel ?
Nous utilisons E-groupware v 1.8.
Ci-dessous un bref exemple d’export :
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//eGroupWare//NONSGML eGroupWare Calendar 1.8//FR
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;VALUE=DATE:20130513
DTEND;VALUE=DATE:20130514
CLASS:PUBLIC
SUMMARY:Formation FFFFF
DESCRIPTION:Ligne 1\nLigne 2\nLigne 3
LOCATION:UnLieu
ATTENDEE;CN=Jean
Bolomey;ROLE=CHAIR;PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;EMAIL=jean.bo
lomey@domain.org;X-EGROUPWARE-UID=33:MAILTO:jean.bolomey@domain.org
ATTENDEE;CN=Toto
Tutu;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL;RSVP=FALSE;
EMAIL=toto.tutu@domain.org;X-EGROUPWARE-UID=92:MAILTO:toto.tutu@domain.org
ORGANIZER;CN=Jean
Bolomey;X-EGROUPWARE-UID=33:MAILTO:jean.bolomey@domain.org
RRULE:FREQ=DAILY;UNTIL=20130515T095959Z
PRIORITY:5
TRANSP:OPAQUE
CATEGORIES:Informatique
UID:calendar-30025-f297c926ea992cd8e74307c0bbd8ec62
STATUS:CONFIRMED
CREATED:20130327T124700Z
LAST-MODIFIED:20130327T124700Z
DTSTAMP:20130522T145124Z
END:VEVENT
END:VCALENDAR
J’ai les infos et les erreurs suivantes :
2013-05-28 06:54:53,170 n.b.c.c.CalendarHome INFO - Adding attendee Bolomey Jean <jean.bolomey@domain.org> type: user ACCEPTED, notification: true
2013-05-28 06:54:53,170 n.b.c.c.CalendarHome INFO - Insert calendarevent, event id #999 calendarId #4
2013-05-28 06:54:53,179 n.b.c.s.SolrHelper INFO - [event 999] scheduled for solr indexing
2013-05-28 06:54:53,183 n.b.c.c.CalendarHome INFO - * Attendee jean.bolomey@domain.org user 4, notification: true
2013-05-28 06:54:53,193 n.b.c.c.CalendarHome INFO - Adding attendee Bolomey Jean <jean.bolomey@domain.org> type: user ACCEPTED, notification: true
2013-05-28 06:54:53,193 n.b.c.c.CalendarHome INFO - Insert calendarevent, event id #1000 calendarId #4
2013-05-28 06:54:53,202 n.b.c.s.SolrHelper INFO - [event 1000] scheduled for solr indexing
2013-05-28 06:54:53,205 n.b.c.c.CalendarHome INFO - * Attendee jean.bolomey@domain.org user 4, notification: true
2013-05-28 06:54:53,677 n.b.c.c.CalendarHome INFO - Insert calendarevent, event id #1028 calendarId #4
2013-05-28 06:54:53,685 n.b.c.s.SolrHelper INFO - [event 1028] scheduled for solr indexing
2013-05-28 06:54:53,686 n.b.c.s.EventIndexer INFO - [1014] indexed in SOLR
2013-05-28 06:54:53,688 n.b.c.s.EventIndexer INFO - [1013] indexed in SOLR
2013-05-28 06:54:53,689 n.b.c.c.CalendarHome INFO - * Attendee null null 0, notification: true
2013-05-28 06:54:53,690 n.b.c.c.CalendarHome ERROR - Error while fetchEntityPrimaryEmail entity type: null #0
java.lang.NullPointerException: null
at net.bluemind.core.utils.BmHelper.fetchEntityId(BmHelper.java:261) ~[net.bluemind.core_1.0.0.b8971.jar:na]
at net.bluemind.core.calendar.CalendarHome.fetchEntityPrimaryEmail(CalendarHome.java:3340) [net.bluemind.core_1.0.0.b8971.jar:na]
at net.bluemind.core.calendar.CalendarHome.insertAttendees(CalendarHome.java:1821) [net.bluemind.core_1.0.0.b8971.jar:na]
2013-05-28 06:54:53,695 n.b.c.c.CalendarHome INFO - Attendee null not found in Blue Mind, will create a contact in public_collected folder
2013-05-28 06:54:53,697 n.b.c.c.CalendarHome ERROR - ut was rolled-back
java.lang.NullPointerException: Email object with null address
at net.bluemind.core.api.contact.Email.<init>(Email.java:70) ~[net.bluemind.core.common_1.0.0.b8971.jar:na]
at net.bluemind.core.api.contact.Email.<init>(Email.java:65) ~[net.bluemind.core.common_1.0.0.b8971.jar:na]
at net.bluemind.core.calendar.CalendarHome.insertAttendees(CalendarHome.java:1856) ~[net.bluemind.core_1.0.0.b8971.jar:na]
Il semblerait qu’il y ait un soucis lors de la création d’un invités lors de l’import. Pouvez-vous nous envoyer par mail l’ICS ?
Bug ouvert.