kuba-orlik
(Kuba Orlik)
1
Beim Abstimmen über eine Umfrage erhalten alle Benutzer meiner Instanz einen 500-Serverfehler.
Im Protokoll gibt es einen Fehler:
Message (4 copies reported)
ArgumentError (comparison of Integer with nil failed)
app/controllers/application_controller.rb:387:in `block in with_resolved_locale'
app/controllers/application_controller.rb:387:in `with_resolved_locale'
lib/middleware/omniauth_bypass_middleware.rb:71:in `call'
lib/content_security_policy/middleware.rb:12:in `call'
lib/middleware/anonymous_cache.rb:356:in `call'
config/initializers/100-quiet_logger.rb:23:in `call'
config/initializers/100-silence_logger.rb:31:in `call'
lib/middleware/enforce_hostname.rb:23:in `call'
lib/middleware/request_tracker.rb:198:in `call'
Backtrace
plugins/poll/lib/poll.rb:318:in `<'
plugins/poll/lib/poll.rb:318:in `validate_votes!'
plugins/poll/lib/poll.rb:19:in `block in vote'
plugins/poll/lib/poll.rb:368:in `block in change_vote'
activerecord (6.1.4.1) lib/active_record/connection_adapters/abstract/database_statements.rb:320:in `block in transaction'
activerecord (6.1.4.1) lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
activesupport (6.1.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
activesupport (6.1.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
activesupport (6.1.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
activesupport (6.1.4.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
Env
HTTP HOSTS: forum.internet-czas-dzialac.pl
Ich verwende die neuesten Versionen der Software:
discourse 23b75d8a2b
docker_manager e5ff940
discourse-chat-integration 693c7e9
styleguide 23b75d8a
Was kann ich tun, um das Problem zu beheben?
2 „Gefällt mir“
sam
(Sam Saffron)
2
Können Sie es in einem brandneuen Beitrag reproduzieren? Können Sie es auf Meta reproduzieren? Wie lautet das Umfrage-Markup?
1 „Gefällt mir“
RGJ
(Richard - Communiteq)
3
Reproduktion auf Meta (lassen Sie das min-Attribut weg)
[poll type=multiple results=always max=2 chartType=bar]
* a
* b
[/poll]
Verursacht durch diesen Commit wird min nicht auf Existenz geprüft hier @tgxworld .
6 „Gefällt mir“
sam
(Sam Saffron)
5
Danke! Wir werden das Anfang nächster Woche klären.
5 „Gefällt mir“
tgxworld
(Alan Tan)
6
Dies wird in behoben werden
@kuba-orlik Danke für die Meldung und @RGJ danke für das Debugging.
4 „Gefällt mir“
RGJ
(Richard - Communiteq)
7
Die Fehlermeldung für die obige Testumfrage lautet nun
param is missing or the value is empty: options Did you mean? action post_id controller poll_name
was ein wirklich verwirrender Fehler ist.
tgxworld
(Alan Tan)
9
Können Sie mir die Reproduktionsschritte zur Verfügung stellen? Ich kann den Fehler, den Sie oben erwähnt haben, nicht reproduzieren.
tgxworld
(Alan Tan)
11
Das ist ein anderer Fehler, da man nicht über eine Umfrage abstimmen darf, ohne Optionen auszuwählen.
tgxworld
(Alan Tan)
12
Dies wird in behoben werden
4 „Gefällt mir“
tgxworld
(Alan Tan)
Geschlossen,
13
Dieses Thema wurde nach 4 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.