Necessity of manually refreshing the Gerrit web page.

249 views
Skip to first unread message

bhanu prakash

unread,
Mar 11, 2024, 6:16:01 AM3/11/24
to Repo and Gerrit Discussion
Hello Team,

When I click on 'BROWSE' option in any repository it takes me to the intended page. However, upon clicking the 'BACK' button in the browser, I anticipate returning to the previous page. Although the URL in the address bar reflects the previous page, the content fails to load automatically. I find it necessary to manually refresh the page in the browser to access the previous content. 

We are using default Gitiles config (browse)

Is there a solution to this inconvenience that eliminates the need for manual refresh or explicit page reload?

Best Regards,
Bhanu V

bhanu prakash

unread,
Mar 12, 2024, 11:46:25 AM3/12/24
to Repo and Gerrit Discussion
Hello Team,

It appears to be an issue with Gerrit or Gitiles plugin. After installing Gerrit on my local machine with no additional configuration, I've experienced the same behavior. Despite the URL in the address bar indicating the previous page, the content fails to load automatically. As a result, it becomes necessary to manually refresh the page in order to access the previous content, as demonstrated in the attached screenshots.

(Pic1) When clicking on "Browse" in any repository, it redirects me to the intended page (Pic2). However, upon clicking the 'BACK' button in the browser, the URL in the address bar displays the previous page, yet the content doesn't load automatically. This persists until manual refresh (Pic4).

Could you please guide me in resolving this issue?

Best regards,
Bhanu V

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to a topic in the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/repo-discuss/u4BEFTXy6k4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/cf5c30f2-0e7c-4054-9804-3f6270013ea0n%40googlegroups.com.
pic1.png
Pic2.png
pic3.png
pic4.png

Ben Rohlfs

unread,
Mar 12, 2024, 12:22:13 PM3/12/24
to bhanu prakash, Repo and Gerrit Discussion
Thanks for the report.

This is an already fixed bug. The fix probably is https://gerrit-review.git.corp.google.com/c/gerrit/+/357455: Fix browser BACK

Which version of Gerrit are you using?

-Ben





You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAFd-7xHwXNARsx6iyoALqPNZSHOs8sO2aiKjrEKGPEgH-PemOQ%40mail.gmail.com.

bhanu prakash

unread,
Mar 12, 2024, 1:11:31 PM3/12/24
to Ben Rohlfs, Repo and Gerrit Discussion
On Tue, 12 Mar 2024 at 17:22, Ben Rohlfs <bro...@google.com> wrote:
Thanks for the report. 

This is an already fixed bug. The fix probably is https://gerrit-review.git.corp.google.com/c/gerrit/+/357455: Fix browser BACK
 Hi Ben, Thanks for the response.
 I'm unable to verify the above fix. It's prompting me to enter "SSO username and password".

Which version of Gerrit are you using?
We are encountering this issue on versions 3.8.2 and 3.9.1 (production instance), and 3.9.2 (Local machine).

Matthias Sohn

unread,
Mar 12, 2024, 1:19:08 PM3/12/24
to bhanu prakash, Ben Rohlfs, Repo and Gerrit Discussion
On Tue, Mar 12, 2024 at 6:11 PM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Tue, 12 Mar 2024 at 17:22, Ben Rohlfs <bro...@google.com> wrote:
Thanks for the report. 

This is an already fixed bug. The fix probably is https://gerrit-review.git.corp.google.com/c/gerrit/+/357455: Fix browser BACK
 Hi Ben, Thanks for the response.
 I'm unable to verify the above fix. It's prompting me to enter "SSO username and password".

Which version of Gerrit are you using?
We are encountering this issue on versions 3.8.2 and 3.9.1 (production instance), and 3.9.2 (Local machine).

This fix is included since 3.8.0
 

Kenyon Ralph

unread,
Mar 12, 2024, 1:42:59 PM3/12/24
to Repo and Gerrit Discussion
FWIW, I have recently experienced the same problem with both GitHub and GitLab in Firefox, so it seems to be a fairly widespread web design bug.

