se-process-and-tools's Introduction
se-process-and-tools's People
se-process-and-tools's Issues
Controller.java - getShifts sometimes doesn't display the correct shifts
test that is failing: getShift2().
Utility.java - Add new booking validation
Adding a booking in an invalid period currently works
Adding a booking with a non-existent customer currently works
Viewing working times pushes the third period to the next day
There is a bug that whenever there is 3 or more working times, the third one is pushed to the following day when viewing them in the view working times owner's menu.
OwnerPreferencesController.java - Color Picker producing a null pointer exception when trying to access it
Utility.java - An employee validation
Can currently:
Add an employee with the same timetable ID as another employee
Add an employee with a duplicate ID
Add an employee to a non existent business
Due to how businesses are currently structured, you can eliminate the business variable.
Controller.java - Remove a booking without the business field
Shouldn't be able to remove a booking without referencing the business.
The way businesses are handled means we don't really need to reference a business anyway.
Controller.java - Adding a booking that overlaps with another booking currently works
It shouldn't work, test name: addNewBooking03().
Controller.java - getCustomerList() returns all users instead of just Customers
Controller.java - Add service input validation
Currently there is no validation for:
Service name
Service duration e.g negative duration, duration that isn't an increment of 30.
Service cost e.g negative cost
Controller.java - Remove a booking with an invalid ID
If the booking doesn't exist, it should return false. It currently returns true.
Exception thrown when user types wrong username
Title explains it all. Here is the error trace:
http://screencloud.net/v/reWrz
Utility.java - Removing a booking without specifying a business shouldn't work
This should be refactored considering that the way businesses are handled in the system is different. Removing bookings doesn't require the business variable anymore as there will be a business in focus when handling bookings.
Controller.java - getAllCustomers currently grabs all users instead of just customers
NullPointerException SQLConnection getShiftsByPeriodStart
Probably comes from the fact the db is empty. We need a special case for this, as new businesses start off with an empty db.
The time is 14 hrs behind
When converting the time from Unix time to a Java date, the time is always 14 hours behind. The current workaround is to add 14 hrs.
Can use negative values in the time field in Add Service
Controller.java - Adding an employee with a null owner currently works
You shouldn't be able to add an employee without an owner.
Alternatively adding an employee should depend on the internal current business variable in utility.
AddBooking timepicker doesn't appear on near-empty database (and Change Working Times)
Controller.java - addCustomer validation
Add customer with invalid username
Add customer with invalid phone number
Add customer without a password
Add customer without a username
Utility.java - Adding a shift of duration 0 should be invalid
createTables issue, function no longer required in Main, UtilityTest, and SQLiteConnectionTest
Can add a new booking in the past
Controller.java - getBookingsAfter isn't always returning the correct bookings
Tests that are failing on the given db:
getBookingsAfter1()
getBookingsAfter2()
getBookingsAfter6()
Controller.java - Get employee booking availability sometimes returns too many availabilities
Get employee booking availability for employee 3 after 2147410000 returns an availability when it shouldn't have any available times after that time.
Controller.java - Adding a working time of duration 0 currently works
Shouldn't be able to add a working time of duration 0
Utility.java - getEmployeeBookingAvailability isn't returning the correct availabilities
Tests that fail on the supplied test db:
Get all bookings on or after 2147410000 for employee 3, which should be none
Get all bookings on or after 1497522600 for employee 3, which should be 1
Only booking available after 1497522600 for employee 3 should start at 1497508200
Get all bookings on or after 1497522601 for employee 3, which should be none
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.