[Bug] `Trying to access array offset on value of type null` when submissions for deleted questions exist
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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 の本文から書いたものです。
説明
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
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/forms のほかの issue
-
[Bug]: Forms: `"CustomMessage":"The filename fallback must only contain ASCII characters."}` errorオープン1. to develop bug upstream
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextcloud/forms#3684 · コメント 6 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement needs info
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nextcloud/forms#3733 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement needs info
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/forms#3732 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
nextcloud/forms#3683 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Replace description fields with NcRichText再び着手できるかも @vishruthasgowda が 53 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン1. to develop enhancement feature: 📑 form creation good first issue javascript
nextcloud/forms#3587 · コメント 3 件 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
nextcloud/forms の issue をすべて見る
似ている issue
-
check:passed feeds:remove
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
iptv-org/database#37176 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 9 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hawk-digital-environments/HAWKI#443 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
feedback simulation workshop
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
githubnext/gh-aw-workshop#4370 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AltimateAI/vscode-dbt-power-user#2089 ·