GithubHelp home page GithubHelp logo

kit's People

Contributors

noggleboggle avatar tgavankar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

kit's Issues

Exiting quiet mode incorrect string

If you toggle between quiet mode and regular mode when in scan mode, it always says "Entering scan mode" rather than the appropriate enter/exit.

UPCDAO.addEntry doesn't link user custom entries correctly

When a user custom entry is added via UPCDAO.addEntry, the foreign key for the upc_map.id entry is set to 0.

STR:

  1. Scan an item that isn't in the local or cloud DB
  2. Enter data for user-based custom entry
  3. Check scanned_entries table (or try to export)

Expected: foreign key is properly linked

Actual: foreign key is listed as 0

Exporter does not parse input correctly

repro steps:

Welcome to Kitchen Inventory Tracker
Please note that you can enter 'h' or 'help' at the prompt to get a full list of commands
Enter command> e
Enter start date (MM-DD-YYYY)>05-18-1989
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>05-18-2012
Enter end date or 'now' (MM-DD-YYYY))>now
Enter command>

DAOs don't handle SQLExceptions well

Right now, when a SQLException occurs, we just throw it in some cases, catch and print stack traces in others, etc. There is no consistency.

Also, the test case addDuplicateEntry fails.

DAO test setup/teardown not working correctly

The setup/teardown that we have for DAO tests doesn't work as intended - a lot of the tests are failing with SQLException "column upc not unique", which means that it isn't being cleaned properly. We should switch to truncating the table or something.

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.