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

[CoE Starter Kit - BUG] Admin | Sync Template v3 (Environment Properties) fails sometimes with 'DateTime is less than minumum value supported' #6417

Closed
1 task done
Jenefer-Monroe opened this issue Aug 23, 2023 · 2 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@Jenefer-Monroe
Copy link
Collaborator

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

image
{
"error": {
"code": "0x80040239",
"message": "DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00",
"@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040239&client=platform",
"@Microsoft.PowerApps.CDS.InnerError.Message": "DateTime is less than minumum value supported by CrmDateTime. Actual value: 01/01/0001 00:00:00, Minimum value supported: 01/01/1753 00:00:00"
}
}

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.13

What app or flow are you having the issue with?

Admin | Sync Template v3 (Environment Properties)

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

No response

Anything else?

No response

@Jenefer-Monroe Jenefer-Monroe added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Aug 23, 2023
@Jenefer-Monroe Jenefer-Monroe self-assigned this Aug 23, 2023
@Jenefer-Monroe
Copy link
Collaborator Author

For whatever reason sometimes the product returns dates like this: "item/admin_capacityupdatedon": "0001-01-01T00:00:00Z",

Fix is to check to see if "old" and then just put null if so

@{if(less(items('Apply_to_each_capacity')?['updatedOn'], addDays(utcNow(), -10000)), null, items('Apply_to_each_capacity')?['updatedOn'])}

image

@CoEStarterKitBot
Copy link
Collaborator

@Jenefer-Monroe This has been fixed in the latest release. Please install the latest version of the toolkit following the instructions for installing updates. Note that if you do not remove the unmanaged layers as described there you will not receive updates from us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Archived in project
Development

No branches or pull requests

2 participants