Bug 53228 - Impossible to handle language versions separatly
Summary: Impossible to handle language versions separatly
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Workflow (show other bugs)
Version: Trunk
Hardware: All All
: P2 normal
Target Milestone: 2.0.1
Assignee: Lenya Developers
Depends on:
Reported: 2012-05-14 08:53 UTC by Martin Ginter
Modified: 2012-11-24 08:12 UTC (History)
0 users

Tentative patch for problem described (802 bytes, patch)
2012-11-24 08:12 UTC, Rainer Schöpf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.