Skip to content

Conversation

@tarekgh
Copy link
Member

@tarekgh tarekgh commented Nov 28, 2023

Fixes #95331

#82947

Customer Impact

When encountering a failure in parsing a date string, the exception message will lack a crucial section containing the original date string being parsed. This omission complicates the diagnosis of the failure, making it challenging to discern the underlying reason. This issue has surfaced as a recent regression in .NET 8.0 and has been reported three times within a short period.

Testing

Passed the regression tests and added more tests to cover the failing cases.

Risk

Low, the modification solely impacts the parameter of the exception message and does not alter any other aspects of the logic

@ghost ghost added the area-System.DateTime label Nov 28, 2023
@ghost ghost assigned tarekgh Nov 28, 2023
@ghost
Copy link

ghost commented Nov 28, 2023

Tagging subscribers to this area: @dotnet/area-system-datetime
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #95331

Author: tarekgh
Assignees: -
Labels:

area-System.DateTime

Milestone: -

@tarekgh tarekgh added this to the 8.0.x milestone Nov 28, 2023
@tarekgh tarekgh requested a review from stephentoub November 28, 2023 20:30
@tarekgh
Copy link
Member Author

tarekgh commented Nov 28, 2023

@stephentoub I've attempted to minimize the fix here for servicing purposes. Additionally, I've reviewed the remaining failure cases and confirmed that they are handling the situation appropriately.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tarekgh
Copy link
Member Author

tarekgh commented Nov 29, 2023

@artl93 @ericstj this is another change I want to have in the 8.0 servicing release. Could you please have a look and let me know if you have any questions? Thanks!

@artl93 artl93 self-requested a review November 29, 2023 20:26
@tarekgh tarekgh added Servicing-consider Issue for next servicing release review Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Nov 29, 2023
@tarekgh
Copy link
Member Author

tarekgh commented Nov 30, 2023

approved offline.

@tarekgh tarekgh merged commit d13cc84 into dotnet:release/8.0-staging Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.DateTime Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants