Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis of DeadOccur (Task Recurrence) #15

Open
jobisoft opened this issue Nov 4, 2018 · 2 comments
Open

Analysis of DeadOccur (Task Recurrence) #15

jobisoft opened this issue Nov 4, 2018 · 2 comments
Assignees

Comments

@jobisoft
Copy link
Owner

jobisoft commented Nov 4, 2018

From @jobisoft on April 5, 2018 21:33

Exchange 2010 is not showing the full series, only the next task, which has not been completed
If a task gets completed, it gets added as a new entry with a DeadOccur=1 with its own StartDate/DueDate but the StartDate set to the start of the series.

Creating a series with 10 occurences:

 Add => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-01-31T23:00:00.000Z]
      StartDate = [2018-02-01T00:00:00.000Z]
      UtcDueDate = [2018-01-31T23:00:00.000Z]
      DueDate = [2018-02-01T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [10]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Add <= 

Completing the first:

    Add => 
     ServerId = [1:8]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-01-31T23:00:00.000Z]
      StartDate = [2018-02-01T00:00:00.000Z]
      UtcDueDate = [2018-01-31T23:00:00.000Z]
      DueDate = [2018-02-01T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [1]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [10]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [1]
      DateCompleted = [2018-04-04T22:00:00.000Z]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Add <= 
    Change => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-02-07T23:00:00.000Z]
      StartDate = [2018-02-08T00:00:00.000Z]
      UtcDueDate = [2018-02-07T23:00:00.000Z]
      DueDate = [2018-02-08T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [9]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 

Completing the second:

        Add => 
     ServerId = [1:9]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-02-07T23:00:00.000Z]
      StartDate = [2018-02-08T00:00:00.000Z]
      UtcDueDate = [2018-02-07T23:00:00.000Z]
      DueDate = [2018-02-08T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [1]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [9]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [1]
      DateCompleted = [2018-04-04T22:00:00.000Z]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Add <= 
    Change => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-02-14T23:00:00.000Z]
      StartDate = [2018-02-15T00:00:00.000Z]
      UtcDueDate = [2018-02-14T23:00:00.000Z]
      DueDate = [2018-02-15T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [8]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 

Just changing the subject of the series (will not change the subject of completed entries):

    Change => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Subject = [juhu]
      Importance = [1]
      UtcStartDate = [2018-02-14T23:00:00.000Z]
      StartDate = [2018-02-15T00:00:00.000Z]
      UtcDueDate = [2018-02-14T23:00:00.000Z]
      DueDate = [2018-02-15T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [8]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 
    

Completing the third:

        Add => 
     ServerId = [1:10]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Subject = [juhu]
      Importance = [1]
      UtcStartDate = [2018-02-14T23:00:00.000Z]
      StartDate = [2018-02-15T00:00:00.000Z]
      UtcDueDate = [2018-02-14T23:00:00.000Z]
      DueDate = [2018-02-15T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [1]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [8]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [1]
      DateCompleted = [2018-04-04T22:00:00.000Z]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Add <= 
    Change => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Subject = [juhu]
      Importance = [1]
      UtcStartDate = [2018-02-21T23:00:00.000Z]
      StartDate = [2018-02-22T00:00:00.000Z]
      UtcDueDate = [2018-02-21T23:00:00.000Z]
      DueDate = [2018-02-22T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [7]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 

Unticking the complete flag of the second occurence:

    Change => 
     ServerId = [1:9]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Importance = [1]
      UtcStartDate = [2018-02-07T23:00:00.000Z]
      StartDate = [2018-02-08T00:00:00.000Z]
      UtcDueDate = [2018-02-07T23:00:00.000Z]
      DueDate = [2018-02-08T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [1]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [9]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 

Copied from original issue: jobisoft/TbSync#63

@jobisoft
Copy link
Owner Author

jobisoft commented Nov 4, 2018

Removing the element at 22.02.2018 (the next without complete) will just shift the remaining series by 1 week (still honor the 10 occurences):

    Change => 
     ServerId = [1:7]
     ApplicationData => 
      Body => 
       Type = [1]
       EstimatedDataSize = [0]
      Body <= 
      Subject = [juhu]
      Importance = [1]
      UtcStartDate = [2018-02-28T23:00:00.000Z]
      StartDate = [2018-03-01T00:00:00.000Z]
      UtcDueDate = [2018-02-28T23:00:00.000Z]
      DueDate = [2018-03-01T00:00:00.000Z]
      Recurrence => 
       Regenerate = [0]
       DeadOccur = [0]
       Type = [1]
       Start = [2018-02-01T00:00:00.000Z]
       Occurrences = [7]
       Interval = [1]
       DayOfWeek = [16]
      Recurrence <= 
      Complete = [0]
      Sensitivity = [0]
      ReminderSet = [0]
     ApplicationData <= 
    Change <= 

@jobisoft
Copy link
Owner Author

jobisoft commented Nov 4, 2018

A delete of a completed element just deletes that element. Even if the first element is removed, the Start value of the series does not change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant