After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 380795 - calendars change id when being edited
calendars change id when being edited
Status: RESOLVED DUPLICATE of bug 318480
Product: planner
Classification: Other
Component: General
0.13
Other All
: Normal normal
: ---
Assigned To: planner-maint
planner-maint
Depends on:
Blocks:
 
 
Reported: 2006-11-30 07:13 UTC by Ulrich.Windl
Modified: 2013-03-12 09:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ulrich.Windl 2006-11-30 07:13:57 UTC
Please describe the problem:
When editing calendars, it turned out that planner did change the ids of the calendars (when saving the file). That way, the changes found when comparing the current save file with the last save file are unneccessarily large.

Steps to reproduce:
1. Have more than one calendar
2. Modify to of them
3. Save and compare saved files


Actual results:
calendar IDs change

Expected results:
calendar IDs are persistent

Does this happen every time?
not tried multiple times

Other information:
Example (diff -u snipplets):
-      <calendar id="2" name="Person1">
+      <calendar id="2" name="Person2">

         <days>
-          <day date="20061121" type="day-type" id="1"/>
-          <day date="20061122" type="day-type" id="1"/>
-          <day date="20061120" type="day-type" id="1"/>
+          <day date="20061110" type="day-type" id="1"/>
         </days>

...
-      <calendar id="4" name="Person2">
+      <calendar id="4" name="Person1">
         <days>
-          <day date="20061110" type="day-type" id="1"/>
+          <day date="20061121" type="day-type" id="1"/>
+          <day date="20061122" type="day-type" id="1"/>
+          <day date="20061120" type="day-type" id="1"/>
         </days>
Comment 1 Gilles Dartiguelongue 2008-04-25 09:56:26 UTC
actually this is something really annoying when versionning the file and it happens with pretty much each nodes. Reproducible in 0.14.3 as well.
Comment 2 Luis Menina 2013-03-12 09:45:25 UTC

*** This bug has been marked as a duplicate of bug 318480 ***