U4-3092 - Helpful method and property for umbraco.cms.businesslogic.web.Document class

Created by wtct 10 Oct 2013, 13:13:12 Updated by Sebastiaan Janssen 29 Dec 2013, 12:49:03

  1. Sometimes I would like to know if the current Document was previously published. It is very helpful for me in BeforePublish event.

  2. Very often I need to derive version of published node. Unfortunately the Document class doesn't contains any property or method.

  3. When we have to modify any properties in the most of the nodes we need to do it without using API because when we change property we have to also publish node. In this case the database is growing very fast. So we change the properties of published version in databases and then generate new XML of node.

I have modified Document class and I will create pull request.

Comments

Sebastiaan Janssen 29 Dec 2013, 12:49:00

See pull request comments: https://github.com/umbraco/Umbraco-CMS/pull/163


Priority: Normal

Type: Bug

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: