Hi Neil,

In this case, we're overriding a behavior from RT which puts a bunch of methods in HTML::Mason::Commands:

https://github.com/bestpractical/rt-extension-formtools/blob/master/lib/RT/Interface/Web_Vendor.pm

I believe RT::Extension::FormTools was indexed correctly, which is the main module. We don't want HTML::Mason::Commands indexed in this context. I'll try adding that directory to no_index in the META file.

Out of curiosity, I searched for HTML::Mason::Commands on metacpan and didn't see it in the results. I thought it was something we only did in RT.

Thanks,

Jim

On 7/10/24 3:39 AM, Neil Bowers wrote:
Hi BPS,

In your release of RT-Extension-FormTools, you included a module HTML::Mason::Commands. This wasn't indexed (the rest of the release was), because there's a module of that name in the HTML-Mason distribution, and indexing permissions associated with that.

To avoid this sort of clash, the usual solution, as I'm sure you're aware, is to rename it to something under RT::Extension::FormTools::

Please rename this module and do another release. Although your version isn't indexed, if someone installs your release, they could unknowingly overwrite the real HTML::Mason::Commands.

Cheers,
Neil
--

Jim Brandt
CTO
Best Practical Solutions

Reply via email to