Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug] `Trying to access array offset on value of type null` when submissions for deleted questions exist

クローズ
#3,713 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
api, backend

調査の方向性

Start in lib/Controller/ApiController.php at line 1273 and reproduce the issue by submitting a response to a form linked to a spreadsheet. Trace the spreadsheet update path and verify that a new submission appears automatically without the reported null or undefined-array-key errors.

索引モデルが issue の本文から書いたものです。

説明

0. Needs triage bug

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
As already described in #3694, my form is link to a spreadsheet to view result. But actually, on a new submission, this spreadsheet is not automaticaly updated. We have to go to result tab in form view and click on "Re-export spreadsheet".
In nextcloud admin logs I can see this lines when I submit e new response in form :

Trying to access array offset on value of type null at /home/nextcloud/http/apps/forms/lib/Controller/ApiController.php#1273

Undefined array key 467 at /home/nextcloud/http/apps/forms/lib/Controller/ApiController.php#1273

To Reproduce
Just submit a new response, then go to the linked spreadsheet. The new submission does not appear.

Expected behavior
I am expected the spreasheet to be updated.

Nextcloud (please complete the following information):

  • Nextcloud-Version: 34.0.4
  • Forms-Version: 5.4.0

Desktop (please complete the following information):

  • OS: Win 11
  • Browser : Firefox
  • Version : 140.16.0esr
主要言語
JavaScript
スター
383
フォーク
130
平均マージ
18時間 7分
マージ済み PR(30日)
70

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/forms のほかの issue

nextcloud/forms の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。