[From nobody Tue May 26 11:27:11 2026
Received: (at submit) by bugs.debian.org; 14 Sep 2022 10:14:41 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-17.8 required=4.0 tests=BAYES_00,HAS_PACKAGE,
 RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,
 XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 143; neutral, 30; spammy,
 1. spammytokens:0.969-+--models hammytokens:0.000-+--H*M:reportbug,
 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug,
 0.000-+--H*UA:reportbug, 0.000-+--merge_requests
Return-path: &lt;m@steiny.biz&gt;
Received: from relay01.alfahosting-server.de ([109.237.142.236]:59762)
 by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;m@steiny.biz&gt;) id 1oYPPl-0008W3-15
 for submit@bugs.debian.org; Wed, 14 Sep 2022 10:14:41 +0000
Received: by relay01.alfahosting-server.de (Postfix, from userid 1001)
 id EF8AF32C32C2; Wed, 14 Sep 2022 12:14:34 +0200 (CEST)
Received: from alfa3045.alfahosting-server.de (alfa3045.alfahosting-server.de
 [109.237.138.22])
 by relay01.alfahosting-server.de (Postfix) with ESMTPS id E944432C32E8
 for &lt;submit@bugs.debian.org&gt;; Wed, 14 Sep 2022 12:14:34 +0200 (CEST)
Received: from [127.0.1.1] (p548b1d17.dip0.t-ipconnect.de [84.139.29.23])
 by alfa3045.alfahosting-server.de (Postfix) with ESMTPSA id C09AA6384879;
 Wed, 14 Sep 2022 12:14:34 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Maximilian Stein &lt;m@steiny.biz&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: gitlab: failed to fetch comments in merge requests (500 Internal
 Server Error)
Message-ID: &lt;166315046483.2366206.13573189167668331506.reportbug@mia&gt;
X-Mailer: reportbug 11.5.1
Date: Wed, 14 Sep 2022 12:14:24 +0200
Delivered-To: submit@bugs.debian.org

Package: gitlab
Version: 15.3.2+ds1-1~fto11+1
Severity: normal

Dear Maintainer,

Some time after upgrading to 15.3.2 (but not from the beginning),
loading of comments in merge requests started to fail. This sounds
similar to #1019403, but I believe it is a different issue.

While loading a merge request with comments, this URI (relative to
project) fails:

    -/merge_requests/346/discussions.json?per_page=20

In the production.log, I found:

    Completed 500 Internal Server Error in 764ms (ActiveRecord: 493.9ms | Elasticsearch: 0.0ms | Allocations: 144723)

    Psych::DisallowedClass (Tried to load unspecified class: Gitlab::Diff::Position):

    app/models/diff_discussion.rb:13:in `position'
    app/models/diff_discussion.rb:51:in `cache_key'
    app/controllers/concerns/issuable_actions.rb:186:in `render_mr_discussions'


Unfortunately, I haven't found a workaround yet. Do you have any idea
how to get comments in merge requests again?

Best,
Maximilian
]