| Summary: | Cannot view Infection Report | ||
|---|---|---|---|
| Product: | Group 15 | Reporter: | Chan Chung Kam <ckchan599-c> |
| Component: | Coronavirus Tracker | Assignee: | Chan Chung Kam <ckchan599-c> |
| Status: | CONFIRMED --- | ||
| Severity: | critical | CC: | aidanyip2-c, ckchan599-c |
| Priority: | High | ||
| Version: | 1.0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Deadline: | 2020-11-11 | ||
|
Description
Chan Chung Kam
2020-12-06 17:51:08 HKT
I can reproduce the same issue. After my investigation, the root cause of this error is the constructor of the InfectionReport called the wrong function. In InfectionReport Line 17: confirmNum = getConfirmed(); confirmNum is the int, but getConfirmed() return String Object. Solution: Replace getConfirmNum() to getConfirmed() confirmNum = getConfirmNum(); |