whostand reports: mail: API allows doing mail.send({from="test",body="text"}) [note: no "to" key] and just crashes. ma ... #7898

Open
opened 2024-12-21 21:14:55 +01:00 by yourland-report · 1 comment

whostand reports a bug:

mail: API allows doing mail.send({from="test",body="text"}) [note: no "to" key] and just crashes. make "to" a required key too.

Player position:

{
	z = 1152.08203125,
	x = 2042.0910644531,
	y = 16.5
}

Player look:

{
	z = 0.86048209667206,
	x = -0.15327534079552,
	y = -0.4858777821064
}

Player information:

{
	protocol_version = 45,
	max_rtt = 0.31900000572205,
	ip_version = 6,
	lang_code = "",
	min_jitter = 0,
	max_jitter = 0.2790000140667,
	avg_jitter = 0,
	connection_uptime = 1234,
	serialization_version = 29,
	patch = 1,
	major = 5,
	version_string = "5.9.1",
	formspec_version = 7,
	state = "Active",
	avg_rtt = 0.041000001132488,
	min_rtt = 0.039000000804663,
	minor = 9
}

Player meta:

{
	fields = {
		inflicted_damage = "18868",
		digged_nodes = "2060",
		["ocean_build.last_warning"] = "1711013690",
		hotbar_size = "16",
		bitten = "0",
		played_time = "1801905",
		jointime = "1619249450",
		placed_nodes = "914",
		died = "17",
		crafted = "7398",
		yl_commons_thankyou = "55",
		repellant = "0",
		["hud_manager:yl_snowball:hud__enabled"] = "n",
		xp = "0",
		["petz:werewolf_clan_idx"] = "2",
		yl_commons_player_created = "1619249450",
		hud_state = "on",
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		["signslib:pos"] = "(2139,13,1136)",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		["stamina:level"] = "0",
		partychat = "party",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		["stamina:exhaustion"] = "87",
		arenalib_infobox_arenaID = "0",
		["petz:lycanthropy"] = "0",
		yl_commons_player_joined = "1734810911",
		["petz:werewolf"] = "0",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = -671, [\"y\"] = 63, [\"z\"] = -2961}, [\"last_death_portal\"] = 1728937693}",
		punch_count = "1325"
	}
}

Log identifier


[MOD] yl_report log identifier = NyzgEwVS7Vdu2Htu2zka5g8W3TJH62az

Profiler save:

profile-20241221T201455.json_prettyEE

Status:

# Server: version: 5.10.0-yl-test-RelWithDebInfo | game: Minetest Game | uptime: 3d 27min 18s | max lag: 0.167s | clients (1/52): whostand

Teleport command:

/teleport xyz 2042 17 1152

Compass command:

/give_compass Construction NyzgEwVS7Vdu2Htu2zka5g8W3TJH62az D2691E 2042 17 1152
whostand reports a bug: > mail: API allows doing mail.send({from="test",body="text"}) [note: no "to" key] and just crashes. make "to" a required key too. Player position: ``` { z = 1152.08203125, x = 2042.0910644531, y = 16.5 } ``` Player look: ``` { z = 0.86048209667206, x = -0.15327534079552, y = -0.4858777821064 } ``` Player information: ``` { protocol_version = 45, max_rtt = 0.31900000572205, ip_version = 6, lang_code = "", min_jitter = 0, max_jitter = 0.2790000140667, avg_jitter = 0, connection_uptime = 1234, serialization_version = 29, patch = 1, major = 5, version_string = "5.9.1", formspec_version = 7, state = "Active", avg_rtt = 0.041000001132488, min_rtt = 0.039000000804663, minor = 9 } ``` Player meta: ``` { fields = { inflicted_damage = "18868", digged_nodes = "2060", ["ocean_build.last_warning"] = "1711013690", hotbar_size = "16", bitten = "0", played_time = "1801905", jointime = "1619249450", placed_nodes = "914", died = "17", crafted = "7398", yl_commons_thankyou = "55", repellant = "0", ["hud_manager:yl_snowball:hud__enabled"] = "n", xp = "0", ["petz:werewolf_clan_idx"] = "2", yl_commons_player_created = "1619249450", hud_state = "on", ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", ["signslib:pos"] = "(2139,13,1136)", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", ["stamina:level"] = "0", partychat = "party", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", ["stamina:exhaustion"] = "87", arenalib_infobox_arenaID = "0", ["petz:lycanthropy"] = "0", yl_commons_player_joined = "1734810911", ["petz:werewolf"] = "0", yl_church = "return {[\"last_death\"] = {[\"x\"] = -671, [\"y\"] = 63, [\"z\"] = -2961}, [\"last_death_portal\"] = 1728937693}", punch_count = "1325" } } ``` Log identifier ``` [MOD] yl_report log identifier = NyzgEwVS7Vdu2Htu2zka5g8W3TJH62az ``` Profiler save: ``` profile-20241221T201455.json_prettyEE ``` Status: ``` # Server: version: 5.10.0-yl-test-RelWithDebInfo | game: Minetest Game | uptime: 3d 27min 18s | max lag: 0.167s | clients (1/52): whostand ``` Teleport command: ``` /teleport xyz 2042 17 1152 ``` Compass command: ``` /give_compass Construction NyzgEwVS7Vdu2Htu2zka5g8W3TJH62az D2691E 2042 17 1152 ```
AliasAlreadyTaken was assigned by yourland-report 2024-12-21 21:14:55 +01:00
AliasAlreadyTaken added the
1. kind/bug
3. source/mod upstream
labels 2024-12-21 22:04:36 +01:00
Member

This seems to have been fixed in 9990d56004

This seems to have been fixed in https://github.com/mt-mods/mail/commit/9990d56004df71f64708f740cc0049c516dcac03
whosit added the
4. step/ready to QA test
label 2025-05-21 19:52:09 +02:00
whosit added this to the Next milestone 2025-05-21 19:52:14 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#7898
No description provided.