View Issue Details

IDProjectCategoryView StatusLast Update
0006539Multi Theft Auto : San AndreasServerpublic2011-09-24 17:21
ReporterMdbelenAssigned Toccw 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformlinuxOSDebian x64OS Version6
Product Version 
Target Version1.1.1 R2Fixed in Version1.1.1 R2 
Summary0006539: setResourceInfo won't update the file, if the attribute is already set
Description

Using setResourceInfo on an attribute, that already exists doesn't update the file. If you use getResourceInfo on that attribute afterwards, the new value is returned though.
But even after a clean shutdown of the server the file isn't updated, so that after restarting the server the old value is returned by getResourceInfo.

Using setResourceInfo on a not yet set attribute works well.

Steps To Reproduce

setResourceInfo(getResourceFromName('someresource'), 'asdfasdf', 'blabla1');

Check file: <info ... asdfasdf="blabla1" />

setResourceInfo(getResourceFromName('someresource'), 'asdfasdf', '2blub');

Check file: still <info ... asdfasdf="blabla1" />
getResourceInfo(..., 'asdfasdf') return 2blub though

TagsNo tags attached.

Activities

Mdbelen

2011-09-23 17:03

viewer   ~~0014891

Sry, it's 1.1.1 build 3206^^ Or something very near to that

Picard

2011-09-24 04:30

updater   ~~0014901

Issue automatically marked as fixed by mantisbot ( Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=3226 )

Issue History

Date Modified Username Field Change