<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">You're right, this looks like a bug on viewUpdate.php.  Here's the fix:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><a href="https://github.com/Kitware/CDash/pull/668">https://github.com/Kitware/CDash/pull/668</a><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I'll reply here again when <a href="http://trunk.cdash.org">trunk.cdash.org</a> gets updated.</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Tue, Apr 10, 2018 at 11:39 AM, Niels Dekker <span dir="ltr"><<a href="mailto:niels_dekker_address_until_2024@xs4all.nl" target="_blank">niels_dekker_address_until_2024@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It would be very convenient if each Update page of a project would show the corresponding revision tag (Git SHA) of the project, possibly with a link to the specific revision (e.g., at GitHub). It seems like this functionality was built into CDash, but it just does not work! Colleagues of mine at LKEB (<a href="http://www.lkeb.nl" rel="noreferrer" target="_blank">www.lkeb.nl</a>) helped me to find some possible bugs in the CDash AngularJS code, that seem to cause this issue.<br>
<br>
Regarding the SuperElastix project that I am involved with (<a href="https://github.com/SuperElastix" rel="noreferrer" target="_blank">https://github.com/SuperElast<wbr>ix</a>), I would have liked to see the Git SHA of SuperElastix at <a href="http://trunk.cdash.org/viewUpdate.php?buildid=1238277" rel="noreferrer" target="_blank">http://trunk.cdash.org/viewUpd<wbr>ate.php?buildid=1238277</a>  The HTML source of that page says:<br>
<br>
<div ng-if="::cdash.updates.revisio<wbr>n"><br>
  <b>Revision: </b><br>
  <a ng-href="::cdash.update.revisi<wbr>onurl">{{::cdash.update.revisi<wbr>on}}</a><br>
  <div ng-if="::cdash.update.priorrev<wbr>ision"><br>
  <br/><br>
  <b>Prior Revision: </b><br>
  <a ng-href="::cdash.update.revisi<wbr>ondiff">{{::cdash.update.<wbr>priorrevision}}</a><br>
  <br/><br>
  <br/><br>
</div><br>
<br>
Could it be that "cdash.updates.revision" was misspelled? Shouldn't it be "cdash.update.revision" (without the 's')?<br>
<br>
Moreover, it seems that some extra "{{" and "}}" might be needed, for AngularJS markups inside an ng-href="...". Specifically, it seems that "::cdash.update.revisionurl" should be "{{::cdash.update.revisionurl}<wbr>}". What do you think?<br>
<br>
<br>
Related file (I guess):<br>
<a href="https://github.com/Kitware/CDash/blob/4f328cd838d0486901f58c2844fd11415b4abb52/public/views/viewUpdate.html" rel="noreferrer" target="_blank">https://github.com/Kitware/CDa<wbr>sh/blob/4f328cd838d0486901f58c<wbr>2844fd11415b4abb52/public/<wbr>views/viewUpdate.html</a><br>
<br>
HTH, Niels<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Niels Dekker<br>
Scientific programmer<br>
LKEB, Leiden University Medical Center<br>
______________________________<wbr>_________________<br>
CDash mailing list<br>
<a href="mailto:CDash@public.kitware.com" target="_blank">CDash@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/cdash" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/cdash</a><br>
</font></span></blockquote></div><br></div></div>