diff --git a/CHANGELOG b/CHANGELOG index 6396225075051d808fa8a852b2f518a935f628f9..da3aa614965c8be67e64339eef30cc9dfd12a990 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,9 @@ +minerva (16.2.12) stable; urgency=medium + * Bug fix: Java Assistive Technology caused randomly issues with map upload + (#1681) + + -- Piotr Gawron <piotr.gawron@uni.lu> Tue, 21 Feb 2023 12:00:00 +0200 + minerva (16.2.11) stable; urgency=medium * Bug fix: there was a race condition in very rare situations when exporting to CellDesigner (#1728) diff --git a/CellDesigner-plugin/pom.xml b/CellDesigner-plugin/pom.xml index 0aa7df3bde25897e17a790d3267174b69b1f8225..620e4fc471daa8993c707e3745974ddab8c4429f 100644 --- a/CellDesigner-plugin/pom.xml +++ b/CellDesigner-plugin/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>CellDesigner-plugin</artifactId> <!-- dependency from the MapViewer model --> @@ -50,19 +50,19 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>commons</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> diff --git a/annotation/pom.xml b/annotation/pom.xml index 16273cc90790d332c63d670da552e9661ce2cc10..0e1adeacc3b5db1fc833ea67728ac9f7c08d8df5 100644 --- a/annotation/pom.xml +++ b/annotation/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>annotation</artifactId> <name>Annotation module</name> @@ -18,7 +18,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer dao --> @@ -26,7 +26,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>persist</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer cell designer parser (we need access @@ -34,13 +34,13 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2 --> diff --git a/commons/pom.xml b/commons/pom.xml index 0d3d0fa7c514da6698da8d969a501302dbac6e52..8861d9be2a695e6790fc1e332d3acf37ab985f30 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>commons</artifactId> <name>Mapviewer commons</name> diff --git a/converter-CellDesigner/pom.xml b/converter-CellDesigner/pom.xml index fc594b9a92240ecb46eb46f06f81b479267a8fb7..7f2e12d313e97709b71f090120b12fbcd950e389 100644 --- a/converter-CellDesigner/pom.xml +++ b/converter-CellDesigner/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>converter-CellDesigner</artifactId> <name>CellDesigner converter</name> @@ -17,13 +17,13 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2 --> diff --git a/converter-SBGNML/pom.xml b/converter-SBGNML/pom.xml index 7cff1d12018d87394ade23785c32f22b6a5be16a..3e3759d6d8685cc3af6764b5459b848d4ff2310b 100644 --- a/converter-SBGNML/pom.xml +++ b/converter-SBGNML/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>converter-SBGNML</artifactId> @@ -20,26 +20,26 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>persist</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> <scope>test</scope> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-graphics</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> diff --git a/converter-graphics/pom.xml b/converter-graphics/pom.xml index 0d7bc42bd0b6785f1e768ed86cac69dce2f23cdd..a8019de5986deed65da24984e4a29bd069da82cc 100644 --- a/converter-graphics/pom.xml +++ b/converter-graphics/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>converter-graphics</artifactId> <name>MapViewer graphics converter</name> @@ -18,13 +18,13 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model-command</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2--> diff --git a/converter-sbml/pom.xml b/converter-sbml/pom.xml index 0acc79025fd91ea9492ccc3e694d5da7c9e11d0d..5ec00d5305f305cd7dd8f8a3e2737a2805242f2e 100644 --- a/converter-sbml/pom.xml +++ b/converter-sbml/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>converter-sbml</artifactId> <name>converter-sbml</name> @@ -40,22 +40,22 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model-command</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2 --> @@ -154,7 +154,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-graphics</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> <scope>test</scope> </dependency> diff --git a/converter/pom.xml b/converter/pom.xml index 71e533b5850fc82caf99685658adf84d9bb54ec1..85c9f8b4637039675c48e0d91d487518c75b3021 100644 --- a/converter/pom.xml +++ b/converter/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>converter</artifactId> @@ -15,7 +15,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>xerces</groupId> diff --git a/frontend-js/pom.xml b/frontend-js/pom.xml index 423d34421abfc123f6916f5935f7ec95a3710b6b..3d2079030a435144795fc7aaec64397404636064 100644 --- a/frontend-js/pom.xml +++ b/frontend-js/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>frontend-js</artifactId> <name>frontend-js</name> diff --git a/model-command/pom.xml b/model-command/pom.xml index f80bae4f157fe8de82c097b292ae2e55d505a5c9..57ca5b885118e48641b8e47f3d8cd845b1600f82 100644 --- a/model-command/pom.xml +++ b/model-command/pom.xml @@ -3,7 +3,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>model-command</artifactId> <name>Model commands</name> @@ -16,7 +16,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> @@ -24,7 +24,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2--> diff --git a/model/pom.xml b/model/pom.xml index 472e57dd5e27d7103d85700b9306721c9dd9abb1..a74fd3bcd2debf81fbb7f7c716fccb8767546bbe 100644 --- a/model/pom.xml +++ b/model/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>model</artifactId> <name>model MapViewer</name> @@ -15,7 +15,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>commons</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Java xml serialization --> diff --git a/pathvisio/pom.xml b/pathvisio/pom.xml index 276c227effe36094ddfb194832a4d415e5d250f7..cd3c568279905fe0345266d2329e03c69c878e11 100644 --- a/pathvisio/pom.xml +++ b/pathvisio/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>pathvisio</artifactId> <name>Pathvisio plugin</name> @@ -77,26 +77,26 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-graphics</artifactId> <scope>test</scope> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model-command</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2 --> diff --git a/persist/pom.xml b/persist/pom.xml index 30b28e1c17670ad44609665d2aaf6eab0ea9e903..5a2ed526a0ae5b5a327043034f4b8d24dcb03f4f 100644 --- a/persist/pom.xml +++ b/persist/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>persist</artifactId> @@ -27,7 +27,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- apache ftp --> diff --git a/pom.xml b/pom.xml index 697c5a5b89219bde2bd256d00c8dc35a8a65efde..80f02780471a17aa4e9be439445dba25ceea63e2 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> <packaging>pom</packaging> <name>parent MapViewer</name> diff --git a/rest-api/pom.xml b/rest-api/pom.xml index 2494bb621dee57a6d4892a154d194b547b979843..01af0f2cc3ae68c746a14831a34b85e50e2501ea 100644 --- a/rest-api/pom.xml +++ b/rest-api/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>rest-api</artifactId> <name>rest-api</name> @@ -19,19 +19,19 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>service</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>pathvisio</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> diff --git a/service/pom.xml b/service/pom.xml index 99a82a06006f293c596bfdbade668667b05fe7ee..0fe1d0257c2e84369a1c6f552e00f07c5a6731b2 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -7,7 +7,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>service</artifactId> @@ -20,7 +20,7 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer dao --> @@ -28,47 +28,47 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>persist</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>model-command</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>annotation</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer cell designer parser --> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-CellDesigner</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer SBGN-ML parser --> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-SBGNML</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the MapViewer graphics converter --> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-graphics</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- dependency from the SBML parser --> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>converter-sbml</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <!-- Log4J2 --> diff --git a/web/pom.xml b/web/pom.xml index ccee3ef4e550a23553c6011a83ded9694eb4af0d..7a2ee3cc87e8f25c8a87bc6a73b99cf98b077456 100644 --- a/web/pom.xml +++ b/web/pom.xml @@ -5,7 +5,7 @@ <parent> <groupId>lcsb.mapviewer</groupId> <artifactId>parent</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </parent> <artifactId>web</artifactId> <packaging>war</packaging> @@ -31,19 +31,19 @@ <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>service</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>rest-api</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> <groupId>lcsb.mapviewer</groupId> <artifactId>frontend-js</artifactId> - <version>16.2.11</version> + <version>16.2.12</version> </dependency> <dependency> diff --git a/web/src/main/java/lcsb/mapviewer/web/bean/utils/StartupBean.java b/web/src/main/java/lcsb/mapviewer/web/bean/utils/StartupBean.java index c97fe36a5621a6d1476499f8555cce2ac537efa6..e14f6c62663a7b2112513b8ed5fc500ac74881c1 100644 --- a/web/src/main/java/lcsb/mapviewer/web/bean/utils/StartupBean.java +++ b/web/src/main/java/lcsb/mapviewer/web/bean/utils/StartupBean.java @@ -3,6 +3,7 @@ package lcsb.mapviewer.web.bean.utils; import java.io.File; import java.io.IOException; import java.sql.SQLException; +import java.util.Properties; import javax.annotation.PostConstruct; import javax.servlet.ServletContext; @@ -69,6 +70,7 @@ public class StartupBean { modifyXFrameDomain(); modifyCorsDomain(); setSessionLength(); + disableAssistiveTechnologies(); removeInterruptedReferenceGenomeDownloads(); logger.debug("Application startup script ends"); } @@ -141,8 +143,8 @@ public class StartupBean { } /** - * Set {@link ProjectStatus#FAIL} statuses to projects that were uploading - * when application was shutdown. + * Set {@link ProjectStatus#FAIL} statuses to projects that were uploading when + * application was shutdown. */ private void setInterruptedProjectsStatuses() { try { @@ -165,4 +167,8 @@ public class StartupBean { } } + private void disableAssistiveTechnologies() { + Properties props = System.getProperties(); + props.setProperty("javax.accessibility.assistive_technologies", ""); + } } diff --git a/web/src/test/java/lcsb/mapviewer/web/bean/utils/StartupBeanTest.java b/web/src/test/java/lcsb/mapviewer/web/bean/utils/StartupBeanTest.java index 59d17c6519cf0ebab7a92b9c3c42184d76bd48c2..039bc86d28e57bfd9ced1f8a7c3150e9e27390e2 100644 --- a/web/src/test/java/lcsb/mapviewer/web/bean/utils/StartupBeanTest.java +++ b/web/src/test/java/lcsb/mapviewer/web/bean/utils/StartupBeanTest.java @@ -1,6 +1,9 @@ package lcsb.mapviewer.web.bean.utils; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; + +import java.util.Properties; import org.junit.After; import org.junit.Before; @@ -53,4 +56,10 @@ public class StartupBeanTest extends ControllerIntegrationTest { assertEquals(0, super.getErrorLogs().size()); } + @Test + public void testAssistiveTechnologies() { + Properties props = System.getProperties(); + assertNotEquals(props.getProperty("javax.accessibility.assistive_technologies"), "org.GNOME.Accessibility.AtkWrapper"); + } + }