Fehler #63
Charakterlöschung
100%
Description
Nach kritischem Fehler wurde der Charakter gelöscht!
Started GET "/characters/anselm" for 91.19.104.172 at 2013-05-25 23:21:13 +0200 Processing by CharactersController#show as HTML Parameters: {"id"=>"anselm"} Rendered characters/_ap_lp.html.erb (2.6ms) Rendered characters/_show_spells.html.erb (12.4ms) Rendered characters/show.html.erb within layouts/application (26.8ms) Rendered home/_dice.erb (1.1ms) Rendered home/_menu.html.erb (3.0ms) Rendered messages/_notifications.erb (2.0ms) Completed 200 OK in 48ms (Views: 32.4ms | ActiveRecord: 3.2ms) Started PUT "/characters/draic" for 91.19.104.172 at 2013-05-25 23:21:17 +0200 Processing by CharactersController#update as JSON Parameters: {"utf8"=>"?", "authenticity_token"=>"n3DbUnh68hwEYU1IdlXwrSTR52Hfn8p7Ae6DFUdZBWc=", "dice_result_history"=>"Erfolgswurf für <em>Langbogen</em>: 1<br/>(W20+11+1) → Krit. Fehler: 13", "id"=>"draic"} [paperclip] Saving attachments. Completed 204 No Content in 24ms (ActiveRecord: 0.0ms) Started GET "/characters/anselm?page=show_kampf" for 91.19.104.172 at 2013-05-25 23:21:20 +0200 Processing by CharactersController#show as JS Parameters: {"page"=>"show_kampf", "id"=>"anselm"} Rendered characters/_ap_lp.html.erb (1.6ms) Rendered characters/_show_kampf.html.erb (89.8ms) Rendered characters/show.js.coffee (190.2ms) Completed 200 OK in 201ms (Views: 187.5ms | ActiveRecord: 4.0ms) Started GET "/tables?target_slide=4" for 91.19.104.172 at 2013-05-25 23:21:27 +0200 Processing by DatatablesController#tables as HTML Parameters: {"target_slide"=>"4"} Rendered datatables/_abwehr_erfolg.html.erb (0.9ms) Rendered datatables/_abwehr_fehler.html.erb (1.3ms) Rendered datatables/_angriff_erfolg.html.erb (3.3ms) Rendered datatables/_angriff_fehler.html.erb (1.3ms) Rendered datatables/_verletzungen.html.erb (1.2ms) Rendered datatables/_sturz.html.erb (1.4ms) Rendered datatables/_gezielter_treffer.html.erb (1.4ms) Rendered characters/_fernkampfwaffen.html.erb (31.6ms) Rendered datatables/_kleines_ziel.html.erb (36.5ms) Rendered datatables/_handgemenge.html.erb (0.0ms) Rendered datatables/_wm.html.erb (0.0ms) Rendered datatables/tables.html.erb within layouts/application (51.7ms) Rendered home/_dice.erb (1.2ms) Rendered home/_menu.html.erb (3.4ms) Rendered messages/_notifications.erb (2.1ms) Completed 200 OK in 63ms (Views: 54.7ms | ActiveRecord: 4.9ms) Started DELETE "/characters/anselm" for 91.19.104.172 at 2013-05-25 23:21:44 +0200 Processing by CharactersController#destroy as JSON Parameters: {"utf8"=>"?", "authenticity_token"=>"zBGMZ8Vt4S9BeW0lqn5r5LynNiLjbY/X7MD1jKk5wnM=", "dice_result_history"=>"Erfolgswurf für <em>Langbogen</em>: 14<br/>(W20+11) → Erfolg: 25", "id"=>"anselm"} [paperclip] Scheduling attachments for deletion. [paperclip] Deleting attachments. Redirected to http://moam.dd-dns.de/characters Completed 302 Found in 144ms (ActiveRecord: 46.7ms) Started GET "/characters" for 91.19.104.172 at 2013-05-25 23:21:44 +0200 Processing by CharactersController#index as JSON Rendered characters/index.html.erb within layouts/application (1.7ms) Rendered home/_dice.erb (1.0ms) Rendered home/_menu.html.erb (2.8ms) Rendered messages/_notifications.erb (2.0ms) Completed 200 OK in 23ms (Views: 10.4ms | ActiveRecord: 0.7ms) Started GET "/campaigns/nagus/update_playtime?_=1369514676153" for 91.19.104.172 at 2013-05-25 23:21:47 +0200 Processing by CampaignsController#update_playtime as JSON Parameters: {"_"=>"1369514676153", "campaign_id"=>"nagus"} Rendered campaigns/update_playtime.json.erb (0.2ms) Completed 200 OK in 16ms (Views: 0.7ms | ActiveRecord: 1.6ms) Started DELETE "/characters/anselm" for 91.19.104.172 at 2013-05-25 23:21:58 +0200 Processing by CharactersController#destroy as JSON Parameters: {"utf8"=>"?", "authenticity_token"=>"zBGMZ8Vt4S9BeW0lqn5r5LynNiLjbY/X7MD1jKk5wnM=", "dice_result_history"=>"Schadenswurf für <em>Langbogen</em>: 3<br/>(1xW6+1) → 4", "id"=>"anselm"} Completed 404 Not Found in 9ms Started DELETE "/characters/anselm" for 91.19.104.172 at 2013-05-25 23:23:16 +0200 Processing by CharactersController#destroy as JSON Parameters: {"utf8"=>"?", "authenticity_token"=>"zBGMZ8Vt4S9BeW0lqn5r5LynNiLjbY/X7MD1jKk5wnM=", "dice_result_history"=>"Erfolgswurf für <em>Langbogen</em>: 1<br/>(W20+11) → Krit. Fehler: 12", "id"=>"anselm"} Completed 404 Not Found in 9ms
History
#1 Updated by Biggles over 11 years ago
Die genauen Umstände, die diesen gravierenden Bug hervorrufen, konnten bislang nicht reproduziert werden.
Es liegt aber der Verdacht nahe, dass das Formular zum Löschen des Charakters unter Umständen ungewollt clientseitig getriggert wird.
Deshalb wurden alle Vorkommnisse von $('feld-id').closest('form').trigger('submit')
zum Absenden von Formularen überprüft.
Wo immer möglich, wurden diese durch ein Submit über die ID des Formulars ersetzt in der Art $('formular-id').trigger('submit')
.
Wo dies nicht möglich war, wurde eine Einschränkung auf eine Formularklasse vorgenommen: $('feld-id').closest('form.form-class').trigger('submit')
Es muss durch ausführliche Tests geprüft werden, ob der Fehler damit behoben ist.
#2 Updated by Biggles over 11 years ago
- Status changed from Neu to In Bearbeitung
- % Done changed from 0 to 100
#3 Updated by Biggles over 11 years ago
- Target version changed from 0.3.0 to 0.4.0
#4 Updated by Biggles over 11 years ago
- Target version changed from 0.4.0 to 0.5.0
#5 Updated by Biggles over 11 years ago
- Target version changed from 0.5.0 to 0.6.0
#6 Updated by Biggles over 11 years ago
- Status changed from In Bearbeitung to Gelöst
#7 Updated by Biggles about 11 years ago
- Status changed from Gelöst to Erledigt