Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-3147

Make documents without a life cycle state appear in parent content

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2 M4
    • Fix Version/s: 5.2 RC1
    • Component/s: None

      Description

      when a document type has no life cycle attached, its state is null with the sql visible storage.
      the query retriveing children tests that the state is not "deleted" and the document is not retrieved:

      Yes, at the SQL level at the moment a NULL is stored if the lifecycle state was not initialized, and doing
      x <operator> NULL
      always returns NULL which is FALSE.

      We'll have to make sure we never store NULL for the lifecycle state, what should we store if there's no lifecycle policy defined? "default" ? "" ?

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: