Bug 1653581
Summary: | Give a better error for the return of user_activity API method | ||
---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Rony Gong 🔥 <qgong> |
Component: | WebService | Assignee: | PnT DevOps Devs <hss-ied-bugs> |
Status: | CLOSED NOTABUG | QA Contact: | tools-bugs <tools-bugs> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.0 | CC: | khong, qgong |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-18 10:23:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rony Gong 🔥
2018-11-27 07:40:26 UTC
Hi Rony, I can't duplicate this, are you sure it's not a client side error? (In reply to Jeff Fearn from comment #1) > Hi Rony, I can't duplicate this, are you sure it's not a client side error? If failed if the date withou '' around: method_name=ActivityReport.user_activity {'Bugzilla_login':'${Login_Admin}','Bugzilla_password':'${Password_All}','who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'} Evaluating expression '{'Bugzilla_login':'admin1','Bugzilla_password':'1HSSQE@redhat','who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'}' failed: SyntaxError: invalid token (<string>, line 1) But it works if the date marked with '' {'Bugzilla_login':'${Login_Admin}','Bugzilla_password':'${Password_All}','who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'} (In reply to Rony Gong from comment #2) > (In reply to Jeff Fearn from comment #1) > > Hi Rony, I can't duplicate this, are you sure it's not a client side error? > > If failed if the date withou '' around: > method_name=ActivityReport.user_activity > {'Bugzilla_login':'${Login_Admin}','Bugzilla_password':'${Password_All}', > 'who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'} > > Evaluating expression > '{'Bugzilla_login':'admin1','Bugzilla_password':'1HSSQE@redhat', > 'who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'}' > failed: SyntaxError: invalid token (<string>, line 1) > > > > But it works if the date marked with '' > {'Bugzilla_login':'${Login_Admin}','Bugzilla_password':'${Password_All}', > 'who':'qgong','from':2018-08-03,'to':2018-09-03, 'sort': 'bug'} This doesn't answer my question though. Can you copy the error from the Bugzilla log files? I believe this is a client side error and the request isn't being sent to Bugzilla at all. If you can produce evidence from the Bugzilla log contradicting this then please attache it and reopen the bug. |