Ticket #44089

cityresult_fill() fetches ai data for no reason

Open Date: 2022-03-13 09:41 Last Update: 2022-04-15 08:21

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

cityresult_fill() fetch both advisor data ('adv') and ai data ('ai'). The only use for the ai data is that its existence is asserted. Event that assert should probably be checking advisor data instead.

All this has likely been introduced when advisor data was first split from ai data, and some functions really needed both while others only one of them. Because the assert it has seemed like the ai data is needed here.

Ticket History (3/5 Histories)

2022-03-13 09:41 Updated by: cazfi
  • New Ticket "cityresult_fill() fetches ai data for no reason" created
2022-03-27 19:14 Updated by: cazfi
2022-04-07 10:00 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-04-15 08:21 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login