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

Assets error when adding second date #4

Open
jon-willdooit opened this issue Aug 11, 2021 · 7 comments
Open

Assets error when adding second date #4

jon-willdooit opened this issue Aug 11, 2021 · 7 comments

Comments

@jon-willdooit
Copy link

Traceback:
TypeError: Cannot read property 'map' of undefined
at https://capital-equipment-test.willdooit.net:8443/web/content/134418-ad4c9c3/1/web.assets_frontend_lazy.js:1345:31

@Yenthe666
Copy link
Owner

@jon-willdooit thanks for reporting! Could you add some screenshots/steps please? I'm not sure where the issue is right now 🤔

@jon-willdooit
Copy link
Author

I've tried it on a clean install and another site that had a 3rd party theme installed - same result. Tried to rebuild assets etc.

Here is a link to a screen capture..

@jon-willdooit
Copy link
Author

Another sample when dates entered manually. Error occurs as soon as I start typing the first character of the "to" year:

Here is the screen capture

@Yenthe666
Copy link
Owner

Hmm interesting enough I cannot simulate it on Chrome/Firefox. Is that Safari you're using? Does it work for you in another browser?

@jon-willdooit
Copy link
Author

Looks like it could have been an issue with there not being an hourly rental rate against the selected product - this seems to have resolved the issue once the hourly rate was entered. Message was totally misleading and our devs figured it out. Hope this helps.

@Yenthe666
Copy link
Owner

Hmm interesting. Could you pass along a wrong configuration which caused this? In that case we'll make sure its not possible to get this :)

@jon-willdooit
Copy link
Author

Hi Yenth - I've created a minimal test db which demonstrates the issue. "Machine - 1 bad" has no hourly rates and has the issue. "Machine -2 Good" works OK but has an odd error after selecting the dates - "Please select a pickup and return time."

v14e_rentaltest_2021-08-18_22-01-05.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants