Is Resolved date editable trough WebUI?

Iñaki de Eguía Díez <[email protected]> Tue, 29 Mar 2016 14:19:22 +0000
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Message-ID <[email protected]>
--===============1669185413==
Content-Language: es-ES
Content-Type: multipart/alternative;
	boundary="_000_404e4a07a392464f992c4fa77ff47408EXCHMX02localcsaes_"

--_000_404e4a07a392464f992c4fa77ff47408EXCHMX02localcsaes_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello.


I'm using RT 4.2.10 and RTIR 3.2. I've developped my own extension and I've=
 included the 'Resolved' date at the end of the EditDates.


  <tr>
    <td class=3D"label"><&|/l&>Closed</&>:</td>\
    <td class=3D"entry">
        <& /Elements/SelectDate, menu_prefix =3D> 'Resolved', current =3D> =
0 &> (<% $TicketObj->ResolvedObj->AsString %>)
    </td>
  </tr>




The field shows well and a proper date is selectable, but when you try to s=
ave changes, the view stays on the edit form without commiting anything.


If I try to do '$ticket->SetResolved( $date->ISO )' from the perl API, it w=
orks well.


Looking at the RT sources I've seen in Ticket.pm a couple of subs called '_=
OverlayAccessible' and '_CoreAccessible'. The former seems to show that 'Re=
solved' is not writable, but the latter shows that it is. Does this mean th=
at '_OverlayAccessible' refers to through WebUI and hence it is not editabl=
e from there?


Thanks in advance.


Best regards.


I=F1aki de Egu=EDa D=EDez
Desarrollador - Entornos Abiertos
[email protected]<mailto:[email protected]>



En cumplimiento de la Ley Org=E1nica 15/1999, de 13 de diciembre, de Protec=
ci=F3n de Datos de Car=E1cter Personal, los datos personales reflejados en =
este documento se incluir=E1n en una base de datos informatizada de titular=
idad de Centro Regional de Servicios Avanzados, S.A. Dicha base de datos se=
 encuentra inscrita en el Registro General de Protecci=F3n de Datos conform=
e a lo dispuesto en la legislaci=F3n vigente y cumpliendo todas las medidas=
 de seguridad del Real Decreto 994/1999, de 11 de junio, de medidas de segu=
ridad de los ficheros automatizados que contengan datos de car=E1cter perso=
nal. Asimismo, el cliente dispone en todo momento de los derechos de inform=
aci=F3n, acceso, rectificaci=F3n, cancelaci=F3n y oposici=F3n, que podr=E1 =
ejercitar por escrito mediante carta dirigida al Responsable de Seguridad, =
en la siguiente direcci=F3n: C/ L=F3pez Bravo, 1. 09001 Burgos (Espa=F1a).

