Summary: | Saving in authoring causes updates to live | ||
---|---|---|---|
Product: | Lenya | Reporter: | Richard Frovarp <rfrovarp> |
Component: | Repository Integration | Assignee: | Lenya Developers <dev> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | Other | ||
OS: | other |
Description
Richard Frovarp
2008-01-28 08:35:29 UTC
IIRC the reason for this behaviour is that all area versions of a document share a common workflow. When the authoring document's workflow meta data change, the live version's workflow meta data are updated as well. A possible solution would be to introduce area-independent meta data, but this would be a bit difficult to implement and hacky, because the repository layer (which handles meta data) doesn't know about the concept of areas. The cleanest solution would IMO be to abandon the area concept. This would require a comprehensive analysis of possible workflow scenarios. Random thought: Another option would be a fallback hierarchy. If an area version doesn't contain a value for a particular meta data element, it is fetched from the authoring/trash/archive version. I'm confused as to what meta data is being talked about. Shouldn't the meta data only be updated in live after a publish? (In reply to comment #3) > I'm confused as to what meta data is being talked about. The current workflow state is stored in the meta data. > Shouldn't the meta data only be updated in live after a publish? All area versions have the same workflow state - after publishing, the authoring has the state "live", and the live version has the state "live". When you edit the document again, both authoring and live version are set to the state "authoring". Okay, I see that now. Of course the follow up question is, why? What difference does that information make to the live area? (In reply to comment #4) > (In reply to comment #3) > > I'm confused as to what meta data is being talked about. > > The current workflow state is stored in the meta data. > > > Shouldn't the meta data only be updated in live after a publish? > > All area versions have the same workflow state - after publishing, the authoring > has the state "live", and the live version has the state "live". When you edit > the document again, both authoring and live version are set to the state > "authoring". why should a live document have workflow meta data at all? doesn't make sense to me. and btw, +1 to get rid of areas and -1 to any quick fixes that introduce yet another area dependency. |