<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!--* {}P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(239, 239, 239);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(239, 239, 239) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}
<!--
p
{margin-top:0;
margin-bottom:0}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(171,171,171) solid;
font-family:'Segoe UI WPC','Segoe UI',Tahoma,'Microsoft Sans Serif',Verdana,sans-serif;
font-size:11pt;
color:rgb(51,51,51)}
.ms-cui-menusection-title
{}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(239,239,239)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:2px 4px 0px 4px;
vertical-align:sub;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
-->
--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<style type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
.ms-cui-menu
{background-color:#ffffff;
border:1px rgb(171,171,171) solid;
font-family:'Segoe UI WPC','Segoe UI',Tahoma,'Microsoft Sans Serif',Verdana,sans-serif;
font-size:11pt;
color:rgb(51,51,51)}
.ms-cui-menusection-title
{}
.ms-cui-ctl
{vertical-align:text-top;
text-decoration:none;
color:rgb(51,51,51)}
.ms-cui-ctl-on
{background-color:rgb(239,239,239)}
.ms-cui-img-cont-float
{display:inline-block;
margin-top:2px}
.ms-cui-smenu-inner
{padding-top:0px}
.ms-owa-paste-option-icon
{margin:2px 4px 0px 4px;
vertical-align:sub;
padding-bottom:2px;
display:inline-block}
.ms-rtePasteFlyout-option
{padding:8px 4px 8px 4px;
outline:none}
.ms-cui-menusection
{float:left;
width:85px;
height:24px;
overflow:hidden}
-->
</style>
<div style="font-size: 12pt; color: #000000; font-family: calibri, arial, helvetica, sans-serif; background-color: #ffffff;">
<p>Hello everybody.<br>
</p>
<p><br>
</p>
<p>I've created my own extension by using a simple one as a template and adding useful parts from other extensions.<br>
</p>
<p><br>
</p>
<p>Now the problem I'm facing is that when I enable it, the directories returned by 'RT::Interface::Web->ComponentRoots' are duplicated, so RT tells me that it has found more than one occurrence of the '/Callbacks/RTIR/autohandler/SuccessfulLogin' callback.<br>
</p>
<p><br>
</p>
<p>That is not true, the problem is that is checking the same directory twice, so it finds the same file twice.<br>
</p>
<p><br>
</p>
<p>With my extension disabled, <span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">'RT::Interface::Web->ComponentRoots'</span> returns:<br>
</p>
<div style="font-size: 16px;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">'/</span></span></span><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">opt</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">/</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">r</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">t</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">4</span></span></span></span></font><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">/local/html'</span></span></span><br style="font-family: 'courier new', monospace;">
</div>
<div style="font-size: 16px;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">'/</span></span></span><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">opt</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">/</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">r</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">t</span></span></span></span></font><font size="2" style="font-family: 'courier new', monospace;"><span style="font-size: 16px; font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">4</span></span></span></span></font><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">/local/plugins/RT-IR/html'</span></span></span><br style="font-family: 'courier new', monospace;">
</div>
<div style="font-size: 16px;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;"><span style="font-family: 'courier new', monospace;">'/opt/rt4/share/html'</span></span></span><br style="font-family: 'cordia new', sans-serif;">
and everything it's ok.<br>
</div>
<div style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px;">
<br>
</div>
<div style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px;">
<span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">With my extension enabled, </span><span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">'RT::Interface::Web->ComponentRoots'</span><span style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px; background-color: #ffffff;">
returns:</span><br>
</div>
<div style="font-family: calibri, arial, helvetica, sans-serif; font-size: 16px;">
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/local/html'</span><br style="font-family: 'courier new', monospace;">
</div>
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/local/plugins/RT-MyExtension/html'</span><br style="font-family: 'courier new', monospace;">
</div>
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/local/plugins/RT-IR/html'</span><br style="font-family: 'courier new', monospace;">
</div>
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/local/plugins/RT-</span><span style="font-size: 16px; font-family: 'courier new', monospace; background-color: #ffffff;"><span style="font-family: 'courier new', monospace;">MyExtension</span></span><span style="font-family: 'courier new', monospace;">/html'</span><br style="font-family: 'courier new', monospace;">
</div>
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/local/plugins/RT-IR/html'</span><br style="font-family: 'courier new', monospace;">
</div>
<div><span style="font-family: 'courier new', monospace;">'/opt/rt4/share/html'</span><br>
</div>
</div>
<p>and the error is triggered.<br>
</p>
<p><br>
</p>
<p>Does anybody know the configuration error I have or any clue to guide me in the right direction?<br>
</p>
<p><br>
</p>
<p>Thanks in advance.<br>
</p>
<div>
<p><br>
</p>
<div name="divtagdefaultwrapper" style="font-family: calibri, arial, helvetica, sans-serif; margin: 0px;">
<div style="font-family: tahoma; font-size: 13px;">
<div style="font-family: tahoma; font-size: 13px;">
<div style="font-family: tahoma; font-size: 13px;"><span style="background-color: white;"></span>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td align="left" style="text-align: justify;"><font color="#ff8200" size="2"><b>Iñaki de Eguía Díez</b></font><br>
<font size="1">Desarrollador - Entornos Abiertos</font><font size="1"><br>
<a href="mailto:inaki.deeguia@csa.es" title="mailto:inaki.deeguia@csa.es
Ctrl+haga clic o puntee para seguir el vínculo">inaki.deeguia@csa.es</a></font></td>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p style="font-size:7pt; font-family: 'Verdana',serif;"><br>
<br>
En cumplimiento de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal, los datos personales reflejados en este documento se incluirán en una base de datos informatizada de titularidad de Centro Regional de Servicios Avanzados,
S.A. Dicha base de datos se encuentra inscrita en el Registro General de Protección de Datos conforme a lo dispuesto en la legislación vigente y cumpliendo todas las medidas de seguridad del Real Decreto 994/1999, de 11 de junio, de medidas de seguridad de
los ficheros automatizados que contengan datos de carácter personal. Asimismo, el cliente dispone en todo momento de los derechos de información, acceso, rectificación, cancelación y oposición, que podrá ejercitar por escrito mediante carta dirigida al Responsable
de Seguridad, en la siguiente dirección: C/ López Bravo, 1. 09001 Burgos (España).
</p>
</body>
</html>