SAP Knowledge Base Article - Public

3086170 - The tracked page gets overwritten in the browser history when you cancel leaving via Back or Forward in Dirty state after making any modification in Story / Analytic Application / Data analyzer of SAP Analytics Cloud (SAC) 

Symptom

  •  The tracked page gets overwritten in the browser history when you cancel leaving via Back or Forward in Dirty state after making any modification in Story / Analytic Application / Data analyzer of SAP Analytics Cloud (SAC) 

Environment

  • SAP Analytics Cloud (Enterprise) 2021.16.0

Reproducing the Issue

Back Scenario

  1. Log on to SAC tenant.
        => Home page will be shown (history-1).
  2. Navigate to Stories (history-2).
  3. Open any one story from Recent Files.
        => The story will be opened in View mode (history-3).
  4. Switch to Edit mode.
        => Hold on Back button of browser where all 3 histories appear in the list.
        => In this case, if clicking Back button of either SAC or browser, you can go back to View-mode story (history-3), Stories(history-2), Home(history-1) in order.
  5. Make any modification in story edit mode, like add one Text widget into story.
        => One star icon will be shown at the end of story name, which means Dirty State.
  6. Click Back button of either SAC or browser.
        => One Warning message appears to ask you save or discard the change.
        => Hold on Back button of browser where only 2 histories appear in the list.
        => In this case, if selecting Discard button, it will be back to View-mode story (history-3).
  7. Select Cancel button in Warning dialog and then click Back button of either SAC or browser again.
        => The Warning message appears again to ask you save or discard the change.
        => Hold on Back button of browser where only 1 history appears in the list.
        => In this case, if selecting Discard button, it will be back to Stories (history-2).
  8. Select Cancel button in Warning dialog and then click Back button of either SAC or browser again.
        => The Warning message appears again to ask you save or discard the change.
        => Hold on Back button of browser where no history appears in the list.
        => In this case, if selecting Discard button, it will be back to Home page (history-1).

Forward Scenario 

  1. Log on to SAC tenant and open any story in Edit mode (history-1).
  2. Navigate to Modeler (history-2).
  3. Navigate to Home (history-3).
  4. Click Back button of either SAC or browser to go back to the story in Edit mode (history-1).
        => Hold on Forward button of browser where 2 histories appear in the list.
  5. Make any modification in story edit mode, like add one Text widget into story.
        => One star icon will be shown at the end of story name, which means Dirty State.
  6. Click Forward button of browser.
        => One Warning message appears to ask you save or discard the change.
        => Hold on Forward button of browser where only 1 history appears in the list.
        => In this case, if selecting Discard button, it will go to Modeler (history-2).
  7. Select Cancel button in Warning dialog and then Click Forward button of browser again.
        => One Warning message appears to ask you save or discard the change.
        => Forward button of browser will become unavailable.
        => In this case, if selecting Discard button, it will go to Home (history-3).

Cause

  • This is by-design.
  • When changing URL by using browser back/forward button, bookmark or just writing in URL box, browser will store the URL into browser history stock.
  • When canceling navigation in confirmation dialog, the URL will be restored to align with the current UI  (looks like nothing changed). However, browser has already performed the change(s) in history stock.
  • SAC can only detect URL change, but doesn't know in which way (user's action) the URL has been changed.

Resolution

Please create an enhancement request for Development to consider adding this as a feature in a future wave of SAP Analytics Cloud.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

AP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, cancel, back, forward, navigate, navigation, history, browser, discard, save, change, modification, dirty, state, star, edit , KBA , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud 1.0