Require Lock Issue

Moderator: crythias

Locked
maayanay
Znuny newbie
Posts: 63
Joined: 26 Feb 2014, 16:36
Znuny Version: 3.3.5

Require Lock Issue

Post by maayanay »

Hi,

I noticed that when i set an action in sysconfig as "required lock" than once clicking on the action button it automatically lock the ticket and set owner for the ticket that perform the action.

For example:
I set in sysconfig that in order to close a ticket Lock is required. so when i click the button "close" it is automatically locked the ticket on me before i click on submit. and even if i click cancel it still locked on my user.

the big problem is many agents just click on things to see the options available without submitting but still tickets get locked and owned. same happen when i click the button "bulk" without submitting any operation all tickets get locked and owned by me.
I don't want to remove the required lock because ticket can be closed without an agent owner assigned to it and it is not good for my statistics reports.

what can be done?

Thanks

the reason
OTRS Ver: 3.3.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Require Lock Issue

Post by crythias »

Decide which is more important: learn to not do these things or reporting.
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
maayanay
Znuny newbie
Posts: 63
Joined: 26 Feb 2014, 16:36
Znuny Version: 3.3.5

Re: Require Lock Issue

Post by maayanay »

crythias wrote:Decide which is more important: learn to not do these things or reporting.
is it like a BUG?
What is the reason it is doing it on clicking the button instead of clicking submit?
OTRS Ver: 3.3.5
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Require Lock Issue

Post by jojo »

the behaviour is correct. Train your agents
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
maayanay
Znuny newbie
Posts: 63
Joined: 26 Feb 2014, 16:36
Znuny Version: 3.3.5

Re: Require Lock Issue

Post by maayanay »

jojo wrote:the behaviour is correct. Train your agents
Please explain the reason for the behavior and how it is correct? when i will understand the reason will be able to better also explain my agents.

Thanks
OTRS Ver: 3.3.5
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Require Lock Issue

Post by crythias »

Locking prevents a race condition (look it up) : I am about to do something and I don't want any other agent to interfere with what happens next.
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
maayanay
Znuny newbie
Posts: 63
Joined: 26 Feb 2014, 16:36
Znuny Version: 3.3.5

Re: Require Lock Issue

Post by maayanay »

crythias wrote:Locking prevents a race condition (look it up) : I am about to do something and I don't want any other agent to interfere with what happens next.
understood. THANKS
OTRS Ver: 3.3.5
Locked