AnsweredAssumed Answered - Create Cost Plan Wrong Edit Page (costplanPageTabs.xsl)

Question asked by David_Marchal_CoPrime on Apr 12, 2018

Hi everyone,


Just to share a bug on 15.3 (Patch 2) I have just encountered when Creating a Cost Plan in Clarity. The page wrongly shows Detail, Audit and Processes Tabs (edit mode) whre there should be no tabs at all (create mode). When you click on one of the tabs, it redirects to another project (switch between plan_id and project_id).



It should be :


As a workaround, I edit the file ./META-INF/revmgr/vxsl/plan/costplanPageTabs.xsl and comment the lines from 37 to 39 :

<xsl:param name="costplanId">
<xsl:when test="/data/plan_id and /data/plan_id/@value != ''">
<xsl:value-of select="/data/plan_id[1]/@value"/>
<xsl:when test="/data/object_id and /data/object_id/@value != ''">
<xsl:value-of select="/data/object_id[1]/@value"/>


A clear cache is necessary after modification.


I'm not creating a case for this, it seems the XPath /data/object_id does not exist in 15.4 source code. Just a glitch in 15.3 branch.