omz/AppSales-Mobile — Issue #178: An update notice pops up on every start because old reports cannot be imported.
Author: henmue
Created: 2011-10-25 16:07:31+00:00
State: open

Hi there!

I have some old daily reports that aren't imported by AppSales. Thus, they are never deleted and I get an update/import popup everytime I open the app. I browsed the code and found that in the class ReportImportOperation an if clause that causes the error:

if (![existingDates containsObject:reportDate]) { ... import ... delete the old file ... }

So, it seems that there is already data for a certain date and it is assumed that there cannot be an old report for the same day. But apparently there can and the case should also be catched.

Best regards
Henry