-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
🐛 Marketplace
: ActionView::Template::Error: undefined method `strftime' for "BETWEEN 4:30 PM - 6PM":String
#1265
Comments
Marketplace
: ActionView::Template::Error: undefined method `strftime' for "BETWEEN 4:30 PM - 6PM":String
This was introduced when we changed the expected type of |
we are going from strings that mostly look like they were meant to be mostly time intervals, to one DateTime value, so there is really no good way to migrate this data. I'm going to at least try to parse the existing string-type delivery windows to Dates, which will stop the 500s and whill gives us something like:
It feels like delivery windows really need to be a time interval, and we probably want a list of them in each Marketplace. |
I have fixed the stored delivery windows, but we now have a different bug, where the cart returns its delivery window as a string:
|
I left some comments in the other P.R. but one thing we want to keep in mind is that the Delivery Window is supposed to be pretty flexible; like they do want to preserve the ability to enter a plain string describing the delivery constraints until we get to the point where we've modeled it well. So, |
- https://zinc-collective.sentry.io/issues/4031191037/?project=6052513 - #1265 - #1185 - #1269 So, it turns out the reason we were getting these errors was because I had not made the form picker smart enough to use the string value when a delivery window was not present. Now it is! Also, reverting the StoreModel stuff because it did not seem to fix the problem and I can't figure out why it's not working :'(
I've:
Which appears to have fixed the bug ! |
- https://zinc-collective.sentry.io/issues/4031191037/?project=6052513 - #1265 - #1185 - #1269 So, it turns out the reason we were getting these errors was because I had not made the form picker smart enough to use the string value when a delivery window was not present. Now it is! Also, reverting the StoreModel stuff because it did not seem to fix the problem and I can't figure out why it's not working :'(
Marketplace
:DeliveryConstraint
s #1185Sentry Issue: CONVENE-S
The text was updated successfully, but these errors were encountered: