<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:等线;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@等线";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:等线;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:等线;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">Hi:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">I want to get the customize field</span><span style="font-size:10.5pt;font-family:等线;color:#1F497D">’<span lang="EN-US">s value in Bug.pm,
<o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">For example I create a field with named cf_orientation and cf_location,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">If the value of cf_orientation is Plat and status in Resolved then the cf_location should not be null,<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">I check the cf_location in the validator function
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:blue">sub</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#795E26">_check_cf_location</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D"> , in which I get the value of cf_orientation by the following:<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:14.25pt;background:white"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:blue">my</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#001080">$orientation</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black"> = blessed(</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#001080">$invocant</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">)
? </span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#001080">$invocant</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">->cf_orientation :
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#001080">$params</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:black">->{cf_orientation};<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">but I can not get the value, the $orientation is null (---),<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">Only I update the two field sortkey, that the sortkey of cf_orientation is smaller than cf_location,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线;color:#1F497D">The value of cf_orientation can receive in the
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#795E26">_check_cf_location<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#795E26">I don’t know why, and cannot find the reason in bugzilla document.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#795E26">Could you tell me the root-cause ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:Consolas;color:#795E26">Thank you very much<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:等线"><o:p> </o:p></span></p>
</div>
<hr align="left" width="“100%”" color="#920784" size="1">
<font color="#920784"><i>This email (including its attachments) is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Unauthorized use, dissemination,
distribution or copying of this email or the information herein or taking any action in reliance on the contents of this email or the information herein, by anyone other than the intended recipient, or an employee or agent responsible for delivering the message
to the intended recipient, is strictly prohibited. If you are not the intended recipient, please do not read, copy, use or disclose any part of this e-mail to others. Please notify the sender immediately and permanently delete this e-mail and any attachments
if you received it in error. Internet communications cannot be guaranteed to be timely, secure, error-free or virus-free. The sender does not accept liability for any errors or omissions.
</i><br>
<i>本邮件及其附件具有保密性质,受法律保护不得泄露,仅发送给本邮件所指特定收件人。严禁非经授权使用、宣传、发布或复制本邮件或其内容。若非该特定收件人,请勿阅读、复制、 使用或披露本邮件的任何内容。若误收本邮件,请从系统中永久性删除本邮件及所有附件,并以回复邮件的方式即刻告知发件人。无法保证互联网通信及时、安全、无误或防毒。发件人对任何错漏均不承担责任。</i></font>
</body>
</html>