Skip Menu |

This queue is for tickets about the RT-Extension-HistoryFilter CPAN distribution.

Report information
The Basics
Id: 127001
Status: resolved
Priority: 0/
Queue: RT-Extension-HistoryFilter

People
Owner: CLOOS [...] cpan.org
Requestors: BPS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.02
Fixed in: 2.03



Subject: History is also filtered on other pages like the group admin page
Hi CLOOS, We recently noticed that the filtering happens on other pages that use the ShowHistory templates, like the group history page. I see the code currently does this check: return if $request_path =~ m{^/Ticket/History\.html}; What would you think of a patch that runs only on Ticket/Display.html rather than checking for and not running on the ticket history page? This would also then exclude all of the other places ShowHistory is used. Thanks, Jim
Hi Jim, I have changed it already in my Github repo (https://github.com/cloos/RT-Extension-HistoryFilter/commit/bc5bc7f), but didn't pushed a new version to CPAN. I will do this within the next days. I tried before using a whitelist, which wasn't so simple as it sounds first, see comments removed in commit https://github.com/cloos/RT-Extension-HistoryFilter/commit/e3f275f Regards Christian On Thu Aug 30 16:51:43 2018, BPS wrote: Show quoted text
> Hi CLOOS, > > We recently noticed that the filtering happens on other pages that use > the ShowHistory templates, like the group history page. I see the code > currently does this check: > > return if $request_path =~ m{^/Ticket/History\.html}; > > What would you think of a patch that runs only on Ticket/Display.html > rather than checking for and not running on the ticket history page? > This would also then exclude all of the other places ShowHistory is > used. > > Thanks, > Jim
On Wed Sep 05 03:12:11 2018, CLOOS wrote: Show quoted text
> Hi Jim, > > I have changed it already in my Github repo > (https://github.com/cloos/RT-Extension-HistoryFilter/commit/bc5bc7f), > but didn't pushed a new version to CPAN. I will do this within the > next days.
Excellent, thanks for the update. Looks good based on our testing. We'll watch for the new release. Thanks, Jim
This is fixed in version 2.03 available from CPAN.