View Issue Details

IDProjectCategoryView StatusLast Update
0015833mantisbtapi soappublic2026-08-29 03:45
Reportersmartmantis Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0015833: if the reporter deleted, return without name
Description

for example it's cause error in mantistouch:
8: Undefined property: stdClass::$name
File: /home/support/domains/m.support.overmind/public_html/views/issue.phtml
Line: 81

But i think it's better if we handle it in the API:
soap/mc_account_api.php

patch:
if( user_exists( $p_user_id ) ) {
.......
}
else {
$t_result['name'] = lang_get( 'prefix_for_deleted_users' ) . (int) $p_user_id;
}

TagsNo tags attached.

Activities

vboctor

vboctor

2026-08-29 03:45

manager   ~0071390

Resolving as won't fix since SOAP / REST API handle this successfully by just returning the user id. The defaulting of the name to a localized name + id should be done at the client / UI level, otherwise the clients won't be able to now if the user is deleted or not, specially given that the prefix is localized.