[rt-users] Code change causing load error Help!
Rt4/share/html/Elements/QuickCreate The default owner is Meand we wanted to change that to nobody Original code in file: select type=select name=Owner option value=%$session{'CurrentUser'}-id% selected=selected%|lMe//option option value=%RT-Nobody-id%%loc('Nobody')%/option /select Tried changing to: select type=select name=Owner option value=%$session{'CurrentUser'}-id% %|lMe//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.comhttp://www.arcproductions.com inline: image001.gif -- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T
Re: [rt-users] Code change causing load error Help!
On Tue, Feb 26, 2013 at 03:01:46PM +, Raymond Corbett wrote: option value=%$session{'CurrentUser'}-id% %|lMe//option you're missing a /: |/l -- Easter-eggs Spécialiste GNU/Linux 44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité Phone: +33 (0) 1 43 35 00 37- Fax: +33 (0) 1 43 35 00 76 mailto:elac...@easter-eggs.com - http://www.easter-eggs.com -- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T
Re: [rt-users] Code change causing load error Help!
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%|/lMe//option option value=%RT-Nobody-id% selected=selected%loc('Nobody')%/option /select [cid:image002.png@01CE140D.81F376F0] From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Raymond Corbett Sent: Tuesday, February 26, 2013 10:02 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Code change causing load error Help! Rt4/share/html/Elements/QuickCreate The default owner is Meand we wanted to change that to nobody Original code in file: select type=select name=Owner option value=%$session{'CurrentUser'}-id% selected=selected%|lMe//option option value=%RT-Nobody-id%%loc('Nobody')%/option /select Tried changing to: select type=select name=Owner option value=%$session{'CurrentUser'}-id% %|lMe//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.comhttp://www.arcproductions.com inline: image002.pnginline: image003.gif -- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T
Re: [rt-users] Code change causing load error Help!
On Tue, Feb 26, 2013 at 10:39 AM, Raymond Corbett raymond.corb...@arcproductions.com wrote: 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%|/lMe//option option value=%RT-Nobody-id% selected=selected%loc('Nobody')%/option /select Those option value... should be option value -- http://www.linkedin.com/in/paultomblin http://careers.stackoverflow.com/ptomblin -- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T