CA Service Management

 View Only
  • 1.  AHD04620:Error in definition of PDM_MACRO BUTTON

    Posted Aug 23, 2016 09:36 AM

    Hi,

     

    We've upgraded the system from 12.6 to 14.1. The systems have 6 app. server. We  sometimes get the following error.We have been seeing this error. For example this error is on app04 but today it is on app03. This problem is solved by server restart.  Could you please help to solve this problem?

     

     

     

     

    Regards,

    Burcu



  • 2.  Re: AHD04620:Error in definition of PDM_MACRO BUTTON

    Posted Aug 24, 2016 03:34 AM

    HI can you show us what htmpl form is involved there and the corresponding macro tag,  what specific action is done when receiving this error?

    Thanks /J



  • 3.  Re: AHD04620:Error in definition of PDM_MACRO BUTTON

    Posted Aug 24, 2016 03:55 AM

    Hi,

    Error screen is as follows.App servers don't have this error.Why it turns out that the screen? How to Disappear this?

     

    Regards&Thanks

     

     

     

     

     

     

    Burcu
    pdm_macro-error.png


  • 4.  Re: AHD04620:Error in definition of PDM_MACRO BUTTON
    Best Answer

    Posted Aug 24, 2016 04:29 AM

    look to be javascript error...

    Quickly looking in the login.htmpl form the comments tags around the button macro show no compliant use of it and not be interpreted correct by your browser (around line 360).

    if the form is OOB then CA to provide patch.

    However you can correct your self in the mean time by removing the extra comments in the already commented section. (removing the highlighted below must do the trick)

     

    <script type="text/javascript">

    <!--

                if (!_browser.supportsLayers &&

                    _browser.name != "unknown")

                {

                  // Explicitly hide hardcoded button (in case browser doesn't understand noscript)

                  var e = document.forms["login"].elements["HardcodedSub"];

                                    if ( typeof e == "object" && e != null )

                    e.style.visibility = "hidden";

                <PDM_IF "$prop.WSPHOST" != "">

                  <PDM_MACRO NAME=button caption="Log In[!Log In]"

                  hotkey_name="Log In[!Log In]" id="btndflt" width=0

                  func="parent.form_submitted=true;pdm_submit('login','')">

                <PDM_ELSE>

                  <PDM_MACRO NAME=button caption="Log In[!Log In]"

                  hotkey_name="Log In[!Log In]" id="btndflt" width=0

                  func="pdm_submit('login','')">

                </PDM_IF>

                                   <!-- Write hidden link to allow screen reader users to set preference -->

                                    document.write('<a href="javascript:loginAndSetScreenReaderPreferences()" tabindex=-1' +

                                                  ' title="Login and set screen reader preference"><\/a>');

                }

                //-->

                </script>

     

     

    Hope this help

    /J



  • 5.  Re: AHD04620:Error in definition of PDM_MACRO BUTTON

    Broadcom Employee
    Posted Aug 24, 2016 04:02 AM

    Hi YAZICI,

    As  this case is sporadic on application servers, could you please rename the stdlog file from that specific server and try to replicate it. review the log file for any error.

    In my research some customer reported it, however recycle was the workarround for them.

    Hope you had the chance to apply the latest cumulative patch.

    ~Vinod.



  • 6.  Re: AHD04620:Error in definition of PDM_MACRO BUTTON

    Posted Aug 30, 2016 03:31 AM

    hello Burcu,

    Have your problem be fixed?

    /J