# \[BUG\] Opening a PUSH dock from a parameterised url page resets changed params to the url-supplied params

**URL:** <https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 9, 2022, 1:39pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905 "2022-02-09T13:39:23Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 9, 2022, 1:39pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/1 "2022-02-09T13:39:23Z")

</div>

While trying to diagnose a major issue with one of my Perspective Views which could cause significant loss of wine for my customer, I’ve finally found the root of the issue. I’m using version 8.1.5

If you have a page that has url params and a dock defined, if you modify the params outside of the url and then open a dock _set to PUSH (does not apply to docks set to COVER)_ , the params will revert back to the values in the url.

See example below and an export of my views and page config

![BUG](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/b/2ba3e3f827327bd180dbc0e5dd9a4edf1eccfc0f.gif)

Export of views:  
[BUG-v8.1.5.zip](https://forum.inductiveautomation.com/uploads/short-url/goY3lcdxKw71OzkKvWO5dOWwnV9.zip) (8.5 KB)

Page config:

```auto
"/testing/bug/main/:key": {
      "viewPath": "_Testing/BUG-OpenDockClearsParams/Main",
      "docks": {
        "left": [
          {
            "viewPath": "_Testing/BUG-OpenDockClearsParams/Dock",
            "id": "dock-push",
            "viewParams": {},
            "size": 50,
            "resizable": false,
            "iconUrl": "",
            "modal": false,
            "show": "onDemand",
            "anchor": "fixed",
            "content": "push",
            "autoBreakpoint": 480,
            "handle": "hide"
          }
        ]
      }
    }

```

EDIT:  
Ok so I have an extra condition. The issue presents itself only when the dock is set to _push_. There is no issue if the dock is set to _cover_. I was using cover in our test system and push in our prod system 😕

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 9, 2022, 1:50pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/2 "2022-02-09T13:50:40Z")

</div>

So, you’re going to test on the nightly, too?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 9, 2022, 2:17pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/3 "2022-02-09T14:17:52Z")

</div>

Nope, I don’t have time and the customer won’t upgrade until their busy period is over in a few months:( The workaround for me is to use navigate with url params instead of changing params values directly

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 9, 2022, 2:18pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/4 "2022-02-09T14:18:27Z")

</div>

do you happen to use **input/output** view params on the dock?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 9, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/5 "2022-02-09T14:19:01Z")

</div>

Nope. Dock is literally an empty green (to distinguish it) View in my example

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 9, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/6 "2022-02-09T14:19:29Z")

</div>

and in the page?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 9, 2022, 2:19pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/7 "2022-02-09T14:19:49Z")

</div>

Params are Input only on the page

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 9, 2022, 2:21pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/8 "2022-02-09T14:21:15Z")

</div>

ima take a look to your view sec xd

edit:  
I dont seem to have that in 8.1.14

My guess is this is a bug related to the viewparams of popups, which was (kinda) fixed in 8.1.12 (but really in 8.1.13 altho i think input/output is still buggy)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 9, 2022, 3:16pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/9 "2022-02-09T15:16:53Z")

</div>

> [@nminchin](#):
>
> Nope, I don’t have time and the customer won’t upgrade until

I get the lack of time, but I didn't mean testing in Production.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 9, 2022, 8:20pm UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/10 "2022-02-09T20:20:32Z")

</div>

What i meant was even if I could test and prove it’s fixed, I wouldn’t be able to upgrade them for ages so would need to work around it regardless, so I’ll leave testing to IA 🙂 edit: or rather to Victor 😅

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 10, 2022, 3:36am UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/11 "2022-02-10T03:36:40Z")

</div>

See edit in OP. Issue only applies to docks set to PUSH. Issue does _not_ apply to docks set to _cover_.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [February 10, 2022, 7:33am UTC](https://forum.inductiveautomation.com/t/bug-opening-a-push-dock-from-a-parameterised-url-page-resets-changed-params-to-the-url-supplied-params/55905/12 "2022-02-10T07:33:42Z")

</div>

it was set to push during my tests^^
