mattermost / mattermost-plugin-legal-hold

Plugin to create and manage legal holds in Mattermost
Other
5 stars 2 forks source link

Postgres specific SQL function doesn't work on MySQL #40

Closed grundleborg closed 2 months ago

grundleborg commented 3 months ago
Error 1305 (42000): FUNCTION mattermost.split_part does not exist
unable to get posts batch for legal hold
github.com/mattermost/mattermost-plugin-legal-hold/server/store/sqlstore.SQLStore.GetPostsBatch
    github.com/mattermost/mattermost-plugin-legal-hold/server/store/sqlstore/legal_hold.go:79
github.com/mattermost/mattermost-plugin-legal-hold/server/legalhold.(*Execution).ExportData
    github.com/mattermost/mattermost-plugin-legal-hold/server/legalhold/legal_hold.go:131
github.com/mattermost/mattermost-plugin-legal-hold/server/legalhold.(*Execution).Execute
    github.com/mattermost/mattermost-plugin-legal-hold/server/legalhold/legal_hold.go:61
github.com/mattermost/mattermost-plugin-legal-hold/server/jobs.(*LegalHoldJob).run
    github.com/mattermost/mattermost-plugin-legal-hold/server/jobs/legal_hold_job.go:202
github.com/mattermost/mattermost-plugin-api/cluster.(*Job).run.func1
    github.com/mattermost/mattermost-plugin-api@v0.1.4/cluster/job.go:206
github.com/mattermost/mattermost-plugin-api/cluster.(*Job).run
    github.com/mattermost/mattermost-plugin-api@v0.1.4/cluster/job.go:216
runtime.goexit\n\truntime/asm_amd64.s:1650"}