jhvst / vertigo

Blog engine in Go (golang)
https://toldjuuso.github.io/vertigo
MIT License
263 stars 24 forks source link

Tests fail with latest dependencies #26

Closed jhvst closed 9 years ago

jhvst commented 9 years ago

Even though the project does use godep, I think it would be good if building and testing with the latest dependencies would work.

The failing dependency is currently gorm. Vertigo's post.Update is currently unable to commit the changes to at least SQLite.

The package was returning near "LIMIT": syntax error for query db.Where(&Post{Slug: post.Slug}).First(&post).Updates(entry). It seems like the it is unable to retrieve any records, which is kind of odd. At a fast glance I was unable to find any changes which would have caused this change.

jhvst commented 9 years ago

A later update in the gorm dependency fixed the problem.