Differences in feed modification behavior between Web UI and API
Closed this issue · 1 comments
I noticed that when modifying a feed through the web form (e.g., disabling the feed), upon form submission, both the parsing error count and error message of that feed are reset.
However, this reset process doesn't occur when modifying the feed via API.
After examining the relevant code, I found that the reset operation appears to be automatically performed during form processing:
Lines 58 to 59 in c3016a4
This operation is not present in the API modification flow.
I'd like to know if this difference in behavior is intentional or an oversight.
If it's not intentional, perhaps we could synchronize this logic by adding originalFeed.ResetErrorCounter()
to the API handling code.
It's probably an oversight. The same behavior could be added to the API endpoint for consistency.