-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Fix 'No date part in '' found. Upgrade from 1.9.0.x to 1.9.2.2 #923
Conversation
I'd not merge this. The error Even ...
Results in ....
|
This should be fixed outside core?
That may be an invalid date, but this patch will avoid there being a PHP warning. That is, the execution result for the case where the value being parsed is an empty string is the same, just without the PHP warning. |
If |
If I recall correctly I've seen this error triggered many times from things like automated scanners. It is annoying that it throws PHP warnings because those get logged in a more urgent way for me so it is like a false alarm whereas fixing the PHP warning lets the error just bubble up to the user and I can happily ignore it. :) |
I'll not approve this. Sorry. |
@sreichel Is this even related to |
You're right, but even an empty value is not intended .... the field isn't nullable. Instead of "fixing" the output, i'd prefer input validation. (dont know where these wrong values come from) |
Why I logged this is because it breaks a quite important element in our
shop. Feed generation that halted altogether.
It certainly is something related to php versioning somewhere. But we don’t
know where.
So maybe both views are true?
…On Thu, 14 May 2020 at 20:53, sv3n ***@***.***> wrote:
You're right, but even an empty value is not intended .... the field isn't
nullable.
Instead of "fixing" the output, i'd prefer input validation. (dont know
where these wrong values come from)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#923 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE7I257RY2SIK6WM4ZZQT3RRQ43FANCNFSM4MDD5TXQ>
.
|
Of course! From merchants view i'm with you, but imho it is still wrong. Howerever, i'll neither approve nor block this. |
Ahh, I just pushed a commit and then realized that it actually doesn't fix anything because the |
thanks
the problem arises not in view, but when exporting data (so an extension or
otherwise is accessing the data and cannot handle it ... because it is
different than expected)
this is why we proposed solution 2 also (in addition to 1)
…On Fri, May 15, 2020 at 1:53 AM Colin Mollenhour ***@***.***> wrote:
@seansan <https://github.com/seansan> please see #980
<#980>, does that address the
issue in your view?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#923 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE7I25KRO6GSHCQ5FWQNPDRRSAA7ANCNFSM4MDD5TXQ>
.
|
@seansan I think any code accessing |
…ed_at timestamp refs: OpenMage#923
…ed_at timestamp refs: OpenMage#923
https://magento.stackexchange.com/questions/93202/no-date-part-in-found-when-upgrading-from-magento-1-9-0-x-to-1-9-2-2/99914