Encore Merci
Je n’ai pu trouver le patch indiqué ni en suivant le lien ni en déroulant les fichiers à partir du trunk. Cordialement Julien lucas Service S2I Institut de Physique Nucleaire Orsay Bât. 100A Bur. A123b 91406 ORSAY cedex Tel: 0169157178 Fax :0169156470 De : [email protected] [mailto:[email protected]] De la part de Thomas Cataldo Envoyé : mardi 19 octobre 2010 16:22 À : LUCAS Cc : [email protected] Objet : Re: [Obm] évènement privé qui devient public après modification par iphone ou android 2010/10/19 LUCAS <[email protected]> Bonjour, Lorsque qu’un évènement privé est modifié par des téléphones IPhone (OS 4.1) ou androïd (OS 2.1) ça le fait devenir « public ». Nous l’avons testé sous OBM 2.3.11 avec o-push en 2.3.16 et avec OBM 2.3.12 et o-push en 2.3.23. Y –a-t-il une solution pour éviter ça ? Cordialement Julien lucas Service S2I Institut de Physique Nucleaire Orsay Bât. 100A Bur. A123b 91406 ORSAY cedex Tel: 0169157178 Fax :0169156470 Pour ça il vous faut ré-appliquer ce patch (qui a été reverté après...) Author: thomas <tho...@4960be54-38d8-451a-8553-e6cf61efbdcf> 2010-03-05 10:44:23 Committer: thomas <tho...@4960be54-38d8-451a-8553-e6cf61efbdcf> 2010-03-05 10:44:23 Parent: d6d27db45265ce7bce2e2aff42830c940a6a549d (lemonldap auth : allow more than one ip) Child: c1127005e37984065984e18a5dcd88e4fd94f70b (format code) Branches: master, remotes/tags/2.3.5, remotes/trunk Follows: Precedes: do not allow private->public for events git-svn-id: http://svn.obm.org/svn/obm-sync/tr...@877 4960be54-38d8-451a-8553-e6cf61efbdcf ------------- src/fr/aliacom/obm/common/calendar/CalendarHome.java ------------- index b4c2b62..a8d8ff5 100644 @@ -1316,7 +1316,8 @@ public class CalendarHome { ps.setNull(7, Types.INTEGER); } ps.setInt(8, ev.getPriority()); - ps.setInt(9, ev.getPrivacy()); + // do not allow making a private event become public from sync + ps.setInt(9, old.getPrivacy() != 1 ? ev.getPrivacy() : old.getPrivacy()); ps.setTimestamp(10, new Timestamp(ev.getDate().getTime())); ps.setInt(11, ev.getDuration()); ps.setBoolean(12, ev.isAllday());
_______________________________________________ Obm mailing list [email protected] http://list.obm.org/mailman/listinfo/obm
