Closed bradrust closed 12 years ago
Unfortunately this commit fails the unit tests. I'll look into exactly why a bit later but for now I've rolled it back.
I'll try and fix them On Sep 27, 2012 12:25 PM, "Scott Askew" notifications@github.com wrote:
Unfortunately this commit fails the unit tests. I'll look into exactly why a bit later but for now I've rolled it back.
— Reply to this email directly or view it on GitHubhttps://github.com/tacitknowledge/autopatch/pull/32#issuecomment-8948047.
In PatchTable.createPatchStoreIfNeeded, the try-catch is testing for the existence of the patches table itself. However, if the patches tables exists, it does not call the createSystemPatchRecord() method to create the patchlevel=0 for systemname.
The pull request just tests if there are any rows in the current patch row (by systemname) and if there are no rows, it calls createSystemPatchRecord().