Bug 53228

Summary: Impossible to handle language versions separatly
Product: Lenya Reporter: Martin Ginter <martin.ginter>
Component: WorkflowAssignee: Lenya Developers <dev>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: Trunk   
Target Milestone: 2.0.1   
Hardware: All   
OS: All   
Attachments: Tentative patch for problem described

Description Martin Ginter 2012-05-14 08:53:10 UTC
Lenya 2.1.x Branch /Default Publikation:
It is not possible to deaktive a document in a special language version if their are active child dokuments of an other language versions available.
Comment 1 Rainer Schöpf 2012-11-24 08:12:02 UTC
Created attachment 29629 [details]
Tentative patch for problem described

Yes, there is an error in the program logic; it checks whether there will be child nodes left after removal of the node (ie with all language version).

I append a patch that circumvents the problem. I haven't tested it very thoroughly, though.

  Rainer