This week was crazy busy. I believe I worked around 60-70 hours, however I’m starting to get used to the long hours, time really seems to fly at work now. We ran into a big problem this week that really set us back. During our integration testing for the application we realized that we were saving duplicate data to the database which was causing exceptions to be thrown. At first I thought there was a bug in my database writer but after a couple hours of debugging I realized that the problem was actually because of how our stop based freight moved object was structured. This meant huge changes to our application. In the end we decided the simplest and most effective solution was to have the stop object be set up like a graph where each sub object relates back to its parent. This way if you were given any part of the stop you could “walk” across the entire freight move. We also added functionality to reuse objects when the data is the same instead of creating new ones. This way we could reuse references and only save an object once per freight move. This wasn’t the ideal solution but it allowed us to keep the object at a stop level so as to not break all the existing methods in the application. We had to rush this fix and begin testing again hence the long hours but I’m starting to enjoy the coding and free pizza.