Clark
--
--
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 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/CAAcH74ghAfF6TkBzmCBTcUTr5KzbU07PyfUby4UYv%2BWq5FbX3g%40mail.gmail.com.
On Fri, Nov 17, 2023 at 12:27 PM Clark Boylan <clark....@gmail.com> wrote:Hello,
We upgraded our Gerrit server to 3.8.2 from 3.7.5 today. Everything
seems to have gone well, except for problems loading the
codemirror-editor web UI editor for file editing. Specifically, you
can enter and exit edit mode just fine, but when you open a specific
file for editing that fails to load the editor with the file in it.
Firefox's console reports that GET
/plugins/codemirror-editor/static/codemirror-element.html returns a
404 not found response. Examining the 3.8.2 war file this html file is
not in the codemirror-element.jar, but static/codemirror_editor.js is.
At some point it did start working for some users; on a hunch I did a
hard refresh of the change page in my browser and then it began
working for me as well. The problem appears to be related to caching
stale Gerrit 3.7.5 content which isn't present under 3.8.2. I believe
that Gerrit versions its own resources which ensure the browsers
reload any cached content but maybe the plugins do not? It is also
possible that I am entirely mistaken, and we're simply not employing a
necessary cache TTL/eviction policy within our deployment.
All that to say, I'm wondering if this is expected behavior and
whether or not we or Gerrit need to do something different to make
behavior more consistent after Gerrit upgrades.We saw the same problem with our upgrade to 3.5, so I think there's a real issue in there somewhere, but I didn't get to the root cause before I moved on to the next problem.
--Nasser
Clark
--
--
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 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/CAAcH74ghAfF6TkBzmCBTcUTr5KzbU07PyfUby4UYv%2BWq5FbX3g%40mail.gmail.com.
--
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 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/658be994-6bcc-41f4-abb3-1bbfab4bc02cn%40googlegroups.com.
For another do we really care about a couple of hours of differences?
The issue could be that 3.8.4 is built/released say 2024-01-01, while 3.9.0 wasbuilt/released say 2023-11-20. Then a gerrit site that had 3.8.4 installed, wouldupgrade to newer version 3.9.0, but built earlier, with older artifact timestamps.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/6608a79b-8781-457e-abb7-3c61cbfbb06fn%40googlegroups.com.