[Bug 6385] New: passing a non-existent uid to xarUserGetVar results in a system error, stopping page rendering
| Newsgroups | gmane.comp.cms.xaraya.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://bugs.xaraya.com/show_bug.cgi?id=6385
Summary: passing a non-existent uid to xarUserGetVar results in a
system error, stopping page rendering
Product: App - Core Aruba
Version: Weekly Tarball
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3 - Standard
Component: Roles
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US;
rv:1.9.0.11) Gecko/2009060214 Firefox/3.0.11
Build Identifier:
on a clean install, use #xarUserGetVar('name',300)# to replicate the problem.
In other words make a xarUser call to a non-existent user ID.
Reproducible: Always
Steps to Reproduce:
1. Install Xaraya
2. make a template with #xarUserGetVar('name',300)# in other words for a user
that does not exist
3. go to that page to see the system error
Actual Results:
System Error Unknown ID xarUser.php 433
Expected Results:
rather than stop rendering the page, return 'Unknown ID' as a string, in place
of the expected result
--
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
---- ** IMPORTANT ** READ BELOW ** ----
[Clip Me Start]
--------------------------------------------------------------------------
If you wish, you can reply to this message directly **however**, make sure
to use the "Reply To All" feature of your client **and** ensure that the
bug specifier is in the subject (ie: [Bug ####]). Also, you _MUST_ have
you're From or Reply-To address set to the same address you use to log
into your bugzilla account or your reply will not be attached to the bug.
--------------------------------------------------------------------------
[Clip Me End]