--_000_404e4a07a392464f992c4fa77ff47408EXCHMX02localcsaes_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none"><!--P{margin-top:0;margin-b=
ottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 1=
71) solid;font-family:"Segoe UI WPC","Segoe UI",Tahoma,"Microsoft Sans Seri=
f",Verdana,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menuse=
ction-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decor=
ation: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;mar=
gin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-ic=
on {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:=
inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(239, 2=
39, 239) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {paddi=
ng:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85=
px;height:24px;overflow:hidden}--></style>
</head>
<body>
<div style=3D"font-size:12pt;color:#000000;background-color:#FFFFFF;font-fa=
mily:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello.</p>
<p><br>
</p>
<p>I'm using RT 4.2.10 and RTIR 3.2. I've developped my own extension and I=
've included the 'Resolved' date at the end of the EditDates.
</p>
<p><br>
</p>
<p><span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp; &=
lt;tr&gt;</span><br style=3D"font-family: &quot;courier new&quot;,monospace=
;">
<span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp;&nbsp=
;&nbsp; &lt;td class=3D&quot;label&quot;&gt;&lt;&amp;|/l&amp;&gt;Closed&lt;=
/&amp;&gt;:&lt;/td&gt;\</span><br style=3D"font-family: &quot;courier new&q=
uot;,monospace;">
<span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp;&nbsp=
;&nbsp; &lt;td class=3D&quot;entry&quot;&gt;</span><br style=3D"font-family=
: &quot;courier new&quot;,monospace;">
<span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&amp; /Elements/SelectDate, menu_prefix=
 =3D&gt; 'Resolved', current =3D&gt; 0 &amp;&gt; (&lt;% $TicketObj-&gt;Reso=
lvedObj-&gt;AsString %&gt;)</span><br style=3D"font-family: &quot;courier n=
ew&quot;,monospace;">
<span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp;&nbsp=
;&nbsp; &lt;/td&gt;</span><br style=3D"font-family: &quot;courier new&quot;=
,monospace;">
<span style=3D"font-family: &quot;courier new&quot;,monospace;">&nbsp; &lt;=
/tr&gt;</span><br>
<br>
<br>
</p>
<p><br>
</p>
<p>The field shows well and a proper date is selectable, but when you try t=
o save changes,&nbsp;the view stays on the edit form without commiting anyt=
hing.</p>
<p><br>
</p>
<p>If&nbsp;I try to do '<span style=3D"font-family: &quot;courier new&quot;=
,monospace;">$ticket-&gt;SetResolved( $date-&gt;ISO )</span>' from the perl=
 API, it works well.<br>
</p>
<p><br>
</p>
<p>Looking at the RT sources I've seen in Ticket.pm&nbsp;a couple of subs c=
alled '<span style=3D"font-family: &quot;courier new&quot;,monospace;">_Ove=
rlayAccessible</span>' and '<span style=3D"font-family: &quot;courier new&q=
uot;,monospace;">_CoreAccessible</span>'. The former seems&nbsp;to
 show that&nbsp;'Resolved' is not writable, but the latter shows that it is=
. Does this mean that '_OverlayAccessible' refers to through WebUI and henc=
e it is not editable from there?</p>
<p><br>
</p>
<p>Thanks in advance.</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<div>
<p><br>
</p>
<div name=3D"divtagdefaultwrapper" style=3D"font-family: calibri,arial,helv=
etica,sans-serif; margin: 0px;">
<div style=3D"font-family: tahoma; font-size: 13px;">
<div style=3D"font-family: tahoma; font-size: 13px;">
<div style=3D"font-family: tahoma; font-size: 13px;"><span style=3D"backgro=
und-color: white;"></span>
<table width=3D"100%" cellspacing=3D"0" cellpadding=3D"0">
<tbody>
<tr>
<td align=3D"left" style=3D"text-align: justify;"><font size=3D"2" color=3D=
"#ff8200"><b>I=F1aki de Egu=EDa D=EDez</b></font><br>
<font size=3D"1">Desarrollador - Entornos Abiertos</font><font size=3D"1"><=
br>
<a href=3D"mailto:[email protected]">[email protected]</a></font></td=
>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<p style=3D"font-size:7pt; font-family: 'Verdana',serif;"><br>
<br>
En cumplimiento de la Ley Org=E1nica 15/1999, de 13 de diciembre, de Protec=
ci=F3n de Datos de Car=E1cter Personal, los datos personales reflejados en =
este documento se incluir=E1n en una base de datos informatizada de titular=
idad de Centro Regional de Servicios Avanzados,
 S.A. Dicha base de datos se encuentra inscrita en el Registro General de P=
rotecci=F3n de Datos conforme a lo dispuesto en la legislaci=F3n 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=E1cter personal. Asi=
mismo, el cliente dispone en todo momento de los derechos de informaci=F3n,=
 acceso, rectificaci=F3n, cancelaci=F3n y oposici=F3n, que podr=E1 ejercita=
r por escrito mediante carta dirigida al Responsable
 de Seguridad, en la siguiente direcci=F3n: C/ L=F3pez Bravo, 1. 09001 Burg=
os (Espa=F1a).
</p>
</body>
</html>

--_000_404e4a07a392464f992c4fa77ff47408EXCHMX02localcsaes_--

--===============1669185413==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Washington DC - May 23 & 24, 2016

--===============1669185413==--