[rt-users] rt-validator does not delete osbolete ObjectCustomFieldValue records
Hi, We're trying to do a large cleanup of our database. There are a lot of obsolete ObjectCustomFieldValue records that are related to deleted tickets. I would expect rt-validator to both delete related Transactions AND The ObjectCustomFieldValue records themselves. This is not happening, although it does detect issues - for example: === Record #33716942 in ObjectCustomFieldValues references a nonexistent record in Tickets ObjectId = '6417200' = id === Record #1 in ObjectCustomFieldValues references a nonexistent record in Transactions ObjectId = '8651463' = id === After spending a lot on time on this, I came to realize that the sub in rt-validator for custom fields integrity does not use delete_record at all. Example that uses delete_record: === push @CHECKS, 'Tickets - Role Groups' = sub { # XXX: we check only that there is at least one group for a queue # from queue to group check_integrity( 'Tickets', 'id' = 'Groups', 'Instance', join_condition = 't.Domain = ?', bind_values = [ 'RT::Ticket-Role' ], ); # from group to ticket check_integrity( 'Groups', 'Instance' = 'Tickets', 'id', condition = 's.Domain = ?', bind_values = [ 'RT::Ticket-Role' ], action = sub { my $id = shift; return unless prompt( 'Delete', Found a role group of a nonexistent ticket. ); delete_record( 'Groups', $id ); }, ); }; === Now, custom field checks are done this way, without delete_record: === push @CHECKS, 'CustomFields and friends' = sub { #XXX: ObjectCustomFields needs more love check_integrity( 'CustomFieldValues', 'CustomField' = 'CustomFields', 'id', ); check_integrity( 'ObjectCustomFieldValues', 'CustomField' = 'CustomFields', 'id', ); foreach my $model ( @models ) { check_integrity( 'ObjectCustomFieldValues', 'ObjectId' = m2t($model), 'id', condition = 's.ObjectType = ?', bind_values = [ RT::$model ], ); } }; === I'm not entirely safe with putting a delete_record somewhere in there. Can someone chime in about what would be my best course of action ? Thanks, David Moreau Simard
[rt-users] Show History on Update Page
I am wanting to customize the update page (reply or resolve) so that the History section also shows on the page. We want to see the ticket history to know what we are replying or commenting to. Can someone assist in getting that info on the page? I have already placed the Update.html in my local folder but perl is not my strongsuit. Taking that a step further, is it possible to have the first comment in the reply? Would that be a template change? Help is appreciated. Thanks. Jason Ledford Systems Analyst The Biltmore Companyhttp://www.biltmore.com/ One North Pack Square Asheville, NC 28801 (828) 225-6127
[rt-users] make fixdeps error
I am starting a new install on RHEL6 and getting this error after running make fixdeps. I've already installed all dependencies via CPAN as best I can tell. I looked at the line generating the error in the script and can't easily tell what it's doing. Test Summary Report --- t/01plack-test.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/02graceful.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/03post.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04-bumpy-life.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/05server-header.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/06harakiri.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/07remote_port.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08chunked_req.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/09chunked_zero_length.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=10, Tests=1, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.44 cusr 0.08 csys = 0.57 CPU) Result: FAIL Failed 9/10 test programs. 0/1 subtests failed. make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/root/.cpan/build/Starlet-0.20-Cis82r' KAZUHO/Starlet-0.20.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KAZUHO/Starlet-0.20.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install make test had returned bad status, won't install without force SMTP dependencies: Net::SMTP ...found USERLOGO dependencies: Convert::Color ...found Can't exec ./sbin/rt-test-dependencies: No such file or directory at ./sbin/rt-test-dependencies line 419.
Re: [rt-users] make fixdeps error
rt-4.0.17 in case that's not clear. On Thu, Aug 29, 2013 at 9:16 AM, Dewhirst, Rob robdewhi...@gmail.comwrote: I am starting a new install on RHEL6 and getting this error after running make fixdeps. I've already installed all dependencies via CPAN as best I can tell. I looked at the line generating the error in the script and can't easily tell what it's doing. Test Summary Report --- t/01plack-test.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/02graceful.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/03post.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04-bumpy-life.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/05server-header.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/06harakiri.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/07remote_port.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08chunked_req.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/09chunked_zero_length.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=10, Tests=1, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.44 cusr 0.08 csys = 0.57 CPU) Result: FAIL Failed 9/10 test programs. 0/1 subtests failed. make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/root/.cpan/build/Starlet-0.20-Cis82r' KAZUHO/Starlet-0.20.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KAZUHO/Starlet-0.20.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install make test had returned bad status, won't install without force SMTP dependencies: Net::SMTP ...found USERLOGO dependencies: Convert::Color ...found Can't exec ./sbin/rt-test-dependencies: No such file or directory at ./sbin/rt-test-dependencies line 419.
Re: [rt-users] make fixdeps error
You've cut to much of the output. I see that script tries and fails to restart itself to get fresh environment. You can run it again yourself, but as I said it's not enough of the output to see what's wrong with Plack. On Thu, Aug 29, 2013 at 6:16 PM, Dewhirst, Rob robdewhi...@gmail.comwrote: I am starting a new install on RHEL6 and getting this error after running make fixdeps. I've already installed all dependencies via CPAN as best I can tell. I looked at the line generating the error in the script and can't easily tell what it's doing. Test Summary Report --- t/01plack-test.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/02graceful.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/03post.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04-bumpy-life.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/05server-header.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/06harakiri.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/07remote_port.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08chunked_req.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/09chunked_zero_length.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=10, Tests=1, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.44 cusr 0.08 csys = 0.57 CPU) Result: FAIL Failed 9/10 test programs. 0/1 subtests failed. make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/root/.cpan/build/Starlet-0.20-Cis82r' KAZUHO/Starlet-0.20.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KAZUHO/Starlet-0.20.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install make test had returned bad status, won't install without force SMTP dependencies: Net::SMTP ...found USERLOGO dependencies: Convert::Color ...found Can't exec ./sbin/rt-test-dependencies: No such file or directory at ./sbin/rt-test-dependencies line 419. -- Best regards, Ruslan.
Re: [rt-users] Show History on Update Page
Hi, Grep Ticket/Display.html for History and more importantly take a look at Ticket/Hisotry.html file. Work from these examples to embed history in Update.html. On Thu, Aug 29, 2013 at 5:45 PM, Jason Ledford jledf...@biltmore.comwrote: I am wanting to customize the update page (reply or resolve) so that the History section also shows on the page. We want to see the ticket history to know what we are replying or commenting to. Can someone assist in getting that info on the page? I have already placed the Update.html in my local folder but perl is not my strongsuit. Taking that a step further, is it possible to have the first comment in the reply? Would that be a template change? Help is appreciated. Thanks. ** ** Jason Ledford *Systems Analyst* The Biltmore Company http://www.biltmore.com/ One North Pack Square Asheville, NC 28801 (828) 225-6127 ** ** -- Best regards, Ruslan.
Re: [rt-users] make fixdeps error
There's a LOT of output from this script -- how much do you need to make it useful? On Thu, Aug 29, 2013 at 9:46 AM, Ruslan Zakirov r...@bestpractical.comwrote: You've cut to much of the output. I see that script tries and fails to restart itself to get fresh environment. You can run it again yourself, but as I said it's not enough of the output to see what's wrong with Plack. On Thu, Aug 29, 2013 at 6:16 PM, Dewhirst, Rob robdewhi...@gmail.comwrote: I am starting a new install on RHEL6 and getting this error after running make fixdeps. I've already installed all dependencies via CPAN as best I can tell. I looked at the line generating the error in the script and can't easily tell what it's doing. Test Summary Report --- t/01plack-test.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/02graceful.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/03post.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/04-bumpy-life.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/05server-header.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/06harakiri.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/07remote_port.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/08chunked_req.t(Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/09chunked_zero_length.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=10, Tests=1, 0 wallclock secs ( 0.02 usr 0.03 sys + 0.44 cusr 0.08 csys = 0.57 CPU) Result: FAIL Failed 9/10 test programs. 0/1 subtests failed. make[1]: *** [test_dynamic] Error 2 make[1]: Leaving directory `/root/.cpan/build/Starlet-0.20-Cis82r' KAZUHO/Starlet-0.20.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KAZUHO/Starlet-0.20.tar.gz Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make install make test had returned bad status, won't install without force SMTP dependencies: Net::SMTP ...found USERLOGO dependencies: Convert::Color ...found Can't exec ./sbin/rt-test-dependencies: No such file or directory at ./sbin/rt-test-dependencies line 419. -- Best regards, Ruslan.
[rt-users] Global RT at a Glance not taking effect
Hi all, I've got an issue with RT at a glance global configuration not working. I want only Dashboards to be visible on the homepage after a user logs in. I've set the following in tools configuration Global RT at a Glance RT at a glance body: Dasboards RT at a glance: Summary: blank When logging in as root this applies fine. When logging in as any other users ( we use RT External Auth) it does not apply. I also tried setting: Set ( $HomepageComponents, [qw(Dashboards)]); in RT_SiteConfig.pm But that didn't work either. Users can access Dashboards fine, so it doesn't appear to be a permissions issue, i just want them only to be able to see their dashboards rather than have to navigate to them. Could anyone assist please? RT Version is 4.0.1, External Auth is version 0.12 Many thanks.
[rt-users] Can't load UntouchedInHours module
I'm working with Request Tracker 4.0.7 on Debian Wheezy 7.0.1 and am attempting to configure rt-crontool and UntouchedInHours.pm as presented on the Wiki (http://requesttracker.wikia.com/wiki/UntouchedInHours) I'm running the following rt-crontool command: /usr/bin/rt-crontool \ --search RT::Search::FromSQL \ --search-arg Queue = '1' AND (Status = 'new' OR Status = 'open' ) AND Owner != 'Nobody' \ --condition RT::Condition::UntouchedInHours --condition-arg 4 \ --action RT::Action::SendEmail \ --template Custom - Untouched Ticket Notification \ --transaction 'last' \ --transaction-type 'Correspond,Comment,Status' \ --verbose echo Which returns the following result: [Thu Aug 29 17:32:17 2013] [critical]: Failed to load module RT::Condition::UntouchedInHours. () at /usr/bin/rt-crontool line 307. (/usr/share/request-tracker4/lib/RT.pm:351) Failed to load module RT::Condition::UntouchedInHours. () at /usr/bin/rt-crontool line 307. I'm taking that to mean that there is a programming pub in UntouchedInHours.pm that is preventing it from being called correctly but for the life of me I can't seem to find it anywhere. It was copied verbatim from the Wiki: root@DorJnuASD-RT:~/Bin# cat /usr/share/request-tracker4/lib/RT/Condition/UntouchedInHours.pm package RT::Condition::UntouchedInHours; require RT::Condition::Generic; use RT::Date; @ISA = qw(RT::Condition::Generic); use strict; use vars qw/@ISA/; sub IsApplicable { my $self = shift; if ((time()-$self-TicketObj-LastUpdatedObj-Unix)/3600 = $self-Argument) { return 1; } else { return 0; } } # The following could be omitted. They're there to allow overrides from Vendor and Local # but as this isn't a core module, they're just there for completeness :) eval require RT::Condition::UntouchedInHours_Vendor; die $@ if ($@ $@ !~ qr{^Can't locate RT/Condition/UntouchedInHours_Vendor.pm}); eval require RT::Condition::UntouchedInHours_Local; die $@ if ($@ $@ !~ qr{^Can't locate RT/Condition/UntouchedInHours_Local.pm}); 1; The permissions look appropriate as well: root@DorJnuASD-RT:~/Bin# ls -la /usr/share/request-tracker4/lib/RT/Condition/ total 60 drwxr-xr-x 2 root root 4096 Aug 29 09:24 . drwxr-xr-x 17 root root 4096 Jun 11 11:27 .. -rw-r--r-- 1 root root 2247 May 22 09:49 AnyTransaction.pm -rw-r--r-- 1 root root 2742 May 22 09:49 BeforeDue.pm -rw-r--r-- 1 root root 2677 May 22 09:49 CloseTicket.pm -rw-r--r-- 1 root root 2475 May 22 09:49 Overdue.pm -rw-r--r-- 1 root root 2351 May 22 09:49 OwnerChange.pm -rw-r--r-- 1 root root 2356 May 22 09:49 PriorityChange.pm -rw-r--r-- 1 root root 2325 May 22 09:49 PriorityExceeds.pm -rw-r--r-- 1 root root 2306 May 22 09:49 QueueChange.pm lrwxrwxrwx 1 root root9 Aug 29 08:37 RCS - /root/RCS -rw-r--r-- 1 root root 2829 May 22 09:49 ReopenTicket.pm -rw-r--r-- 1 root root 4593 May 22 09:49 StatusChange.pm -rw-r--r-- 1 root root 800 Aug 29 09:23 UntouchedInHours.pm -rw-r--r-- 1 root root 2458 May 22 09:49 UserDefined.pm Any idea what I'm missing here? Thanks. --- Kevin Elliott Networking Specialist II Alaska Department of Revenue, ASD-IT (907) 465-2314
[rt-users] Upgrading from 4.0.5 to 4.0.17
Hi, I just want to verify the steps I would need to take in order to upgrade to the latest version of RT. Currently I have setup /opt/rt4.0.5 /opt/rt4 -- symlink to 4.0.5 /opt/rt-4.0.17 I know I will need to copy the the RT_SiteConfig.pm to the new version. Will I need to copy any files (other than my theme) over? Am I missing anything else? Thanks, Tom
Re: [rt-users] Most efficient way to update custom fields without creating too many transactions
On Tue, Aug 27, 2013 at 09:36:53AM -0700, Landon Stewart wrote: On 27 August 2013 09:27, Kevin Falcone [1]falc...@bestpractical.com wrote: It'd be safer to use the RecordTransaction argument to AddCustomFieldValue which tells RT whether or not to record a transaction. This avoids the problem of directly manipulating OCFVs and potentially truncating them when you shove content 255 into the Content field. RT transparently bounces between the Content and LargeContent field as needed if you use the API. So, to be clear here, if in my RT::Action::ModuleName action module if I use something like this: $Ticket-AddCustomFieldValue( Field = 'Customer', Value = join(\n,@customerids), RecordTransaction = 0 ); And if @customerids contained a list of 1000 five or six digit numbers it would not choke on that many because LargeContent would get used or because I'm not recording the transaction at all? Or am I mistaken here somewhere still? Because Custom Fields can hold a LONGBLOB worth of data. Go save a large text CF and look in the database. Saving them as 1000 individual values makes 1000 records in the database, saving them as 1 large record makes 1 record. These are treated differently on update and display. If you follow the advice of the wiki article that was linked to and reach around the API, you'll hurt yourself. Not recording transactions is orthogonal to the size of the data which can be recorded. -kevin pgp3AI4ngPFzE.pgp Description: PGP signature
Re: [rt-users] Upgrading from 4.0.5 to 4.0.17
On Thu, Aug 29, 2013 at 05:46:16PM +, Thomas Misilo wrote: I just want to verify the steps I would need to take in order to upgrade to the latest version of RT. Currently I have setup /opt/rt4.0.5 /opt/rt4 `a symlink to 4.0.5 /opt/rt-4.0.17 I know I will need to copy the the RT_SiteConfig.pm to the new version. Will I need to copy any files (other than my theme) over? You should not copy any files other than the config or other local modifications. There are database changes between those versions you will need to run. You should be following any upgrading steps listed in the README and UPGRADING-4.0 document. http://bestpractical.com/docs/rt/latest/README.html http://bestpractical.com/docs/rt/latest/UPGRADING-4.0.html#UPGRADING-FROM-4.0.5-AND-EARLIER -kevin pgpUnfLA6v8St.pgp Description: PGP signature
Re: [rt-users] Can't load UntouchedInHours module
On Thu, Aug 29, 2013 at 05:39:33PM +, Elliott, Kevin C (DOR) wrote: [Thu Aug 29 17:32:17 2013] [critical]: Failed to load module RT::Condition::UntouchedInHours. () at /usr/bin/rt-crontool line 307. (/usr/share/request-tracker4/lib/RT.pm:351) Failed to load module RT::Condition::UntouchedInHours. () at /usr/bin/rt-crontool line 307. root@DorJnuASD-RT:~/Bin# cat /usr/share/request-tracker4/lib/RT/Condition/UntouchedInHours.pm package RT::Condition::UntouchedInHours; require RT::Condition::Generic; use RT::Date; @ISA = qw(RT::Condition::Generic); At the very least, this line is wrong: http://bestpractical.com/docs/rt/latest/UPGRADING-4.0.html#Removals-and-updates You want to inherit from RT::Condition. -kevin use strict; use vars qw/@ISA/; sub IsApplicable { my $self = shift; if ((time()-$self-TicketObj-LastUpdatedObj-Unix)/3600 = $self-Argument) { return 1; } else { return 0; } } # The following could be omitted. They're there to allow overrides from Vendor and Local # but as this isn't a core module, they're just there for completeness :) eval require RT::Condition::UntouchedInHours_Vendor; die $@ if ($@ $@ !~ qr{^Can't locate RT/Condition/UntouchedInHours_Vendor.pm}); eval require RT::Condition::UntouchedInHours_Local; die $@ if ($@ $@ !~ qr{^Can't locate RT/Condition/UntouchedInHours_Local.pm}); 1; pgpiiIBY6yrz1.pgp Description: PGP signature
Re: [rt-users] Global RT at a Glance not taking effect
On Thu, Aug 29, 2013 at 05:34:14PM +0100, Guy Baxter wrote: Hi all, I've got an issue with RT at a glance global configuration not working. I want only Dashboards to be visible on the homepage after a user logs in. I've set the following in tools configuration Global RT at a Glance RT at a glance body: Dasboards RT at a glance: Summary: blank When logging in as root this applies fine. When logging in as any other users ( we use RT External Auth) it does not apply. Do these users have their own homepage settings from previous use/customization? You will need to reset that, or just clear their homepage preferences in the Attributes table in the database. I also tried setting: Set ( $HomepageComponents, [qw(Dashboards)]); in RT_SiteConfig.pm But that didn't work either. HomepageComponents doesn't forcibly turn off components in 4.0. It will in 4.2 Users can access Dashboards fine, so it doesn't appear to be a permissions issue, i just want them only to be able to see their dashboards rather than have to navigate to them. Could anyone assist please? RT Version is 4.0.1, External Auth is version 0.12 With 4.0.1, you could be running into some bug (4.0.17 is current) but start by resetting homepage settings for one of your external auth users and seeing if that fixes it. Homepages are also cached in the session, so you need to log in and out. -kevin pgpgQMAfX6CgD.pgp Description: PGP signature
Re: [rt-users] Global RT at a Glance not taking effect
On 29 August 2013 21:37, Kevin Falcone falc...@bestpractical.com wrote: On Thu, Aug 29, 2013 at 05:34:14PM +0100, Guy Baxter wrote: Hi all, I've got an issue with RT at a glance global configuration not working. I want only Dashboards to be visible on the homepage after a user logs in. I've set the following in tools configuration Global RT at a Glance RT at a glance body: Dasboards RT at a glance: Summary: blank When logging in as root this applies fine. When logging in as any other users ( we use RT External Auth) it does not apply. Do these users have their own homepage settings from previous use/customization? You will need to reset that, or just clear their homepage preferences in the Attributes table in the database. No, they've never been able to set them no permissions to set preferences was the error they got. How would I go about clearing the homepage preferences anyway? I also tried setting: Set ( $HomepageComponents, [qw(Dashboards)]); in RT_SiteConfig.pm But that didn't work either. HomepageComponents doesn't forcibly turn off components in 4.0. It will in 4.2 Users can access Dashboards fine, so it doesn't appear to be a permissions issue, i just want them only to be able to see their dashboards rather than have to navigate to them. Could anyone assist please? RT Version is 4.0.1, External Auth is version 0.12 With 4.0.1, you could be running into some bug (4.0.17 is current) but start by resetting homepage settings for one of your external auth users and seeing if that fixes it. Homepages are also cached in the session, so you need to log in and out. I've tried that, but will clear the mason cache/ reboot the server to see if it has any effect. -kevin Will report back tomorrow morning. Thanks so far.
Re: [rt-users] Show History on Update Page
I will be honest I am struggling a little bit with this. I have tried a couple different approaches and can't get this to work. First I just made a local copy of history.html and named it MyPage.html and it worked. I then tried to add those elements into a local Update.html page and can't get it to show anything additional. Just for testing I added a simple test div just to try and display something extra on the Update page and can't get that to work. I have restarted the server and the mason/obj/folder is empty. What am I doing wrong? I have read through ticket/display.thml and history.html over and over and I feel like I am just overlooking something. Perl is new to me and help is most appreciated. Thanks. From: ruslan.zaki...@gmail.com [ruslan.zaki...@gmail.com] On Behalf Of Ruslan Zakirov [r...@bestpractical.com] Sent: Thursday, August 29, 2013 10:48 AM To: Jason Ledford Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Show History on Update Page Hi, Grep Ticket/Display.html for History and more importantly take a look at Ticket/Hisotry.html file. Work from these examples to embed history in Update.html. On Thu, Aug 29, 2013 at 5:45 PM, Jason Ledford jledf...@biltmore.commailto:jledf...@biltmore.com wrote: I am wanting to customize the update page (reply or resolve) so that the History section also shows on the page. We want to see the ticket history to know what we are replying or commenting to. Can someone assist in getting that info on the page? I have already placed the Update.html in my local folder but perl is not my strongsuit. Taking that a step further, is it possible to have the first comment in the reply? Would that be a template change? Help is appreciated. Thanks. -- Best regards, Ruslan.