View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002013SphereServerexecutable - genericpublic01-08-11 07:2501-08-11 08:51
ReporterCoruja 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002013: SERV.ITEMDEF returning console error
DescriptionIF (<SERV.ITEMDEF.i_deed_<STRSUB 8 0 <BASEID>>>)
 ...
ENDIF

If i_deed_something exists it will return 1, but if i_deed_something is an undefined item it return a console error instead of return 0

00:17:ERROR:(deed_addons.scp,73)Undefined symbol 'i_deed_something'
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number1488
Attached Files

- Relationships

-  Notes
(0001201)
Coruja (developer)
01-08-11 07:45

the same occour using SERV.CHARDEF
(0001203)
MrSugarCube (administrator)
01-08-11 08:51

The error is valid. Sphere doesn't know about the 'i_deed_something' defname and doesn't understand how to parse it.

You should check <DEF0.i_deed_something> first to make sure the defname exists (in this case you should be able to safely combine both checks -> <SERV.ITEMDEF.<DEF0.i_deed_something>>).

- Issue History
Date Modified Username Field Change
01-08-11 07:25 Coruja New Issue
01-08-11 07:45 Coruja Note Added: 0001201
01-08-11 08:51 MrSugarCube Note Added: 0001203
01-08-11 08:51 MrSugarCube Status new => closed
01-08-11 08:51 MrSugarCube Resolution open => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker