Comments (4)
It looks like we are not handling the case where a student has written no reviews yet, and hence reviews
is undefined. I think I can fix this.
from compass.
Yep, I'm met with the same error when I try to add my first review, it takes me to the same 'profile' route where I get the same JS error.
from compass.
This was apparently due to some configuration error (while deploying to production server). I cannot reproduce this locally and now on prod setup too.
I am leaving this issue and #45 open for further exploration and making things more robust.
from compass.
I've added some basic checking to catch this error in the future.
from compass.
Related Issues (20)
- Cannot retrieve any full review HOT 1
- Non user-friendly error when review comment is too large HOT 2
- Add sanitization and validation on inputs
- Add pagination on review pages
- Stores sessions in database
- Feature request: "Report" button next to reviews
- Feature request: "Add a review for this course" button on course page
- Highlight if data is not found
- Problems with Displayed Text HOT 2
- Add TLS support HOT 1
- Break routes into separate files
- Bug: if supplied session doesn't exist in database then server crashes instead of asking user to login again
- Redundant steer to "visit review" when duplicate module review is entered HOT 1
- Reduce size of headings in generated HTML of markdown reviews HOT 2
- Add Markdown Editor
- After a 500: internal server error, going back loses the module and session and unable to select original without selecting another first HOT 1
- Improve UI of review cards
- Add personalized dashboard for tracking modules
- Escape all values in HTML HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compass.