Skip to content
helgisteinar edited this page May 18, 2012 · 5 revisions

Versioning

How is a new version of a document created?

Updating a document does not create a new version of a document. This is achieved by inserting a document with the same name and owner uri. Versioning is pseudo generated via the filename and uri. Lowest id is version 1, next id version 2, etc. This is assuming the id is sequential and lower numbers are older records.

http://www.mongodb.org/display/DOCS/Object+IDs

How to run functional tests for FileController

If you just checkout project from repository, you need first run project using grails run-app. This will install locally all plugins and dependencies.

Otherwise, open your project from console and run next command:

grails test-app functional: FilesystemControllerFunctional
Clone this wiki locally