appsmith
appsmith copied to clipboard
[Bug]: The Same events are displayed multiple times
Is there an existing issue for this?
- [X] I have searched the existing issues
Description
The Same events are displayed multiple times beacuse same API is called 2 times in network
- [ ] when user edit the workspace name from general tab the 2 update events are added
- [ ] when user change website name in general tab the unnecessary events are displayed
- [ ] when user navigate to member tab from setting menu the 2 events are added
- [ ] When user clones an app, and renames it, we get two events of the same description
Steps To Reproduce
- Login to application
- click on setting tab
- now in general tab edit website placeholder
- click on members&setting menu in home page
- click on audit log
- The same event is displayed 2 times
Public Sample App
No response
Version
http://ec2-65-2-149-212.ap-south-1.compute.amazonaws.com/applications
These are Appsmith events and audit logs just surfaces these problems up. These would have to be fixed at the source or at BE while recording the events.
These are Appsmith events and audit logs just surfaces these problems up. These would have to be fixed at the source or at BE while recording the events.
@IAmAnubhavSaini We noticed multiple API calls happening for these requests from FE. Any idea why that is happening?
I have no idea. And this has to be assigned to the pod that is the source of the duplicate events.
This doesn't require a solve. This happens only in the development servers where react renders twice. Based on discussion with @berzerkeer @IAmAnubhavSaini
Hey no @hiteshjoshi , that was not the case. I checked we are not enabling strict mode nor using React 18. So the problem lies somewhere else. We just had that discussion as a possibility but didn't conclude 😅 . So this should be reopened AFAIK.Sorry that this was not communicated to you prior.
@trishaanand/@berzerkeer - Is this still an issue we need to solve?
We see the same problem, launching an app in view mode sents a viewed
event for every page of the app even though they are not rendered. And then it sends another one for the active page.
So if i have an app with 3 pages (page1, page2, page3), when i enter the app the audit logs will say (page1,page2,page3,page1).
Consecutive page switches work correctly.