Error on Word export for specific question
Expected behaviour
User should be able to export any item to word
Current behaviour
Specific item results in error
Steps to reproduce
- Do to question: https://hhmi.cloud68.co/question/f7325caf-f53e-40fa-8a49-4366169af85f
- Export to Word
- See error
Testing environment
- Username of the user who experienced the problem: Managing Editor (Dione)
- URL where the problem occurred: https://hhmi.cloud68.co/
Error logs (if available)
Error in console:
ApolloError: Error: WaxToDocxConverter: RangeError: Invalid array length
at new t (main.8de8348d.js:2:7509438)
at main.8de8348d.js:2:7554117
at n (main.8de8348d.js:2:7658288)
at main.8de8348d.js:2:7658213
at new Promise (<anonymous>)
at Object.then (main.8de8348d.js:2:7658179)
at Object.next (main.8de8348d.js:2:7658298)
at y (main.8de8348d.js:2:7701495)
at b (main.8de8348d.js:2:7702001)
at t.next (main.8de8348d.js:2:7702534)
Possible solution
- Update Word converter
- Write relevant unit test
- Improve error message in UI if possible
QA Steps
[To be completed by Coko]
Scheduling
[To be completed by Coko]
- Dependencies: [provide issue numbers]
- Development estimate: [provide in hours]