Hi This it is related to the cache. When I didn´t delete it with the script all works fine, until the cronjob does it. I have found out that something was wrong with my sysconfig settings. But I don´t know what exactly...
Regards -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von [email protected] Gesendet: Dienstag, 6. November 2012 13:00 An: [email protected] Betreff: dev Digest, Vol 20, Issue 4 Send dev mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.otrs.org/cgi-bin/listinfo/dev or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of dev digest..." Today's Topics: 1. Re: Cache problem (Martin Gruner) 2. Re: ACL - How do they work? (Martin Gruner) 3. Re: Unicode sorting (Martin Gruner) 4. Re: order by and sort by ticket search generic interface (Carlos Rodr?guez) ---------------------------------------------------------------------- Message: 1 Date: Mon, 05 Nov 2012 14:59:50 +0100 From: Martin Gruner <[email protected]> Subject: Re: [dev] Cache problem To: Development community of OTRS <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi Thorsten, do you think this is related to the cache? You can delete all cache entries with bin/otrs.DeleteCache.pl. Regards, mg Am 05.11.12 09:37, schrieb Koppelmeier, Thorsten: > > Hello all, > > > > I have a big problem with the cache in OTRS. > > > > All Tickets are shown under the point OPEN in the Ticket Status view > since I upgraded to 3.1.11. > > Have anyone the same problem and/or a solution for me? > > > > Thanks for your help > > > > Regards > > Thorsten > > > > > ________________________________________ > Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte > Informationen enthalten. Wenn Sie nicht der richtige Adressat sind > oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte > sofort den Absender und vernichten Sie diese Mail. Das unerlaubte > Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If > you are not the intended recipient (or have received this e-mail in > error) please notify the sender immediately and destroy this e-mail. > Any unauthorized copying, disclosure or distribution of the material > in this e-mail is strictly forbidden. > ________________________________________ > > > _______________________________________________ > OTRS mailing list: dev - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/dev > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Gesch?ftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: Andr? Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel It's raining... OTRS Feature Add-Ons! Bis zu 10 kostenlose OTRS Feature Add-Ons und professionellen Hersteller-Support -- Werden Sie jetzt Service-Subscription-Kunde! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.otrs.org/pipermail/dev/attachments/20121105/7ccd7368/attachment-0001.html> ------------------------------ Message: 2 Date: Mon, 05 Nov 2012 15:00:46 +0100 From: Martin Gruner <[email protected]> Subject: Re: [dev] ACL - How do they work? To: Development community of OTRS <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 http://doc.otrs.org/3.1/en/html/acl.html Am 31.10.12 18:01, schrieb Rocco Tocci: > > Hi Guys, in the form of new phone ticket I would limit the choice of > services depending on the type of ticket. > I added this ACL in config.pm but does not work $ Self-> {TicketAcl} > -> {'ACL-1'} = { Properties => { Ticket => {Type => ['Incident'],}, }, > Possible => { Ticket => {Service => ['CPS-IMAC :: Add', 'CPS-IMAC :: > Change'],}, }, }; work when I go to the ticket zoom I see only the > services of ACL? > Suggestions? > Where can I find a complete documentation about the syntax and > sematics of ACLs? > > Thank you! > -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Gesch?ftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: Andr? Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel It's raining... OTRS Feature Add-Ons! Bis zu 10 kostenlose OTRS Feature Add-Ons und professionellen Hersteller-Support ? Werden Sie jetzt Service-Subscription-Kunde! ------------------------------ Message: 3 Date: Mon, 05 Nov 2012 15:03:30 +0100 From: Martin Gruner <[email protected]> Subject: Re: [dev] Unicode sorting To: Development community of OTRS <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset=windows-1252 Hi Juan, AFAIR, Perl uses the locale data from your system environment, also for the cmp operator. So you can tweak that to get a different sorting for your system. Database based sorts use the database's locales/collation data. Regards, mg Am 30.10.12 09:31, schrieb Juan Manuel Clavero Almir?n: > Hi all, > > since OTRS 3.1, OTRS works internally with Unicode Strings but leaves > character sorting to basic perl 'cmp', which is not really unicode aware... > > as explained in Perl Unicode Cookbook > [http://www.perl.com/pub/2012/06/perlunicook-case--and-accent-insensitive-sorting.html], > I think it would be best to use Unicode::Collate's sort. > > I've done this in Layout.pm -> _BuildSelectionDataRefCreate and it really has > improved usability to our users (agents and customers both). This is the diff > to the OTRS layout.pm (v 1.381.2.11 2012/06/22), in case anyone wants to use > it: > > 16a17,22 > > ##################### > > ## Unicode Sorting ## > > ##################### > > use Unicode::Collate; > > ##################### > > > 4667a4674,4684 > > ##################### > > ## Unicode Sorting ## > > ##################### > > ## Unicode Sorting: added sorting by Unicode::Collate > > my $Collate = Unicode::Collate->new(level => 1); > > # Level 1 ignores case and diacritics > > # Level 2 adds diacritic comparisons to the ordering algorithm. > > # Level 3 adds case ordering. > > # Level 4 adds a tiebreaking comparison of probably more detail > than most people will ever care to know. > > # Level 4 is default > > > 4677c4694,4695 > < @SortKeys = sort( keys %{ $Param{Data} } ); > --- > > ## Unicode Sorting ## > > @SortKeys = $Collate->sort( keys %{ $Param{Data} } ); > 4686c4704,4705 > < @SortKeys = sort { $SortHash{$a} cmp $SortHash{$b} } ( keys > %SortHash ); > --- > > ## Unicode Sorting ## > > @SortKeys = sort { $Collate->cmp($SortHash{$a}, > $SortHash{$b}) } ( keys %SortHash ); > 4696c4715,4716 > < push @SortKeys, sort { $List{$a} cmp $List{$b} } ( keys > %List ); > --- > > ## Unicode Sorting ## > > push @SortKeys, sort { $Collate->cmp($List{$a}, $List{$b}) > } ( keys %List ); > 4702a4723 > > ## Unicode Sorting ## > 4704c4725 > < = sort { $Param{Data}->{$a} cmp $Param{Data}->{$b} } ( > keys %{ $Param{Data} } ); > --- > > = sort { $Collate->cmp($Param{Data}->{$a}, > $Param{Data}->{$b}) } ( keys %{ $Param{Data} } ); > 4706a4728 > > ##################### > > > Kind regards, > Juan Clavero > > _______________________________________________ > OTRS mailing list: dev - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/dev > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev > -- Martin Gruner Senior Developer R&D OTRS AG Europaring 4 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Gesch?ftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: Andr? Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel It's raining... OTRS Feature Add-Ons! Bis zu 10 kostenlose OTRS Feature Add-Ons und professionellen Hersteller-Support ? Werden Sie jetzt Service-Subscription-Kunde! ------------------------------ Message: 4 Date: Mon, 5 Nov 2012 18:29:36 -0600 From: Carlos Rodr?guez <[email protected]> Subject: Re: [dev] order by and sort by ticket search generic interface To: Development community of OTRS <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="iso-8859-1" Hi Flavio, I copy - paste your SOAP request into soapUI for testing and it works correctly, could you try to check the error log from OTRS or APACHE to see if there is something related to this issue? ((enjoy)) Carlos Rodr?guez On Oct 25, 2012, at 2:37 PM, Flavio Mattos <[email protected]> wrote: > Hi guys! > > I would like to know how to use sort by and order by with generic interface. > I' m using otrs 3.1.10 > > this is my request > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns="http://www.otrs.org/TicketConnector/actions"> > <SOAP-ENV:Header/> > <SOAP-ENV:Body> > <TicketSearch> > <UserLogin>root@localhost</UserLogin> > <Password>root</Password> > <SortBy>State</SortBy> > </TicketSearch> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > But my response does not bring nothing. If I remove Sort by it works. What am > I missing? > > > Thanks! > > _______________________________________________ > OTRS mailing list: dev - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/dev > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.otrs.org/pipermail/dev/attachments/20121105/2dc574ec/attachment-0001.html> ------------------------------ _______________________________________________ dev mailing list [email protected] http://lists.otrs.org/cgi-bin/listinfo/dev End of dev Digest, Vol 20, Issue 4 ********************************** ________________________________________ Diese E-Mail kann vertrauliche und/oder rechtlich geschuetzte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ________________________________________ _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
