[#822] not possible to activate scmhook repository hook

Description

Summary:

Detailed description

Hi,

we updatet do 6.0.4 yesterday and we can't enable an post-commit Hook.

One hook is a "Commit Tracker" and if I try to enable in, the checkbox won't be saved.

The Problem is that the query executed is an "update plugin_scmhook..", but there is no entry that can be updated.

Our solution is to insert this row when pgaffectedrows() return 0.

General Information
Submitted by:
Philipp Keidel
Date Submitted: 2016-07-21 14:38
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Permalink: https://fusionforge.org/tracker/a_follow.php/822
Actions
Internal Fields
Data Type: Bugs
Assigned to: Nobody (None)
State: Open
Priority: 3
Extra Fields
Resolution:
none
Severity:
normal
Target Release:
none
Follow-up tabs
Message  ↓
Date: 2016-07-23 12:30
Sender: Franck Villaume

can you provide more information since I cannot reproduce on a fresh FusionForge 6.0.4 + CentOS 7 installation? What kind of repository type are you using? Can you provide some screenshot? If you need to insert a row after the "update plugin_scmhook ..." query, it looks like the activation of the plugin when wrong. Can you look at the table plugin_scmhook on a fresh project who just activate scmhook plugin?

Attachments:
Size Name Date By Download
878 bytesscmhookplugin_insert_if_not_found.patch2016-07-21 14:38
Philipp Keidel
scmhookplugin_insert_if_not_found.patch

No related commits.

Field Old Value Date By
File Added514: scmhookplugin_insert_if_not_found.patch2016-07-21 14:38
Philipp Keidel

No relations found.