← Back to team overview

schooltool-developers team mailing list archive

Very strange evolve bug

 

Hey Justas,

I have lots of commits (many of them small) for you to look at
regarding test coverage and the catalog refactoring, but most
importantly, I need you to recreate a very strange bug.  All my
evolution scripts have tests, and when I evolve an older Data.fs, the
resultant data works with the new views.  However, the strangest thing
happens after I shut down the server and restart it.  All the data
reverts back to the old version for some reason.   Here are the steps
to reproduce the bug.

check out the trunk and create one student message or goal
bzr pull my new branch and copy the Data.fs from the trunk version
into the new one
do a make run and see that it evolves to generation 8
also note that you can view the message or goal with no problem in the browser
now kill the server and restart
the student intervention center or any other view that looks at the
data now crashes because the data has somehow reverted back to the
older version – strange!

Please try and reproduce this by the upcoming meeting so I know where
I stand on that front.  I have other issues/questions for the meeting,
but I'd rather you focused on this stickiest of issues first.

Thanks,
Alan