Re: [dev] Strange behavior in layout output

2016-02-19 Thread Moritz Lenz
Hi, On 02/19/2016 03:11 PM, Finetti, Stefano wrote: Greetings to everyone, I posted this message in the general otrs list but I think that the dev list is more appropriate for this kind of questions. Let me know if I'm wrong, please. I must confess I'm a bit lost with something that never

[dev] On NodeIDs

2016-01-18 Thread Moritz Lenz
Hi all, I'm a bit surprised by the restrictions on the NodeIDs: # check NodeID, if does not match is impossible to continue if ( $Self->{NodeID} !~ m{ \A \d+ \z }xms && $Self->{NodeID} > 0 && $Self->{NodeID} < 1000 ) { $Kernel::OM->Get('Kernel::System::Log')->Log(

[dev] Unlocking tickets of invalid agents

2015-07-21 Thread Moritz Lenz
Hi all, at my employer, we have a small tool that unlocks all open or stalled tickets from agents that are no longer valid. The idea is not to forget tasks (in the form of tickets) just because an employee left. I want to bring this feature upstream, and my question is: in which form should

Re: [dev] Idea: run tests in transactions, roll them back

2015-06-15 Thread Moritz Lenz
On 06/15/2015 09:18 AM, Martin Gruner wrote: Hello Moritz, this is a nice idea indeed. Technically this could be easily implemented in the UnitTestHelper as a new parameter (like RestoreSystemConfiguration) which also cleans up the cache after the test. It has some limitations (MyISAM,

[dev] Idea: run tests in transactions, roll them back

2015-06-05 Thread Moritz Lenz
Hi all, in order to isolate tests from each other, we could consider starting a database transaction before running a test file, and then rolling back the transaction after the test file finished running. Then new objects (queues, users, groups, tickets) wouldn't need to be cleaned up

Re: [dev] [OTRS] JavaScriptError: Cannot call method 'Init' of undefined

2015-04-08 Thread Moritz Lenz
On 04/08/2015 07:57 AM, Ali Umair wrote: Hi, - Browser *(Client Browser firfox and chrome)* - OS *(Client browser linx and OTRS running on Linux)* - OTRS Version *(3.0.6)* - What Host (Linux, Win) *Host is linux* - Webserver *(Apache)* - Is anything in the logs (apache / nginx error log) and

Re: [dev] Fixing a translation bug in Login page

2015-03-31 Thread Moritz Lenz
On 29.03.2015 18:10, Úr Balázs wrote: Hi, I would like to fix a translation bug in the Login page, but I'm not a perl programmer, so I don't know the syntax. The problem is in Kernel/Output/HTML/Standard/Login.tt file at line 171: [% Translate(Welcome to %s, Config(ProductName)) | html

Re: [dev] OTRS error in Log file

2015-03-30 Thread Moritz Lenz
, 820, 822, 829, 876, 913) AND st.until_time = 1427722133 LIMIT 1 On 3/30/2015 4:39 PM, Moritz Lenz wrote: Hi, On 30.03.2015 13:29, Ali Umair wrote: Team, I am continuously facing following exception in OTRS, and i am unable to track Anybody can suggest the root cause

Re: [dev] OTRS error in Log file

2015-03-30 Thread Moritz Lenz
Hi, On 30.03.2015 13:29, Ali Umair wrote: Team, I am continuously facing following exception in OTRS, and i am unable to track Anybody can suggest the root cause of this exception ? if no user access the OTRS application but still this exception is printing in error log

Re: [dev] OTRS Ajax/JSON Issues

2013-12-28 Thread Moritz Lenz
Hi Dan, On 12/28/2013 04:44 PM, Dan Stover wrote: I am running OTRS 3.2.7 and have a beta system running at the same time. A while back, I ran into an issue on the live system where, when a user selects an item from a dynamic field drop down list, an Ajax communications error is generated. This

Re: [dev] Proposal for speeding up TicketAcls

2013-12-13 Thread Moritz Lenz
Hi Carlos, On 12/14/2013 01:45 AM, Carlos Rodríguez wrote: On Dec 12, 2013, at 11:12 AM, Moritz Lenz moritz.l...@noris.de mailto:moritz.l...@noris.de wrote: Hi, On 12/12/2013 09:18 AM, Martin Gruner wrote: Hi Moritz, this sounds great to me. and it turns out it's not too hard

Re: [dev] Proposal for speeding up TicketAcls

2013-12-12 Thread Moritz Lenz
Hi, On 12/12/2013 09:18 AM, Martin Gruner wrote: Hi Moritz, this sounds great to me. and it turns out it's not too hard to implement either :-) See https://github.com/OTRS/otrs/pull/180 Am 10.12.13 13:58, schrieb Moritz Lenz: Hi all, recently I found out that although we use only very