•  
      request #7147 Ugroup binding in tuleap is not cascaded to gerrit groups
    Infos
    #7147
    Mohamed Hassen Terzi (mohamed_hassen_terzi)
    2017-02-03 15:39
    2014-06-30 14:41
    7163
    Details
    Ugroup binding in tuleap is not cascaded to gerrit groups

    Hi there,

    I've created a binding between two ugroups on my tuleap and it was properly cascaded to my connected gerrit instance.
    While i tried to remove this binding, it fails. i found this trace in codendi_syslog:

    2014-06-30T11:16:29+00:00 [info] executing -p 29419 -i /home/codendiadm/.ssh/id_rsa-gerrit codex_support@c2x2123.cr2.st.com gerrit gsql --format json -c "DELETE\ FROM\ account_group_includes\ I\ WHERE\ I.group_id=11"
    2014-06-30T11:16:32+00:00 [debug] Result: array (
      'exit_code' => 0,
      'std_out' => '{"type":"error","message":"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'WHERE I.group_id=11\' at line 1"}',
      'std_err' => '',
    )

    it seems that there is a syntax error within gsql request, it worked properly when i removeed table alias from the delete SQL request in Git_Driver_GerritLegacy class at line 332 

     

    SCM/Gerrit
    Empty
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Denis PILAT (denis_pilat)
    Stage
    Empty
    Closed
    2017-02-03
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    Given that there is no answer, I close this request.

    • Status changed from Waiting for information to Closed
    • Close date set to 2017-02-03
    User avatar
    Hello,

    Does this issue still appear ? On my side, I'm not able to reproduce this in Tuleap 7.8

    • Status changed from New to Waiting for information
    • Reported in version cleared values: 7.1