<br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 11:10 PM, Raymond Corbett <span dir="ltr"><<a href="mailto:Raymond.Corbett@arcproductions.com" target="_blank">Raymond.Corbett@arcproductions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Using the following is generating the noted error message.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Reasons?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><%ARGS><u></u><u></u></p>
<p class="MsoNormal">$TicketObj<u></u><u></u></p>
<p class="MsoNormal"></%ARGS></p></div></div></blockquote><div><br></div><div>It says that the component takes TicketObj named argument and as it has no default value then caller must provide value or it will be runtime error. See mason's documentation on setting default values for arguments.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td nowrap valign="top" style="padding:.75pt .75pt .75pt .75pt"></td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">no value sent for required parameter 'TicketObj'</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">context:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:.75pt .75pt .75pt .75pt">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">...</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in"></td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">91:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">my $type = $entry->{type};</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">92:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">my $name = $entry->{'name'};</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">93:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">if ( $type eq 'component' ) {</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">94:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""># XXX: security check etc.</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">95:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:red">$m->comp( $name, %{ $entry->{arguments} || {} } );</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">96:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">} elsif ( $type eq 'system' ) {</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">97:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">$m->comp( '/Elements/ShowSearch', Name => $name, Override => { Rows => $Rows } );</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">98:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">} elsif ( $type eq 'saved' ) {</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">99:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">$m->comp( '/Elements/ShowSearch', SavedSearch => $name, Override => { Rows => $Rows }, IgnoreMissing => 1 );</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:0in 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">...</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:0in 0in 0in 0in"></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td nowrap valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">code stack:</span></b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif""> </span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
<td nowrap valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif"">/n/software/linux/servers/rt4/share/html/Elements/MyRT:95<br>
/n/software/linux/servers/rt4/share/html/index.html:78<br>
/opt/rt4/sbin/../lib/RT/Interface/Web.pm:634<br>
/opt/rt4/sbin/../lib/RT/Interface/Web.pm:335<br>
/n/software/linux/servers/rt4/share/html/autohandler:53</span><span style="font-size:12.0pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><a href="http://rt.dkp.com:8080/#raw" target="_blank">raw error</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellspacing="8" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr style="min-height:30.0pt">
<td width="6%" style="width:6.0%;padding:0in 0in 0in 0in;min-height:30.0pt"></td>
<td width="94%" style="width:94.0%;padding:0in 0in 0in 0in;min-height:30.0pt"></td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""> <u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards, Ruslan.