Changing the description of a wiki returns a blank page on XWiki 14.10.7

Hello everyone,

I cannot change the main Wiki description (name, home page, owner…) on XWiki 14.10.7. I’ve written what I’ve observed below in the form of a bug report for readability’s sake and to make it easier to transfer this to the bugtracking system if needs be.

ENVIRONMENT
XWiki 14.10.7, running in a Docker container on MacOS 12.6.3, MariaDB database, direct connection over HTTP to port 8080 with Firefox 111.0.1 on MacOS 12.6.3

STEPS TO REPRODUCE:

  1. Install XWiki through docker-compose by following these instructions: xwiki-docker/README.md at master · xwiki/xwiki-docker · GitHub and choose XWiki Standard Flavour
  2. Go to Menu > Administer Wiki, than in the Wikis > Descriptor section
  3. Modify the Description field
  4. Click Save

EXPECTED RESULTS:
The results are saved, and the user lands on the same page.

ACTUAL RESULTS:
The results are not saved and the user is redirected to the page http://localhost:8080/bin/get/WikiManager/AdminWikiDescriptorSheet?outputSyntax=plain

NOTES
I had the following warning during installation.

Unexpected error when trying to find extension dependency [org.glassfish.grizzly:grizzly-http-2.3.25] in repository [jvnet-nexus-snapshots:maven:https://maven.java.net/content/repositories/snapshots]: SunCertPathBuilderException: unable to find valid certification path to requested target

And I have the following stack trace in Firefox’s javascript console:

Uncaught TypeError: a is null
    validateForm http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:5
    onSubmit http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:7
    bindAsEventListener http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:417
    createResponder http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7266
    observeStandardEvent http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7013
    observe http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7005
    _methodized http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:456
    addListeners http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:3
    each http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:859
    addListeners http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:3
    initialize http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:2
    klass http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:80
    k http://localhost:8080/bin/skin/resources/js/xwiki/actionbuttons/actionButtons.min.js?cache-version=1679416692000:1
    createResponderForCustomEvent http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7282
    fireEvent_DOM http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7141
    fire http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7130
    _methodized http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:456
    initialize http://localhost:8080/bin/skin/resources/js/xwiki/xwiki.bundle.min.js?cache-version=1679416732000&defer=false&language=en:19
    createResponderForCustomEvent http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7282
    fireEvent_DOM http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7141
    fire http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7130
    _methodized http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:456
    fireContentLoadedEvent http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7317
    EventListener.handleEvent* http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7345
    <anonymous> http://localhost:8080/webjars/wiki:xwiki/prototype/1.7.3.0/prototype.js?r=1:7352
actionButtons.min.js:5:269

Thank you for reading me, I’d appreciate any help or suggestion on this :slight_smile:

I can confirm I reproduce with a Jetty + Hsqldb distribution as well.
Thanks for the report.

2 Likes

See https://jira.xwiki.org/browse/XWIKI-20819 to follow the status of the issue.

Great, thanks for taking care of it!