Comments (1)
Team's Response
Accepted.
The bug only happens:
- When the app is first started up
- On the first command
- When that first command is a non-data-modifying command
As this is a very specific scenario (and the user will be able to continue using the application after the initial error; all subsequent command execute properly), the severity it set at medium.
This bug happens because some code attempts to sort the staged appointment book upon startup, resulting in the staged appointment book being different from the base appointment book. If a non-data-modifying command is executed as the first command, the change (sorting) is attributed to that command, and the app defensively prevents the change by reverting the staged appointments to the base appointments and producing the error message.
The bug can be fixed by modifying the code at this location: https://github.com/AY1920S1-CS2103-F10-1/main/blob/569608fee9380a1f1cdcb455bbf0af88a4f253c3/src/main/java/cs/f10/t1/nursetraverse/model/ModelManager.java#L93
Items for the Tester to Verify
❓ Issue severity
Team chose [severity.Medium
].
Originally [severity.High
].
- I disagree
Reason for disagreement: [replace this with your reason]
from pe.
Related Issues (11)
- `pat-list` works with extra parameters at the end HOT 1
- Minor typo for plural words in `appt-find` HOT 1
- Error messages for adding appointments not fully informative HOT 1
- Minor error in error message for `appt-edit` HOT 1
- `pat-clear` clears all patients, but not their appointments HOT 1
- Autocomplete works when adding new characters, but not when removing characters HOT 1
- Autocomplete suggestions should adapt to current state in visit HOT 1
- Visits should really be editable HOT 1
- Should switch to the right tab (patient/visit/appointment) upon entering command HOT 1
- `appt-add` with recurrence that is not an integer number gives an error 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 pe.