•  
      request #5973 Fatal error when submitting an artifact
    Infos
    #5973
    Yannis ROSSETTO (rossettoy)
    2014-01-24 12:19
    2014-01-24 10:57
    6078
    Details
    Fatal error when submitting an artifact
    When I submit an artifact, I've got a blank page and the following error in my /var/log/httpd/error_log :

    PHP Notice: DB error ==> UPDATE tracker_field_list_bind_static_value\n SET rank = CASE id END\n WHERE id IN () @@ /usr/share/codendi/src/common/dao/include/DataAccessObject.class.php at line 144 in /usr/share/codendi/src/common/dao/include/DataAccessObject.class.php on line 152, referer: https://TULEAP_URL/plugins/tracker/?tracker=233&func=admin-formElements

    PHP Fatal error: Call to a member function getArtifactIds() on a non-object in /usr/share/codendi/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php on line 980, referer: https://TULEAP_URL/plugins/tracker/?tracker=233&func=submit-artifact

    PHP Fatal error: Call to a member function getArtifactIds() on a non-object in /usr/share/codendi/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php on line 980, referer: https://TULEAP_URL/plugins/tracker/?tracker=233&func=submit-artifact

    PHP Fatal error: Call to a member function getArtifactIds() on a non-object in /usr/share/codendi/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php on line 980, referer: https://TULEAP_URL/plugins/tracker/?tracker=233&func=submit-artifact

    PHP Fatal error: Call to a member function getArtifactIds() on a non-object in /usr/share/codendi/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_ArtifactLink.class.php on line 980, referer: https://TULEAP_URL/plugins/tracker/?tracker=233&func=new-artifact
    Trackers
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2014-01-24
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    This come from a misconfiguration of the trackers.

    When there is a hierarchy between two trackers, you must put an artifact link field on the parent tracker.

    Closing the request as there is a workaround.

    • Status changed from Acknowledged to Closed
    • Assigned to changed from None to Nicolas Terray (nterray)
    • Close date set to 2014-01-24