fix critical loss of data - fixes #449

Sun, 06 Oct 2024 15:35:46 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 06 Oct 2024 15:35:46 +0200
changeset 326
d5f6331d4adb
parent 325
388c1d2147d4
child 327
a7ce68f531c0

fix critical loss of data - fixes #449

src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
--- a/src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt	Sun Oct 06 15:24:32 2024 +0200
+++ b/src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt	Sun Oct 06 15:35:46 2024 +0200
@@ -83,7 +83,7 @@
             http.response.sendError(404)
             return
         }
-        val issue = Issue(reference.id, reference.project)
+        val issue = Issue(reference.id, reference.project).applyFormData(http, dao)
         processIssueForm(issue, reference, http, dao)
         if (http.param("save") != null) {
             http.renderCommit("${pathInfos.issuesHref}${issue.id}")
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 15:24:32 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 15:35:46 2024 +0200
@@ -28,6 +28,8 @@
 
 <ul>
     <li>Die Vorgangsliste zeigt nun die Komponente, wenn kein Filter auf Komponenten aktiv ist.</li>
+    <li>Kritischen Fehler behoben, bei dem das Speichern eines aus der globalen Liste geöffneten Vorgangs
+        zum Verlust aller Daten dieses Vorgangs führte.</li>
     <li>Status und Kategorie eines Vorgangs sind nun auch im RSS-Feed korrekt lokalisiert.</li>
 </ul>
 
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 15:24:32 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 15:35:46 2024 +0200
@@ -28,6 +28,7 @@
 
 <ul>
     <li>Add component tag to issue list when no component filter is active.</li>
+    <li>Fix critical issue where saving an issue from the global list erases all data for that issue.</li>
     <li>Fix missing localization for issue status and category in RSS feed.</li>
 </ul>
 

mercurial