Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashed after initiating a search in "Manage Resources" section and "Learn" page #7639

Open
Tracked by #11888
MindfulQA opened this issue Oct 28, 2020 · 1 comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) bug Behavior is wrong or broken

Comments

@MindfulQA
Copy link

Observed behavior

While attempting to perform a search in the "Manage Resources" section, the app crashed.

Expected behavior

The user should receive the relevant search results.

User-facing consequences

The user is unable to view search results and has to restart the app.

Errors and logs

INFO 2020-10-28 00:00:00,779 cherrypy.access 127.0.0.1 - - "GET /coach/api/classsummary/1312c0db219c5c01e74ee0bbe62de63f/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:01,992 cherrypy.access 127.0.0.1 - - "GET /coach/api/notifications/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:02,536 cherrypy.access 127.0.0.1 - - "GET /coach/api/classsummary/1312c0db219c5c01e74ee0bbe62de63f/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:04,067 cherrypy.access 127.0.0.1 - - "GET /coach/api/notifications/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:04,842 cherrypy.access 127.0.0.1 - - "GET /coach/api/classsummary/1312c0db219c5c01e74ee0bbe62de63f/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:04,893 cherrypy.access 127.0.0.1 - - "GET /api/lessons/lesson/be7a201bc187abc8296e658d8c910325/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:04,916 cherrypy.access 127.0.0.1 - - "GET /api/content/contentnode/descendants/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:05,940 cherrypy.access 127.0.0.1 - - "GET /coach/api/classsummary/1312c0db219c5c01e74ee0bbe62de63f/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"
INFO 2020-10-28 00:00:06,127 cherrypy.access 127.0.0.1 - - "GET /coach/api/notifications/" 200 0 "http://localhost:5000/en/coach/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)"

Steps to reproduce

Note - this is not 100% reproducible, but these were the steps taken:

  1. Open Kolibiri desktop app and log in to Coach account
  2. From the class home page, click on an existing lesson (or create a new one if there is not one already existing)
  3. The lesson should open under the "Reports" tab. From the lesson title box, click the "options" drop-down menu and click "manage resources."
  4. Enter a search term in the search bar and click the magnifying glass
  5. Observe that the app crashes

Context

macOS Catalina 12.15.7 - Kolibri version 0.14

@jonboiser jonboiser added OS: Mac bug Behavior is wrong or broken labels Oct 28, 2020
@jonboiser jonboiser changed the title App crashed after initiating a search in "Manage Resources" section App crashed after initiating a search in "Manage Resources" section and "Learn" page Oct 28, 2020
@jonboiser
Copy link
Contributor

I was able to reproduce this. It also happens if you search for resources when you enter the Manage Resources workflow from the Plan > Lessons page and when searching for resources on the Learn page. By "crash" it means the app quits running and you get a MacOS crash report modal (so it's not like a JS runtime error)

@MindfulQA, this seems to be a way I can reliably reproduce this: Whenever you do a search, keypress "Enter" on the keyboard instead of clicking the search button with the mouse. The app always crashes for me that way.

If you do a first search by clicking the button with a mouse, the search succeeds with no crash. After that initial success, other searches work for me using keyboard or not.

@jonboiser jonboiser added the APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) label Feb 20, 2021
@jonboiser jonboiser removed the OS: Mac label Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
APP: Coach Re: Coach App (lessons, quizzes, groups, reports, etc.) bug Behavior is wrong or broken
Projects
None yet
Development

No branches or pull requests

2 participants