locked tickets link shows (0) tickets yet i heve some locked

Moderator: crythias

Post Reply
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

locked tickets link shows (0) tickets yet i heve some locked

Post by kenmurimi »

Hi?

My Locked ticket link shows I have zero (0) locked tickets yet I have some I have locked. on clicking on the link it directs me to the locked tickets but the problem is it shows zero at the link but still directs me to all my locked tickets.Earlier on it used to work.

I also want to remove the link "new message" but cant find it on the dtl files..

any ideas on how to solve this greatly appreciated
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by crythias »

You can't find New message in the dtl files because the code is generated in NavBarLockedTickets.pm
$Text = $Self->{LayoutObject}->{LanguageObject}->Get('New message') . " ($LockedData{New})";
$Return{'0999989'} = {
Block => 'ItemPersonal',
Description => $Text,
Name => $Text,
Image => 'new-message.png',
Link => 'Action=AgentTicketLockedView&Filter=New',
AccessKey => 'm',
};
Comment or remove (after backup of the file) and you won't see it anymore. This doesn't appear to be configurable to show or not.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by kenmurimi »

Thanks a lot Crythias. It worked perfectly.
Do you know why on my locked tickets it is showing zero (0) yet I have some I have locked.

I have:

= $Self->{LayoutObject}->{LanguageObject}->Get('My Tickets') . " ";
$Return{'0999999'} = {
Block => 'ItemPersonal',
Description => $Text,
Name => $Text,
Image => 'personal.png',
Link => 'Action=AgentTicketLockedView',
AccessKey => 'k',
};
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
Daniel Obee
Moderator
Posts: 644
Joined: 19 Jun 2007, 17:11
Znuny Version: various
Real Name: Daniel Obée
Location: Berlin

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by Daniel Obee »

crythias wrote:You can't find New message in the dtl files because the code is generated in NavBarLockedTickets.pm

(...)

Comment or remove (after backup of the file) and you won't see it anymore. This doesn't appear to be configurable to show or not.
Wouldn't it be much easier to just uncheck Frontend::Module###AgentTicketLockedView ?

Greets
Daniel
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by kenmurimi »

Thanks Tisar. BEST IDEA
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by crythias »

Tisar: Thanks for that information. Sometimes I go for the hard solution.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
petersk
Znuny newbie
Posts: 4
Joined: 02 Jul 2010, 08:40
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by petersk »

kenmurimi wrote:Hi?

My Locked ticket link shows I have zero (0) locked tickets yet I have some I have locked. on clicking on the link it directs me to the locked tickets but the problem is it shows zero at the link but still directs me to all my locked tickets.Earlier on it used to work.
Hi, did you resolve this issue? I have the same problem.

Peter
waseemaulikh
Znuny newbie
Posts: 6
Joined: 25 Jul 2010, 11:41
Znuny Version: 2.2.7

customer can not see close ticked text

Post by waseemaulikh »

when a agent close the ticket and add some text for customer but closed tickets is only show the replied text not show to customer.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by crythias »

First, please open a new topic for a new question.

Second, if the close ticket note is and internal note, not an external, it will not show to the customer. In my case, I have turned off almost everything on close ticket so another department can simply close ticket without filling out a big form. If I want to be sure to send a close note to a customer, I use the Compose Answer next State closed successful.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
petersk
Znuny newbie
Posts: 4
Joined: 02 Jul 2010, 08:40
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by petersk »

petersk wrote:
kenmurimi wrote:Hi?

My Locked ticket link shows I have zero (0) locked tickets yet I have some I have locked. on clicking on the link it directs me to the locked tickets but the problem is it shows zero at the link but still directs me to all my locked tickets.Earlier on it used to work.
Hi, did you resolve this issue? I have the same problem.

Peter
So I will repost this question:

Kenmurimi, did you resolve this issue? I have the same problem.
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by kenmurimi »

I was not able to resolve that, what i finally did was i removed the "messages" button then renamed the locked tickets button to "my tickets" without the "()" on NavBarLockedTickets.pm so that on clicking on the button it shows all the tickets with owner as that agent (who is logged on) which is ok for me.
i.e
# get user lock data
my %LockedData = $Self->{TicketObject}->GetLockedCount( UserID => $Self->{UserID} );

my $Text
= $Self->{LayoutObject}->{LanguageObject}->Get('My Tickets') . " ";
$Return{'0999999'} = {
Block => 'ItemPersonal',
Description => $Text,
Name => $Text,
Image => 'personal.png',
Link => 'Action=AgentTicketLockedView',
AccessKey => 'k',
};


on AgentTicketLockedView.pl changed

# get locked viewable tickets...
my $SortByS = $SortBy;
if ( $SortByS eq 'CreateTime' ) {
$SortByS = 'Age';
}

my %Filters = (
All => {
Name => 'All',
Prio => 1000,
Search => {
Result => 'ARRAY',
Limit => 1000,
StateType => [ 'pending reminder', 'pending auto', 'open', 'new', 'merged' ],

OwnerIDs => [ $Self->{UserID} ],
OrderBy => $OrderBy,
SortBy => $SortByS,
UserID => 1,
Permission => 'ro',
},
},
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
fbobraga
Znuny newbie
Posts: 77
Joined: 15 Jul 2010, 20:04
Znuny Version: 2.4.7
Contact:

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by fbobraga »

petersk wrote:
petersk wrote:
kenmurimi wrote:Hi?

My Locked ticket link shows I have zero (0) locked tickets yet I have some I have locked. on clicking on the link it directs me to the locked tickets but the problem is it shows zero at the link but still directs me to all my locked tickets.Earlier on it used to work.
Hi, did you resolve this issue? I have the same problem.

Peter
So I will repost this question:

Kenmurimi, did you resolve this issue? I have the same problem.
The same problem started to happen here, without apparent cause: how I can solve it?
Evaluation/pilot: OTRS 2.4.7 on Linux (CentOS 5.4) with MySQL database connected to an Active Directory for Agents and Customers.
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by kenmurimi »

hi petersk,

I was not able to resolve that issue and I gave up on it. u can check my previous post on this topic.
I don't know why that happens.

U can re-post the question, we might get some more info on it from other OTRS guys

Regards
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
rjmlyon69
Znuny newbie
Posts: 12
Joined: 20 Sep 2010, 13:54
Znuny Version: 2.4.5

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by rjmlyon69 »

This pb is because you probably change this parametre:

Ticket::ViewableLocks:
Viewable locks. Default: unlock, tmp_lock.

adding 'lock' ticket in viewable .

It is my case .

Is it yours ?
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

Re: locked tickets link shows (0) tickets yet i heve some lo

Post by kenmurimi »

Thanks rjmlyon69. Thats my case too.
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
Post Reply