Hi,
Just install csweb 7.7.0 on Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 with 5.5.60-MariaDB - MariaDB Server, but got following error during deploy:
[2022-12-06 15:00:45] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\HttpException: "JSON does not validate. Violations: [buildTime] Invalid date-time "2022-12-06T08.00.44Z", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm " at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php line 69 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\HttpException(code: 0): JSON does not validate. Violations:\n[buildTime] Invalid date-time \"2022-12-06T08.00.44Z\", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm\n at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php:69)"} []
For now I just follow this thread to comment RFC date checks /viewtopic.php?p=12850&hilit=invalid+date#p12850 (I can't post url since this is my new accout)
and works for now, are there better sollution for this error?
Thanks,
**I have 3 account here, but unable to restore the password..no email coming, on forgot password click.
Invalid date-time format on deploy app
-
- Posts: 7
- Joined: December 6th, 2022, 8:42 am
Re: Invalid date-time format on deploy app
Can you attach the sync log? Also, the app package newly built and deployed after the new installation?
-
- Posts: 7
- Joined: December 6th, 2022, 8:42 am
Re: Invalid date-time format on deploy app
Hi,
Here is the log and app uploaded to the apps folder.
[2022-12-06 15:00:45] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\HttpException: "JSON does not validate. Violations: [buildTime] Invalid date-time "2022-12-06T08.00.44Z", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm " at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php line 69 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\HttpException(code: 0): JSON does not validate. Violations:\n[buildTime] Invalid date-time \"2022-12-06T08.00.44Z\", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm\n at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php:69)"} []
Here is the log and app uploaded to the apps folder.
[2022-12-06 15:00:45] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\HttpException: "JSON does not validate. Violations: [buildTime] Invalid date-time "2022-12-06T08.00.44Z", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm " at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php line 69 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\HttpException(code: 0): JSON does not validate. Violations:\n[buildTime] Invalid date-time \"2022-12-06T08.00.44Z\", expected format YYYY-MM-DDThh:mm:ssZ or YYYY-MM-DDThh:mm:ss+hh:mm\n at /var/www/html/csweb/src/AppBundle/CSPro/CSProJsonValidator.php:69)"} []
Thanks,
- Attachments
-
- tmpAppFHjvxs.zip
- (8.78 KiB) Downloaded 91 times
Re: Invalid date-time format on deploy app
When I tried to open the CSDS I couldn't. It complained about the datetime, so I the made the following edit to the csds (swapped periods for colons):
to
and I was able to open the file.
Try making this edit and see if you're able to deploy. If so, then it's just a matter of looking into why this datetime isn't handled.
Code: Select all
"buildTime": "2022-12-06T08.00.44Z",
Code: Select all
"buildTime": "2022-12-06T08:00:44Z",
Try making this edit and see if you're able to deploy. If so, then it's just a matter of looking into why this datetime isn't handled.
-
- Posts: 7
- Joined: December 6th, 2022, 8:42 am
Re: Invalid date-time format on deploy app
Yes, it work by manually editing the csds file using your suggestions.
Thanks,
Thanks,
aaronw wrote: ↑December 8th, 2022, 12:44 pm When I tried to open the CSDS I couldn't. It complained about the datetime, so I the made the following edit to the csds (swapped periods for colons):toCode: Select all
"buildTime": "2022-12-06T08.00.44Z",
and I was able to open the file.Code: Select all
"buildTime": "2022-12-06T08:00:44Z",
Try making this edit and see if you're able to deploy. If so, then it's just a matter of looking into why this datetime isn't handled.