[rt-users] Code change causing load error Help!

Raymond Corbett Raymond.Corbett at arcproductions.com
Tue Feb 26 10:39:09 EST 2013


Emmanuel thank you!

As Emmanuel pointed out I was missing a /

That fixed things up except now I have the owner field but no selections in the list, the Me and Nobody.

<select type="select" name="Owner">
option value="<%$session{'CurrentUser'}->id%>"><&|/l&>Me</&></option>
option value="<%RT->Nobody->id%>" selected="selected"><%loc('Nobody')%></option>
</select>

[cid:image002.png at 01CE140D.81F376F0]


From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Raymond Corbett
Sent: Tuesday, February 26, 2013 10:02 AM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Code change causing load error Help!

Rt4/share/html/Elements/QuickCreate

The default owner is Me    and  we wanted to change that to  nobody

Original code in file:

<select type="select" name="Owner">
option value="<%$session{'CurrentUser'}->id%>" selected="selected"><%><&|l&>Me</&></option>
option value="<%RT->Nobody->id%>"><%loc('Nobody')%></option>
</select>

Tried changing to:

<select type="select" name="Owner">
option value="<%$session{'CurrentUser'}->id%>" ><%><&|l&>Me</&></option>
option value="<%RT->Nobody->id%>" selected="selected"><%loc('Nobody')%></option>
</select>


Deleted mason_data/obj/*  and restarted rt4 server

Error log:
[Tue Feb 26 14:52:02 2013] [error]: could not find component for path 'l'

Stack:
  [/n/software/linux/servers/rt4/share/html/Elements/QuickCreate:65]
  [/n/software/linux/servers/rt4/share/html/Widgets/TitleBox:56]
  [/n/software/linux/servers/rt4/share/html/Elements/QuickCreate:80]
  [/n/software/linux/servers/rt4/share/html/Elements/MyRT:95]
  [/n/software/linux/servers/rt4/share/html/index.html:78]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634]
  [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335]
  [/n/software/linux/servers/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208)


[ARC]<http://www.arcproductions.com/>

Ray Corbett  Technology Projects Manager

p: 416.682.5200 x5232  | f: 416.682.5209
Arc Productions Ltd. | 230 Richmond Street East | Toronto, ON M5A 1P4
www.arcproductions.com<http://www.arcproductions.com>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130226/ef3e36cb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7360 bytes
Desc: image002.png
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130226/ef3e36cb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.gif
Type: image/gif
Size: 4654 bytes
Desc: image003.gif
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130226/ef3e36cb/attachment.gif>


More information about the rt-users mailing list