[MAGNOLIA-387] Paragraphs can't be deleted Created: 12/May/05  Updated: 15/May/05  Resolved: 12/May/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Bug Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Deletion of paragraphs is not persisted in the repository: clicking on "delete" actually removes the paragraph, but after a server restart the deleted paragraph shows up again.



 Comments   
Comment by Fabrizio Giustina [ 12/May/05 ]

fixed: added missing save() in RequestInterceptor

Comment by Andreas Weder [ 13/May/05 ]

Does this also fix this bug?

http://jira.magnolia.info/browse/MAGNOLIA-284

Comment by Andreas Weder [ 13/May/05 ]

Here is the patch to fix this bug also in the 2.02 branch.

Index: C:/Projects/Magnolia_2_02_Branch/src/main/info/magnolia/cms/servlets/RequestInterceptor.java
===================================================================
— C:/Projects/Magnolia_2_02_Branch/src/main/info/magnolia/cms/servlets/RequestInterceptor.java (revision 566)
+++ C:/Projects/Magnolia_2_02_Branch/src/main/info/magnolia/cms/servlets/RequestInterceptor.java (working copy)
@@ -90,6 +90,7 @@
try

{ String path=this.getRequest().getParameter("mgnlPath"); hm.deletePage(path); + hm.save(); }

catch (Exception e) {}
}

Comment by Fabrizio Giustina [ 15/May/05 ]

fix committed to the 2.0x branch too

Generated at Mon Feb 12 03:16:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.