Code Monkey home page Code Monkey logo

Comments (1)

nus-pe-bot avatar nus-pe-bot commented on August 27, 2024

Team's Response

Accepted.

The bug only happens:

  1. When the app is first started up
  2. On the first command
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.