CA Service Management

  • 1.  PDM_IF , PDM_ELSE are not parsing

    Posted Sep 14, 2017 01:50 AM

    Hello,

     

    CA Service Desk is upgraded to V 17 from v 12.9,  for analyst roles the the application is showing the below error

     

    AHD04407:CA Service Desk Manager html generation error. Could not find or process 'detail_cr_edit.htmpl'. AHD04702:PDM_ELIF at detail_cr.htmpl[17] not in PDM_IF or PDM_ELIF

    the code related the error is 

     

    <PDM_IF "$args.type" == "I">
    <PDM_INCLUDE FILE=detail_in.htmpl>
    <PDM_ELIF "$args.type" == "P">
    <PDM_INCLUDE FILE=detail_pr.htmpl>
    <PDM_ELSE>

     

    below are  log entries.

     

    09/13 16:46:51.33 web:local 9588 TRACE i18nMsg.c 588 Arg[0] = detail_cr.htmpl[17]
    09/13 16:46:51.35 web:local 9588 ERROR session.c 16385
    09/13 16:46:51.36 web:local 9588 ERROR session.c 13738 Bad format for html file
    09/13 16:46:51.37 web:local 9588 VERBOSE parse.c 1451 Created null buffer 0x0B0E6578 for HTPML format error

    Compared the bopcfg detail_cr.htmpl file with site file there isn't much difference , but not sure why the html parsing error is shown , is this a known error? 

     

    Thanks regards,

    Venkat



  • 2.  Re: PDM_IF , PDM_ELSE are not parsing

    Posted Sep 14, 2017 02:06 AM

    Hi Venkat,

    Does this error persist if you delete your site forms?  From that AHD04407 my guess would be that if you compare the site and bopcfg files in detail you will find an unmatched </pdm_if> somewhere towards the end of your site detail_in.htmpl.

    Regards,

    James



  • 3.  Re: PDM_IF , PDM_ELSE are not parsing

    Broadcom Employee
    Posted Sep 14, 2017 04:58 AM

    Hi Venkat,

     

    I agree with James!

     

    I would say that you take a step back and remove the custom file and get the original R17.0 version file into the site/mods folder. Add your pdm_if,  pdm_elif, pdm_else commands only to that specific code and check the behavior. That way you would be able to confirm if the issue is with parsing or something else altogether.

     

    You can always add your other customizations once you have a solution for this.



  • 4.  Re: PDM_IF , PDM_ELSE are not parsing
    Best Answer

    Posted Sep 14, 2017 12:33 PM

    Hey, I have redone the customization to OOTB file to fix the issue. Thank you for yours suggestions.