Closed cth35 closed 2 months ago
I suspect its unrelated to theme manager and one of your other plugins is breaking the form submission.
Are all your plugins up to date with no deprecated plugins installed?
Ok I disabled the Dark Theme plugin and it seems to work now.
Jenkins and plugins versions report
Environment
```text Jenkins: 2.462.1 OS: Linux - 4.18.0-305.19.1.el8_4.x86_64 Java: 17.0.12 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- ansicolor:1.0.2 ant:487.vd79d090d4ea_e antisamy-markup-formatter:162.v0e6ec0fcfcf6 apache-httpcomponents-client-4-api:4.5.14-208.v438351942757 apache-httpcomponents-client-5-api:5.2.1-1.0 asm-api:9.7-33.v4d23ef79fcc8 authentication-tokens:1.53.v1c90fd9191a_b_ aws-credentials:191.vcb_f183ce58b_9 aws-java-sdk-ec2:1.12.447-382.vda_68e2007233 aws-java-sdk-minimal:1.12.447-382.vda_68e2007233 backup:1.6.1 blueocean:1.27.8 blueocean-autofavorite:1.2.5 blueocean-bitbucket-pipeline:1.27.8 blueocean-commons:1.27.8 blueocean-config:1.27.8 blueocean-core-js:1.27.8 blueocean-dashboard:1.27.8 blueocean-display-url:2.4.2 blueocean-events:1.27.8 blueocean-git-pipeline:1.27.8 blueocean-github-pipeline:1.27.8 blueocean-i18n:1.27.8 blueocean-jira:1.27.4 blueocean-jwt:1.27.8 blueocean-personalization:1.27.8 blueocean-pipeline-api-impl:1.27.8 blueocean-pipeline-editor:1.27.8 blueocean-pipeline-scm-api:1.27.8 blueocean-rest:1.27.8 blueocean-rest-impl:1.27.8 blueocean-web:1.27.8 bootstrap5-api:5.3.3-1 bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_ branch-api:2.1178.v969d9eb_c728e build-monitor-plugin:1.14-876.v2162064db_a_93 build-pipeline-plugin:1.5.8 build-timeout:1.30 caffeine-api:3.1.8-133.v17b_1ff2e0599 checks-api:2.2.0 cloudbees-bitbucket-branch-source:888.v8e6d479a_1730 cloudbees-disk-usage-simple:187.v6378d330d1d4 cloudbees-folder:6.942.vb_43318a_156b_2 command-launcher:107.v773860566e2e commons-lang3-api:3.17.0-84.vb_b_938040b_078 commons-text-api:1.12.0-129.v99a_50df237f7 coverage:1.16.1 credentials:1371.vfee6b_095f0a_3 credentials-binding:677.vdc9d38cb_254d cvs:2.19.1 dark-theme:315.va_22e7d692ea_a dashboard-view:2.487.vcf0ff9008a_c0 data-tables-api:2.1.4-1 disk-usage:0.28 display-url-api:2.200.vb_9327d658781 docker-commons:419.v8e3cd84ef49c docker-compose-build-step:1.0 docker-java-api:3.2.13-69.vb_b_0c2333257c docker-plugin:1.3.0 docker-slaves:1.0.7 docker-workflow:563.vd5d2e5c4007f dtkit-api:3.0.2 durable-task:523.va_a_22cf15d5e0 echarts-api:5.5.1-1 eddsa-api:0.3.0-4.v84c6f0f4969e email-ext:2.97 embeddable-build-status:369.vb_a_68a_575a_b_11 extended-read-permission:3.2 external-monitor-job:215.v2e88e894db_f8 extra-columns:1.26 favorite:2.4.3 font-awesome-api:6.6.0-1 forensics-api:2.5.0 generic-webhook-trigger:1.86.3 git:5.2.2 git-client:4.7.0 git-server:117.veb_68868fa_027 gitea:1.4.5 github:1.37.3.1 github-api:1.314-431.v78d72a_3fe4c3 github-branch-source:1741.va_3028eb_9fd21 gradle:2.7 groovy:453.vcdb_a_c5c99890 gson-api:2.10.1-15.v0d99f670e0a_7 handy-uri-templates-2-api:2.1.8-30.v7e777411b_148 htmlpublisher:1.33 instance-identity:185.v303dc7c645f9 ionicons-api:74.v93d5eb_813d5f jackson2-api:2.17.0-379.v02de8ec9f64c jakarta-activation-api:2.1.3-1 jakarta-mail-api:2.1.3-1 javadoc:233.vdc1a_ec702cff javax-activation-api:1.2.0-7 javax-mail-api:1.6.2-10 jaxb:2.3.9-1 jdk-tool:73.vddf737284550 jenkins-design-language:1.27.8 jersey2-api:2.41-133.va_03323b_a_1396 jira:3.12 jjwt-api:0.11.5-77.v646c772fddb_0 joda-time-api:2.12.7-29.v5a_b_e3a_82269a_ jquery:1.12.4-1 jquery3-api:3.7.1-2 jsch:0.2.8-65.v052c39de79b_2 json-api:20240303-41.v94e11e6de726 json-path-api:2.9.0-58.v62e3e85b_a_655 junit:1265.v65b_14fa_f12f0 ldap:682.v7b_544c9d1512 lockable-resources:1156.v5e9f897ece02 mailer:472.vf7c289a_4b_420 mapdb-api:1.0.9-28.vf251ce40855d matrix-auth:3.2.2 matrix-project:832.va_66e270d2946 mina-sshd-api-common:2.12.1-101.v85b_e08b_780dd mina-sshd-api-core:2.12.1-101.v85b_e08b_780dd multibranch-scan-webhook-trigger:1.0.11 nodelabelparameter:1.11.0 okhttp-api:4.11.0-157.v6852a_a_fa_ec11 pam-auth:1.10 parameterized-scheduler:1.2 parameterized-trigger:806.vf6fff3e28c3e performance:918.v5511b_a_d40338 periodicbackup:2.0 pipeline-build-step:516.v8ee60a_81c5b_9 pipeline-github-lib:42.v0739460cda_c4 pipeline-graph-analysis:202.va_d268e64deb_3 pipeline-groovy-lib:689.veec561a_dee13 pipeline-input-step:477.v339683a_8d55e pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2150.v4cfd8916915c pipeline-model-definition:2.2150.v4cfd8916915c pipeline-model-extensions:2.2150.v4cfd8916915c pipeline-rest-api:2.32 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2150.v4cfd8916915c pipeline-stage-view:2.32 plain-credentials:183.va_de8f1dd5a_2b_ plugin-util-api:4.1.0 preSCMbuildstep:71.v1f2990a_37e27 prism-api:1.29.0-17 pubsub-light:1.17 purge-build-queue-plugin:88.v23b_97b_f2c7a_d resource-disposer:0.22 robot:3.3.0 scm-api:696.v778d637b_a_762 script-security:1354.va_70a_fe478c7f sectioned-view:1.25 simple-theme-plugin:160.vb_76454b_67900 skip-certificate-check:1.1 snakeyaml-api:2.2-111.vc6598e30cc65 sonar:2.17.2 sse-gateway:1.26 ssh-agent:333.v878b_53c89511 ssh-credentials:337.v395d2403ccd4 ssh-slaves:2.877.v365f5eb_a_b_eec sshd:3.330.vc866a_8389b_58 structs:338.v848422169819 test-results-analyzer:0.4.0 theme-manager:193.vcef22f6c5f2b_ timestamper:1.25 token-macro:400.v35420b_922dcb_ trilead-api:2.147.vb_73cc728a_32e variant:60.v7290fc0eb_b_cd workflow-aggregator:596.v8c21c963d92d workflow-api:1336.vee415d95c521 workflow-basic-steps:1042.ve7b_140c4a_e0c workflow-cps:3953.v19f11da_8d2fa_ workflow-durable-task-step:1289.v4d3e7b_01546b_ workflow-job:1436.vfa_244484591f workflow-multibranch:795.ve0cb_1f45ca_9a_ workflow-scm-step:427.v4ca_6512e7df1 workflow-step-api:678.v3ee58b_469476 workflow-support:920.v59f71ce16f04 ws-cleanup:0.45 xunit:3.1.2 ```What Operating System are you using (both controller, and any agents involved in the problem)?
Red Hat Enterprise Linux release 8.4 (Ootpa)
Reproduction steps
Install ThemeManager and DarkMode Theme. Add new environment variable in system and click "save". Then a Oops error is displayed. Seems that env variable are saved but when jenkins is restarted, those env variable are lost. Here is the log observed after clicking on save button :
Expected Results
No error message and jenkins system env variable persistant after reboot
Actual Results
Ooops error message and jenkins system env variable not persistant after reboot
Anything else?
No response
Are you interested in contributing a fix?
No response