microsoftgraph / microsoftgraph/msgraph-sdk-java

Fields, startDateTime and dueDateTime of TodoTask are being set incorrect where it is neglecting the time part.

Open
#2,278 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage type:bug
Dominant language
Java
Stars
444
Forks
154
Avg merge
18h 28m
Merged PRs (30d)
4

Description

Describe the bug

While creating or modifying a task item, the fields startDateTime and duedatetime of todotask are being set incorrectly while this is not the case for other datetimetimezone datatype fields like reminderDateTime and completedDateTime. Feels more like a backend issue as tried with graph explorer as well. please check the attached screenshot for reference.

Image

Expected behavior

Fields startDateTime and dueDatetime should be set correctly.

How to reproduce

just try to create/modify a todotask item with startDateTime or dueDateTIme fields, you would observe a discrepancy there.

SDK Version

6.14.0

Latest version known to work for scenario above?

I have checked in graph explore so i didn't check in the latest but pretty sure it is the case.

Known Workarounds

no workarounds

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Start by reproducing creation and modification of a TodoTask with startDateTime and dueDateTime in Graph Explorer and SDK 6.14.0, then trace the SDK's TodoTask datetime handling. Done means both fields preserve the supplied time component consistently with reminderDateTime and completedDateTime.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.