question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incident - reportedBy should store the currently logged in user id

See original GitHub issue

🐛 Bug Report

Report incident is currently hardcoded to set reportedBy to some user instead of the currently logged in user’s id. This needs to be corrected to user the current user id from the redux store.

To Reproduce

Expected behavior

  • The incident.reportedBy should be the currently logged in user.id at the time the incident is reported
  • The list of incidents should display the user.fullName based on the incident.reportedBy

Notes

  • See src/shared/components/navbar/Navbar.tsx on how to access the user from the store

Your Environment

  • node version: 6,8,10
  • fastify version: >=1.0.0
  • os: Mac, Windows, Linux
  • any other relevant information

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:27 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
Rockingrajatcommented, Oct 27, 2021

@tehKapa I’ve created a PR can you please check?

1reaction
tehKapacommented, Aug 30, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Incident - reportedBy should store the currently logged in user id
Report incident is currently hardcoded to set reportedBy to some user instead of the currently logged in user's id. This needs to be...
Read more >
Show User ID also in the caller field of Incident - ServiceNow
Solved: Hello Experts! Can someone please tell me that in the Incident form, if I open the caller field (search for a user,...
Read more >
User ID in Google Analytics Explained with Examples
Google Analytics User ID is a unique set of alphanumeric characters ... However, the login ID should not contain personally identifiable ...
Read more >
How to get current logged in user id in process builder
And would I put that under formula ? – Kdjdnxkdks. Oct 14, 2018 at 15:44. Absolutely. In ...
Read more >
CloudTrail userIdentity element - AWS Documentation
For an example log entry, see AWS STS API Event in CloudTrail Log File. ... Note that the userName field will never contain...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found