Page refresh problem
Categories
(Core :: DOM: Forms, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | wontfix |
| firefox84 | --- | wontfix |
| firefox85 | --- | wontfix |
| firefox86 | --- | fix-optional |
People
(Reporter: clerici.paolo, Unassigned)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
If I use the refresh button I have an anomalous behavior on a visual component of the JSF PrimeFaces library (p: selectOneMenu).
If the value in p:selectOneMenu is changed, the page execute an AJAX call and updates itself with new fields dependent on the value selected in p:selectOneMenu. Everything works fine until I refresh the page with the button on the address bar. When I refresh the page, the value in p:selectOneMenu is that of the previous page (not the value of the current page).
Unfortunately, the problem is not reproducible by you because it is an application exclusively accessible from a company intranet.
If instead of a refresh I perform a shift refresh (cache bypass) the problem disappears. The problem occurs from version 77 to last version (84) of Firefox, with versions prior to 77 the problem does not occur.
With the current versions of other browsers (Chrome, Edge, Explorer, Brave, Opera and Safari) the behavior is correct.
Actual results:
After refreshing page, the value in p:selectOneMenu is that of the previous page.
Expected results:
After refreshing page, the value in p: selectOneMenu must be that of the current page.
Comment 1•5 years ago
|
||
Do you think you could provide a test case for us so we can confirm it? I do not have the required technical skills to write it myself.
I hope I (at least) set the component close to the right one. If incorrect, please set a more appropriate one. Thanks.
Comment 2•5 years ago
|
||
This looks more DOM-related. Guessing on the sub-component.
| Reporter | ||
Comment 3•5 years ago
|
||
Unfortunately, I don't know how to give you a test case. The behavior is very strange and only occurs under certain conditions (unfortunately I don't understand which ones). I was able to reproduce a condition in which 100% of cases occur. Unfortunately, the application is very complex and can only be accessed through a company intranet and it is necessary to access with login and password through a VPN.(In reply to Bodea Daniel [:danibodea] from comment #1)
Do you think you could provide a test case for us so we can confirm it? I do not have the required technical skills to write it myself.
I hope I (at least) set the component close to the right one. If incorrect, please set a more appropriate one. Thanks.
| Reporter | ||
Comment 4•5 years ago
|
||
I was able to find a public site where the abnormal behavior is similar.
The https://www.primefaces.org/showcase/ui/input/oneMenu.xhtml page shows an example of using SelectOneMenu component. If I change the contents of the "Basic" cell from "Select One" to "PS4" and then reload the page, the contents of the cell remain unchanged. If I perform the same operation with a "shift reload" (cache bypass) the contents of the cell returns "Select One" (correct behavior).
If I perform the same operation with another browser (Chrome, Edge, Safari) the behavior is always correct.
Comment 5•5 years ago
|
||
I can confirm that the changes made to the Basit drop-down are not restored to default if a normal refresh is performed, while it does when a cache bypass reload is performed. Chrome restores the original button values with a simple reload.
This issue occurs on Release v55 but not in Release v45. Mozregression results:
2020-12-23T16:55:27: INFO : Narrowed nightly regression window from [2016-01-25, 2016-01-27] (2 days) to [2016-01-26, 2016-01-27] (1 days) (~0 steps left)
2020-12-23T16:55:27: DEBUG : Using url: https://hg.mozilla.org/mozilla-central/json-pushes?changeset=c0ba5835ca489d15f8f170d5deb01f8dad92709a
2020-12-23T16:55:28: DEBUG : Using url: https://hg.mozilla.org/mozilla-central/json-pushes?fromchange=c0ba5835ca489d15f8f170d5deb01f8dad92709a&tochange=211a4c710fb6af2cad10102c4cabc7cb525998b8
2020-12-23T16:55:29: DEBUG : using taskcluster root url https://taskcluster.net
2020-12-23T16:55:29: DEBUG : using taskcluster root url https://taskcluster.net
2020-12-23T16:55:29: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:29: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:32: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:32: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:32: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:32: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:35: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:35: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-pgo'
2020-12-23T16:55:35: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:35: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-pgo'
2020-12-23T16:55:38: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-pgo'
2020-12-23T16:55:38: DEBUG : using taskcluster root url https://firefox-ci-tc.services.mozilla.com
2020-12-23T16:55:38: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:38: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-pgo'
2020-12-23T16:55:38: DEBUG : using taskcluster root url https://firefox-ci-tc.services.mozilla.com
2020-12-23T16:55:38: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-pgo'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-pgo'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-pgo'
2020-12-23T16:55:39: WARNING : Skipping build c0ba5835ca48: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c0ba5835ca489d15f8f170d5deb01f8dad92709a.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-pgo'
2020-12-23T16:55:39: WARNING : Skipping build 211a4c710fb6: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.shippable.revision.211a4c710fb6af2cad10102c4cabc7cb525998b8.firefox.win64-opt'
2020-12-23T16:55:39: DEBUG : using taskcluster root url https://taskcluster.net
2020-12-23T16:55:39: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:42: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:42: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:45: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:45: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-pgo'
2020-12-23T16:55:48: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-pgo'
2020-12-23T16:55:48: DEBUG : using taskcluster root url https://firefox-ci-tc.services.mozilla.com
2020-12-23T16:55:48: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:49: DEBUG : nothing found via route 'gecko.v2.mozilla-central.shippable.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:49: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:49: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:49: DEBUG : using taskcluster route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-pgo'
2020-12-23T16:55:49: DEBUG : nothing found via route 'gecko.v2.mozilla-central.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-pgo'
2020-12-23T16:55:49: WARNING : Skipping build c8f9b2cd1688: Unable to find build info using the taskcluster route 'gecko.v2.mozilla-central.shippable.revision.c8f9b2cd16885eb5db980b907fdfbd6807f19f2a.firefox.win64-opt'
2020-12-23T16:55:55: INFO : Stopped
Comment 6•5 years ago
|
||
There seems to be hidden select and input element where the value is stored, and Gecko has traditionally restored the existing values when
doing a reload. So in that sense, the behavior is expected.
Updated•5 years ago
|
Description
•