3 Replies Latest reply on Dec 13, 2010 4:23 PM by Bhaskar Bodahanapati

    issues opening some links and approvables after upgrade

    Ian Roberts Journeyman

      Has any one had issues opening up some links or approvables after upgrading to 9r1?  I have our dev instance upgraded but I am getting a dialog box trying to save data.xls when clicking on some of the approvables in the portlets or when trying to add expenses?

       

      It is very strange.  Just curious if anyone has seen weird issues like this.  Thanks in advance.

        • Re: issues opening some links and approvables after upgrade
          Bhaskar Bodahanapati Journeyman

          Hi Ian,

           

          We have not seen this behavior on other migrated instances, do you have a screenshot  showing the dialog box? Please feel free to open a service request with all details.

           

          Thanks

          Bhaskar B

            • Re: issues opening some links and approvables after upgrade
              Ian Roberts Journeyman

              Hi Bhaskar,

              I have opened a case and attached all information requested but nobody from support has contacted me as of yet?  Can you please take a look and let me know.  Thank you.

                • Re: issues opening some links and approvables after upgrade
                  Ian Roberts Journeyman

                  Turns out there was nothing wrong with the way the application was configured.  I had turned on all/debug logging for the migration so that I could see what the migration harness was doing.  One of the categories is aribawebvalidation.exportMode.  This is in the code (AWTDataTable.class) for that category.  This is an Ariba Engineering debug capability where instead of spitting out the .css with the data, it pops it up in an .xls file.

                   

                  Thank you Ariba Tech Support (Kamlesh) for pointing me to the code that was being invoked.

                   

                  public AWResponseGenerating invokeAction(AWRequestContext requestContext, AWComponent component)

                  {

                  _phasePrepare();

                  _exportState = 0;

                  prepareForIteration();

                  int cmLen = ListUtil.getListSize(_columnManagers);

                  for(int ii = 0; ii < cmLen; ii++)

                  ((AWTColumnManager)_columnManagers.get(ii)).preInvoke(this);

                  AWResponseGenerating response = super.invokeAction(requestContext, component);

                  boolean exportValidation = Log.aribawebvalidation_exportMode.isDebugEnabled();

                  if(isExportMode() || exportValidation)

                  {

                  AWResponse excelResponse = application().createResponse();

                  excelResponse.setContentType(AWContentType.ApplicationVndMsexcel);

                  Util.setHeadersForDownload(excelResponse, "data.xls");

                  Object state = _prepareColumnsForExport();

                  boolean origExpandAll = _expandAll;

                  if(_exportState == 2)

                  _expandAll = true;

                  requestContext.setExportMode(true);

                  requestContext.setResponse(excelResponse);

                  renderResponse(requestContext, component);

                  _restoreColumnsAfterExport(state);

                  _expandAll = origExpandAll;

                  if(!exportValidation)

                  response = excelResponse;

                  }

                  for(int ii = 0; ii < cmLen; ii++)

                  ((AWTColumnManager)_columnManagers.get(ii)).postInvoke(this);

                  _exportState = 0;

                  _phaseComplete();

                  return response;

                  }