•  
      request #27908 Fatal error when retrieving the linked artifacts and one cannot be seen
    Infos
    #27908
    Thomas Gerbet (tgerbet)
    2022-08-01 15:21
    2022-08-01 11:11
    29467
    Details
    Fatal error when retrieving the linked artifacts and one cannot be seen

    Side effect of request #27560.

    Trace:

    PHP message: PHP Fatal error:  Uncaught TypeError: Tuleap\Tracker\Reference\CrossReferenceValidator::removeReferenceIfNeeded(): Argument #1 ($artifact_id) must be of type int, string given, called in /usr/share/tuleap/plugins/tracker/include/Tracker/Reference/CrossReferenceValidator.php on line 45 and defined in /usr/share/tuleap/plugins/tracker/include/Tracker/Reference/CrossReferenceValidator.php:50#012Stack trace:#012#0 /usr/share/tuleap/plugins/tracker/include/Tracker/Reference/CrossReferenceValidator.php(45): Tuleap\Tracker\Reference\CrossReferenceValidator->removeReferenceIfNeeded()#012#1 /usr/share/tuleap/plugins/tracker/include/trackerPlugin.php(2056): Tuleap\Tracker\Reference\CrossReferenceValidator->removeInvalidCrossReferences()#012#2 /usr/share/tuleap/src/common/Event/EventManager.class.php(127): trackerPlugin->checkCrossReferenceValidityEvent()#012#3 /usr/share/tuleap/src/common/Plugin/PluginLoader.php(73): EventManager->eventManagerDispatch()#012#4 /usr/share/tuleap/src/common/Event/EventManager.class" while reading response header from upstream, client: X.X.X.X, server: tuleap.net, request: "GET /api/artifacts/2047/linked_artifacts?direction=forward&nature=_is_child&offset=50&limit=50 HTTP/1.1"
    
    Trackers
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2022-08-01
    Attachments
    Empty
    References

    Follow-ups

    User avatar

    Integrated into Tuleap 13.11.99.56


    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2022-08-01