Skip to content

SourceCgit and 1.3.0: #1048: Column 'revision' cannot be null [...]

Created by: kierun

I am trying to get this plugin to work with 1.3.0. I copied the Souce and SourceCgit directories and modified the SourceCgit so that it accepts 1.30 as a dependency.

However, when I try to import all the data from a cgit repository, I get this error:

Database query failed. Error received from database was #1048: Column 'revision' cannot be null for the query: INSERT INTO mantis_plugin_Source_changeset_table ( repo_id, revision, parent, branch, user_id,
timestamp, author, message, info, ported, author_email, committer, committer_email, committer_id
) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ).

Any idea what I am doing wrong?

It is possible that the database is in a dirty state but I am not confident enough to just delete random tables just on the off chance.