bhanu prakash

unread,
Mar 12, 2024, 3:46:28 PM3/12/24
to Matthias Sohn, Ben Rohlfs, Repo and Gerrit Discussion
On Tue, 12 Mar 2024 at 18:19, Matthias Sohn <matthi...@gmail.com> wrote:
On Tue, Mar 12, 2024 at 6:11 PM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Tue, 12 Mar 2024 at 17:22, Ben Rohlfs <bro...@google.com> wrote:
Thanks for the report. 

This is an already fixed bug. The fix probably is https://gerrit-review.git.corp.google.com/c/gerrit/+/357455: Fix browser BACK
 Hi Ben, Thanks for the response.
 I'm unable to verify the above fix. It's prompting me to enter "SSO username and password".

Which version of Gerrit are you using?
We are encountering this issue on versions 3.8.2 and 3.9.1 (production instance), and 3.9.2 (Local machine).

This fix is included since 3.8.0
Hi Matthias, I couldn't find a similar resolution in the 3.8.x release notes (Perhaps I overlooked it), and as mentioned earlier, I'm unable to access the URL suggested by Ben: "https://gerrit-review.git.corp.google.com/c/gerrit/+/357455". Could you please direct me to the right resource?
we're experiencing this issue in both the 3.8.x and 3.9.x versions. Please refer to the attached screenshot for version 3.9.2 (Pic6).
pic6.png

Matthias Sohn

unread,
Mar 12, 2024, 5:17:33 PM3/12/24
to bhanu prakash, Ben Rohlfs, Repo and Gerrit Discussion
On Tue, Mar 12, 2024 at 8:46 PM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Tue, 12 Mar 2024 at 18:19, Matthias Sohn <matthi...@gmail.com> wrote:
On Tue, Mar 12, 2024 at 6:11 PM bhanu prakash <vbhanupr...@gmail.com> wrote:


On Tue, 12 Mar 2024 at 17:22, Ben Rohlfs <bro...@google.com> wrote:
Thanks for the report. 

This is an already fixed bug. The fix probably is https://gerrit-review.git.corp.google.com/c/gerrit/+/357455: Fix browser BACK
 Hi Ben, Thanks for the response.
 I'm unable to verify the above fix. It's prompting me to enter "SSO username and password".

Which version of Gerrit are you using?
We are encountering this issue on versions 3.8.2 and 3.9.1 (production instance), and 3.9.2 (Local machine).

This fix is included since 3.8.0
Hi Matthias, I couldn't find a similar resolution in the 3.8.x release notes (Perhaps I overlooked it), and as mentioned earlier, I'm unable to access the URL suggested by Ben: "https://gerrit-review.git.corp.google.com/c/gerrit/+/357455". Could you please direct me to the right resource?
we're experiencing this issue in both the 3.8.x and 3.9.x versions. Please refer to the attached screenshot for version 3.9.2 (Pic6).

click on the button with the 3 vertical dots and "Included In" to find out in which releases it's included.

Ben Rohlfs

unread,
Mar 13, 2024, 3:19:02 AM3/13/24
to Matthias Sohn, bhanu prakash, Repo and Gerrit Discussion

Even better, I could reproduce and have found a fix. Will update the bug with details.

-Ben

On Tue, 12 Mar 2024 at 22:32, Ben Rohlfs <bro...@google.com> wrote:
The bug is not fixed, sorry.
It only manifests if you serve Gerrit and Gitiles from the same host, which we don't do for Google hosted Gerrit.
Please file a bug, so we can schedule an investigation. Thanks!
-Ben

bhanu prakash

unread,
Mar 13, 2024, 3:46:28 AM3/13/24
to Ben Rohlfs, Matthias Sohn, Repo and Gerrit Discussion
On Wed, 13 Mar 2024 at 08:18, Ben Rohlfs <bro...@google.com> wrote:
 

Even better, I could reproduce and have found a fix. Will update the bug with details.
Fantastic! Thanks for the update. I'm looking forward to seeing this fix in the next patch version.
Reply all
Reply to author
Forward
0 new messages