[Bug] `Trying to access array offset on value of type null` when submissions for deleted questions exist
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 62/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- JavaScript
- Sterne
- 382
- Forks
- 130
- Ø Merge
- 14 Std. 26 Min.
- Gemergte PRs (30 T.)
- 81
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus nextcloud/forms
-
Invalid input for question "Email".Evtl. vergeben @orshih6 hat das vor 8 Tagen übernommen. Offen0. Needs triage bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage bug needs info
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
nextcloud/forms#3804 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage enhancement
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage enhancement needs info
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
nextcloud/forms#3733 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
0. Needs triage enhancement needs info
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
nextcloud/forms#3732 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in nextcloud/forms
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
mongoosejs/mquery#142 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add toro4n to the data modeling toolsEvtl. vergeben @henriklantzhedstrom-prog hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
neo4j/docs-getting-started#546 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 25 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
libnativeapi/nativeapi#21 ·