•  
      request #9426 API error triggered by Eclipse connector
    Infos
    #9426
    Manuel Vacelet (vaceletm)
    2016-08-29 12:42
    2016-08-29 12:41
    9703
    Details
    API error triggered by Eclipse connector

    The eclipse connector issue API call that generate error code 500, on tuleap.net:

    https://tuleap.net:443/api/user_groups/101_15/users?limit=10

    In error logs:

    [Mon Aug 29 10:38:56 2016] [error] [client 127.0.0.1] PHP Notice:  DB error ==> (SELECT user.user_id, user.user_name AS full_name, user.user_name FROM artifact_perm ap, user WHERE (user.user_id = ap.user_id) and group_artifact_id= AND perm_level in (2,3) AND ( status='A' OR status='R' OR status='S')  ORDER BY user.user_name) LIMIT 0, 10 @@ /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php at line 96 in /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php on line 156, referer: https://tuleap.net/api/explorer/
    [Mon Aug 29 10:38:56 2016] [error] [client 127.0.0.1] PHP Notice:  DB error ==> (SELECT user.user_id, user.user_name AS full_name, user.user_name FROM artifact_perm ap, user WHERE (user.user_id = ap.user_id) and group_artifact_id= AND perm_level in (2,3) AND ( status='A' OR status='R' )  ORDER BY user.user_name) @@ /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php at line 96 in /usr/share/tuleap/src/common/dao/include/DataAccessObject.class.php on line 156, referer: https://tuleap.net/api/explorer/
    [Mon Aug 29 10:38:56 2016] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function count() on a non-object in /usr/share/tuleap/src/common/project/ProjectUGroup.class.php on line 329, referer: https://tuleap.net/api/explorer/

     

    API
    8.18
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Verified
    Empty
    Attachments
    Empty
    References
    Referenced by request #9426

    Artifact Tracker v5

    rel #9211 8.18

    Follow-ups

    User avatar

    It's likely to be connected because this group (101_15) is listed by:

    GET https://tuleap.net:443/api/projects/101/user_groups