Update of bug #21252 (project wesnoth):
Status: None => Need Info
Assigned to: None => lipk
_______________________________________________________
Follow-up Comment #1:
To make this a more useful report (a step-by-step process):
The error "Mandatory WML child missing yet untested for. Please report."
occurs after clicking (from the main menu) "Multiplayer" -> "Local Game" ->
"OK", then waiting for the loading bar to get most of the way across.
Some technical diagnosis:
I presume this is triggered when someone has no modifications: At some point
mp::create::process_event() decides it needs to update_mod_button_label, which
inspires it to query mp::depcheck::manager::is_modification_active(-1). That
function then thinks it would be really cool to grab a "modification" child of
a config without checking to see if such a child exists. Thus when trying to
access the ["id"] attribute of said nonexistent child, we get the error.
Not sure if there should be a check for index being negative (something
config::child() accepts), or if the obtained child should be checked for being
valid before checking its id. Or maybe something else. Deferring to someone
who knows multiplayer modifications.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21252>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs