UniversityOfSaskatchewanCMPT371 / term-project-2024-team-4

Apache License 2.0
2 stars 2 forks source link

Error info when clicking add projectile button #103

Closed xix695 closed 7 months ago

xix695 commented 8 months ago
Screenshot 2024-03-15 at 7 01 23 PM

Could you help me to solve this?

lecegues commented 8 months ago

Need more context. Give reproducible steps on how to get the error. Describe what you were doing before the error came up.

xix695 commented 8 months ago

https://usask.cloud.panopto.eu/Panopto/Pages/Viewer.aspx?id=0cd2717a-6950-4458-bade-b1350013b13e

please check the 30 seconds video. This is what I get the error.

lecegues commented 8 months ago

After recreating the error log, I can see this error does not crash the system.

Here is the problem in more detail: https://stackoverflow.com/questions/37427508/react-changing-an-uncontrolled-input

In summary, its due an input element that transitions from being uncontrolled to controlled (it should stay in one state throughout its whole lifecycle). The error message links to both SiteModal and RegionModal, so it might be worth it to look more closely in those files

itsjorden commented 7 months ago

This issue is a little dated, as there had been refactoring within the outlined modals. Is this issue still applicable to the current system?

xix695 commented 7 months ago

ok. It's time to close it because our system already updated.