Skip to content

Can not submit search query #167

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

Closed
xcrezd opened this issue Aug 3, 2021 · 10 comments · Fixed by #201
Closed

Can not submit search query #167

xcrezd opened this issue Aug 3, 2021 · 10 comments · Fixed by #201

Comments

@xcrezd
Copy link

xcrezd commented Aug 3, 2021

After clicking on the "Now" button and then "submit" got the error

image

@mengyaoyang11
Copy link
Contributor

Hi @xcrezd, thanks for submitting the issue, could you please specify how/where you run sloop, if possible, could you please send me the link of the sloop instance you were running? Also, did you rebase with master to get the latest code? We appreciate if you can provide more detail which is needed to investigate the issue. Thanks!

@mengyaoyang11
Copy link
Contributor

mengyaoyang11 commented Aug 3, 2021

Also, i am wondering if you can choose the AM or PM through the date time picker, in your UI I didn't see it, ideally, it should look like this
Screen Shot 2021-08-03 at 1 25 14 PM

BTW, the Now button renders the current time in UTC format, and the maximum time to select is 7hr plus the current UTC time. So it's expected behavior that the error pops up if you select any time later than the maximum allowed selected time from date time picker. in you case, the maximum allowed time is 7:34PM on 08/03/2021. My suspect is the PM/AM missing from your sloop, and it takes AM as the maximum but actually the maximum allowed is PM. So we need to know why AM/PM is missing from your sloop

@xcrezd
Copy link
Author

xcrezd commented Aug 4, 2021

You are right, I dont have the AM/PM option.

I have built the docker image from the commit

e86b22215520900bf060e92c60c67da9ef97ef6c (HEAD -> master, tag: v1.1, origin/master, origin/HEAD)
Author: mengyaoyang11 <[email protected]>
Date:   Wed Jun 16 16:04:25 2021 -0700
    Present User Selected Time and Now in UTC format (#161)

This is the last one until now.

Also, I have these errors and messages in the Chrome developer console
image

Sloop is running on EKS 1.17v cluster, the web access is via
kubectl port-forward -n kube-system sloop-0 8080:8080

Hope it's more informative.

Thanks ahead,
Dima

@mengyaoyang11
Copy link
Contributor

Can you try building sloop from source, instruction is here: https://github.com/salesforce/sloop#build-from-source and let me know how that works? Thanks

@xcrezd
Copy link
Author

xcrezd commented Aug 5, 2021

I built and run sloop locally, but still no AM/PM option

image

image

@xcrezd
Copy link
Author

xcrezd commented Aug 5, 2021

Chrome Developer tools
image

@mengyaoyang11
Copy link
Contributor

mengyaoyang11 commented Aug 5, 2021

The error for js files in Chrome developer console should not be a big concern, I got the error in my console but I can see the am/pm setting in my datetimepicker.

I would recommend switch web browser or update the chrome version. The chrome version I use is 92.0.4515.131, can be used as a reference.

@ichasco-heytrade
Copy link

I have the same error. For me it only works with firefox. With Google Chrome 94.0.4606.61 it doesn't work

@nicolaferraro
Copy link

It does not work either on Firefox 97.0.1.

@sana-jawad
Copy link
Collaborator

@nicolaferraro the fix for this issue has been checked in #201 thanks @ryanbrainard

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

Successfully merging a pull request may close this issue.

5 participants