rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
23 stars 20 forks source link

[BUG] Assistant Clear All messages failed on initial attempts, then suddenly worked and Question Quota for the day displays "0" [Android ver. 6.0.32 prod] #4284

Closed knguyenjahiel closed 1 month ago

knguyenjahiel commented 1 month ago

Describe the bug In the Assistant, when "Clear All" is selected error message "Failed to clear all messages" displays during several attempts [Fig. 1.]. Eventually, messages are cleared and confirmation message "Successfully removed all messages" displays. However, the Number of Questions Remaining for the day goes to "0". Please note that I hadn't asked any questions.

To Reproduce Steps to reproduce the behavior:

  1. Select "Assistant" from bottom menu
  2. Submit a few questions
  3. Select "Clear All"
  4. See error message similar to Fig. 1 below
  5. Attempt a few more attempts to "Clear All"
  6. See message similar to Fig 2 below (which confirms "successful clearing of all messages" AND Number of Questions Remaining goes to 0.

Expected behavior

  1. I expect to see a confirmation pop-up that all my questions will be cleared, and then a verification that all messages have been successfully cleared
  2. I expect the number of questions remaining to be accurate, based on the number of questions I've posed. During the test, I had not posed any questions.

Screenshots Fig. 1. Assistant Failed to Clear All Messages Assistant_FailedtoClearAllMessages

Fig. 2. Assistant Successfully Removed All Messages, with Zero Remaining Question Quota Assistant_ClearedAllMessages_ZeroQuestions

Smartphone (please complete the following information):

TodorBachvarov commented 1 month ago

I was not able to reproduce this issue. @knguyenjahiel could you retest with version 6.0.35

knguyenjahiel commented 1 month ago

Confirming both issues have been fixed. Thank you!