Skip Menu |

This queue is for tickets about the RTx-Calendar CPAN distribution.

Report information
The Basics
Id: 27338
Status: open
Priority: 0/
Queue: RTx-Calendar

People
Owner: nchuche [...] barna.be
Requestors: arapria [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Wed, 30 May 2007 05:10:43 +0530
To: bug-RTx-Calendar [...] rt.cpan.org
From: Rapria <arapria [...] gmail.com>

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Hi, BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend -- Please see the attached screen shots. System Configuration Loaded perl modules Perl v5.8.8 under linux Apache2::Const v2.000002; Apache2::Log v2.000002; Apache2::RequestIO v2.000002; Apache2::RequestRec v2.000002; Apache2::RequestUtil v2.000002; Apache2::Response v2.000002; Apache2::ServerUtil v2.000002; Apache2::Status v4.00; Apache::Session v1.81; Apache::Session::Generate::MD5 v2.1; Apache::Session::Lock::MySQL v1.00; Apache::Session::MySQL v1.01; Apache::Session::Serialize::Storable v1.00; Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL v1.04; APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; AutoLoader v5.60; base v2.07; Benchmark v1.07; bytes v1.02; Cache::Simple::TimedExpiry v0.27; Carp v1.04; CGI v3.15; CGI::Cookie v1.26; CGI::Util v1.5; Class::Container v0.12; Class::Data::Inheritable v0.06; Class::ReturnValue v0.53; Clone v0.22; constant v1.05; Cwd v3.12; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DateTime v0.37; DateTime::Locale v0.34; DateTime::Set v0.25; DateTime::TimeZone v0.6601; DateTime::TimeZone::Floating v0.01; DateTime::TimeZone::Local v0.01; DateTime::TimeZone::OffsetOnly v0.02; DateTime::TimeZone::UTC v0.01; DBD::mysql v3.0007; DBI v1.52; DBIx::SearchBuilder v1.48; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.15; Devel::StackTraceFrame v0.6; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.05; Encode v2.12; Encode::Alias v2.04; Encode::Config v2.01; Encode::Encoding v2.02; Errno v1.0901; Exception::Class v1.23; Exception::Class::Base v1.2; Exporter v5.58; Exporter::Heavy v5.58; Fcntl v1.05; File::Basename v2.74; File::Glob v1.05; File::Path v1.08; File::Spec v3.12; File::Spec::Functions v1.3; File::Spec::Unix v1.5; File::Temp v0.16; FileHandle v2.01; HTML::Element v3.23; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.35; HTML::Mason::ApacheHandler v1.69; HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1; HTML::Mason::Exception::Compilation v1.1; HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax v1.1; HTML::Mason::Exception::System v1.1; HTML::Mason::Exception::TopLevelNotFound v1.1; HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43; HTML::Parser v3.55; HTML::Scrubber v0.08; HTML::Tagset v3.10; HTML::TreeBuilder v3.23; HTTP::Date v1.47; I18N::LangTags v0.35; integer v1.00; IO v1.22; IO::File v1.13; IO::Handle v1.25; IO::InnerFile v2.110; IO::Lines v2.110; IO::Scalar v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Wrap v2.110; IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; lib v0.5565; List::Util v1.18; Locale::Maketext v1.09; Locale::Maketext::Fuzzy v0.02; Locale::Maketext::Lexicon v0.62; Locale::Maketext::Lexicon::Gettext v0.15; Log::Dispatch v2.15; Log::Dispatch::Base v1.09; Log::Dispatch::Output v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; Mail::Address v1.74; Mail::Field v1.74; Mail::Field::AddrList v1.74; Mail::Field::Date v1.74; Mail::Header v1.74; Mail::Internet v1.74; MIME::Base64 v3.07; MIME::Body v5.420; MIME::Decoder v5.420; MIME::Entity v5.420; MIME::Field::ContDisp v5.420; MIME::Field::ConTraEnc v5.420; MIME::Field::ContType v5.420; MIME::Field::ParamVal v5.420; MIME::Head v5.420; MIME::Parser v5.420; MIME::QuotedPrint v3.07; MIME::Tools v5.420; MIME::Words v5.420; mod_perl v2.000002; mod_perl2 v2.000002; ModPerl::Const v2.000002; Module::Versions::Report v1.02; overload v1.04; Params::Validate v0.88; POSIX v1.09; re v0.05; Regexp::Common v2.120; Regexp::Common::delimited v2.104; RT v3.6.3; RT::Extension::BrandedQueues v0.1; RT::FM v2.2.0RC5; RT::Interface::Email v2; RTx::Calendar v0.04; Scalar::Util v1.18; SelectSaver v1.01; Set::Infinite v0.61; Socket v1.78; Storable v2.15; strict v1.03; Symbol v1.06; Sys::Syslog v0.13; Text::Template v1.44; Text::Wrapper v1.01; Time::HiRes v1.86; Time::JulianDay v2003.1125; Time::Local v1.11; Time::ParseDate v2003.1126; Time::Timezone v2003.0211; Time::Zone v2.22; Tree::Simple v1.17; UNIVERSAL v1.01; UNIVERSAL::require v0.11; URI v1.35; URI::Escape v3.28; utf8 v1.06; vars v1.01; warnings v1.05; warnings::register v1.01; XSLoader v0.06; RT Variables RT::AmbiguousDayInPast 1 RT::BasePath /usr RT::BinPath /usr/sbin RT::CORE_CONFIG_FILE /etc/rt3/RT_Config.pm RT::CommentAddress RT_CommentAddressNotSet RT::CorrespondAddress RT_CorrespondAddressNotSet RT::DatabaseHost localhost RT::DatabaseName rt3 RT::DatabasePassword *Password not printed* RT::DatabaseRTHost localhost RT::DatabaseType mysql RT::DatabaseUser rt_user RT::DateDayBeforeMonth 1 RT::DefaultSearchResultFormat '<B><A HREF="/rt3/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A HREF="/rt3/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', '<small>__Requestors__</small>', '<small>__CreatedRelative__</small>', '<small>__ToldRelative__</small>', '<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>' RT::DefaultSummaryRows 10 RT::EmailOutputEncoding utf-8 RT::EtcPath /etc/rt3 RT::FriendlyFromLineFormat "%s via RT" <%s> RT::FriendlyToLineFormat "%s of in.g4s.com Ticket #%s":; RT::LocalEtcPath /usr/local/etc/rt3 RT::LocalLexiconPath /usr/local/lib/rt3/po RT::LocalPath /usr/local/lib/rt3 RT::LogDir /var/log/rt3 RT::LogToFileNamed rt.log RT::LogToScreen error RT::LogToSyslog debug RT::LogoURL /rt3/NoAuth/images/bplogo.gif RT::LoopsToRTOwner 1 RT::MailCommand sendmailpipe RT::MasonComponentRoot /usr/share/rt3/html RT::MasonDataDir /var/cache/rt3/mason_data RT::MasonLocalComponentRoot /usr/local/lib/rt3/html RT::MasonSessionDir /var/cache/rt3/session_data RT::MaxAttachmentSize 1048576 RT::MaxInlineBody 13456 RT::MessageBoxWidth 72 RT::MessageBoxWrap HARD RT::MinimumPasswordLength 5 RT::OldestTransactionsFirst 1 RT::Organization in.g4s.com RT::OwnerEmail arapria@gmail.com RT::RTAddressRegexp ^ rt\@example.com$ RT::RecordOutgoingEmail 1 RT::RedistributeAutoGeneratedMessages privileged RT::SITE_CONFIG_FILE /etc/rt3/RT_SiteConfig.pm RT::SendmailArguments -oi -t RT::SendmailBounceArguments -f "<>" RT::SendmailPath /usr/sbin/sendmail RT::ShowTransactionImages 1 RT::StrictLinkACL 1 RT::Timezone Asia/Calcutta RT::UseFriendlyFromLine 1 RT::VERSION 3.6.3 RT::VarPath /var/lib/rt3 RT::WebBaseURL http://192.168.0.31 RT::WebDefaultStylesheet 3.5-default RT::WebFlushDbCacheEveryRequest 1 RT::WebImagesURL /rt3/NoAuth/images/ RT::WebPath /rt3 RT::WebPort 80 RT::WebURL http://192.168.0.31/rt3/ RT::rtname in.g4s.com Perl configuration Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.9-34.elsmp, archname=i386-linux-thread-multi uname='linux hs20-bc2-2.build.redhat.com 2.6.9-34.elsmp #1 smp fri feb 24 16:56:28 est 2006 i686 i686 i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.1 20060928 (Red Hat 4.1.1-28)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib'

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Wed, 30 May 2007 13:24:49 +0530
To: bug-RTx-Calendar [...] rt.cpan.org
From: "Nicolas Chuche" <nicolas.chuche [...] barna.be>
Hello, Show quoted text
> BUG: All resolved tickets are having "last updated" legend instead of green > 'x' legend -- Please see the attached screen shots.
Thanks for reporting this bug. I'm on vacation in India for the moment so I can't work on this bug. I will as soon as I come back in France (in three weeks). Hope that's not a problem. Regards
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Wed, 30 May 2007 16:12:00 +0530
To: bug-RTx-Calendar [...] rt.cpan.org
From: Rapria <arapria [...] gmail.com>
Thanks Nicolas, Welcome to India! Feel free to be our guest. Abhimanyu New Delhi On 5/30/07, Nicolas Chuche via RT <bug-RTx-Calendar@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27338 > > > Hello, >
> > BUG: All resolved tickets are having "last updated" legend instead of
> green
> > 'x' legend -- Please see the attached screen shots.
> > Thanks for reporting this bug. I'm on vacation in India for the > moment so I can't work on this bug. I will as soon as I come back in > France (in three weeks). > > Hope that's not a problem. > > Regards > >
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Thu, 28 Jun 2007 14:28:40 +0200
To: bug-RTx-Calendar [...] rt.cpan.org
From: "Nicolas Chuche" <nicolas.chuche [...] barna.be>
Hello, Show quoted text
> BUG: All resolved tickets are having "last updated" legend instead of green > 'x' legend -- Please see the attached screen shots.
That's not really a bug, to display resolved items you need to add Resolved in the search's format string. You can add __Resolved__ in the advanced tab. By default, only last updated items are displayed. Something like this should be good : '<small>__CreatedRelative__</small>', '<small>__ToldRelative__</small>', '__Resolved__' Does this works like this ?
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Thu, 28 Jun 2007 21:26:22 +0530
To: bug-RTx-Calendar [...] rt.cpan.org
From: Rapria <arapria [...] gmail.com>
Download screenshot.JPG
image/jpeg 106k

Message body is not shown because sender requested not to inline it.

Hi Nicolas, I worked partially...Below is the query...we should have all x, but please see attached screen shots. Status = 'resolved' AND Queue = 'ERP Solutions' ' <b><a href="/rt3/Ticket/Display.html?id=__id__">__id__</a></b>/TITLE:#', '<b><a href="/rt3/Ticket/Display.html?id=__id__">__Subject__</a></b>/TITLE:Subject', '__Status__', '__QueueName__', '__OwnerName__', '__Priority__', '__NEWLINE__', '', '<small>__Requestors__</small>', '<small>__CreatedRelative__</small>', '<small>__ToldRelative__</small>', '<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>', '__Resolved__' On 6/28/07, Nicolas Chuche via RT <bug-RTx-Calendar@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27338 > > > Hello, > >
> > BUG: All resolved tickets are having "last updated" legend instead of
> green
> > 'x' legend -- Please see the attached screen shots.
> > That's not really a bug, to display resolved items you need to add > Resolved in the search's format string. You can add __Resolved__ in > the advanced tab. By default, only last updated items are displayed. > > Something like this should be good : > '<small>__CreatedRelative__</small>', > '<small>__ToldRelative__</small>', > '__Resolved__' > > Does this works like this ? > >
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Thu, 28 Jun 2007 18:10:06 +0200
To: bug-RTx-Calendar [...] rt.cpan.org
From: "Nicolas Chuche" <nicolas.chuche [...] barna.be>
Show quoted text
> I worked partially...Below is the query...we should have all x, but please > see attached screen shots.
As in your format string you contains __CreatedRelative__, the calendar display event creation date AND resolved event date. For exemple, the ticket 826 was created the 31 may and resolved the 2 january. The column of the screenshot must be the 31 may. If you want to display only resolved events, you must keep only __Resolved__ in the format string.
Hello, Show quoted text
> If you want to display only resolved events, you must keep only > __Resolved__ in the format string.
Does this solution work ? Regards
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Wed, 4 Jul 2007 09:20:49 +0530
To: bug-RTx-Calendar [...] rt.cpan.org
From: Rapria <arapria [...] gmail.com>
Hi Nicolas, Yes it works, but tickets which were changed after being resolved, (not contacted or commented) and their status is resolved don't have this display. Also could you guide/send knowledgebase how to write RT extensions or customize existing RT extensions. Regards Abhimanyu On 7/4/07, Nicolas Chuche via RT <bug-RTx-Calendar@rt.cpan.org> wrote: Show quoted text
> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27338 > > > Hello, >
> > If you want to display only resolved events, you must keep only > > __Resolved__ in the format string.
> > Does this solution work ? > > Regards >
Subject: Re: [rt.cpan.org #27338] BUG: All resolved tickets are having "last updated" legend instead of green 'x' legend
Date: Fri, 6 Jul 2007 19:41:35 +0200
To: bug-RTx-Calendar [...] rt.cpan.org
From: "Nicolas Chuche" <nicolas.chuche [...] barna.be>
Show quoted text
> Yes it works, but tickets which were changed after being resolved, (not > contacted or commented) and their status is resolved don't have this > display.
Yes. I had two options, display the « most important » event of a day or display the « last event ». I've chooze the first one because it seems to me more important to know that a ticket is close than an admin add some comment after closing the ticket. You can change that in the beginning of Calendar.pm if you need. Show quoted text
> Also could you guide/send knowledgebase how to write RT extensions or > customize existing RT extensions.
I can try to guide. I've planned to write an article on how to write an RT extension but it's not really easy (neither really hard but...). What kind of extension do you want to write ? To build a module, you can use EmailCompletion as a scaffold. There's almost nothing in it. And