Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-6867

Insert last publication must check the presence of METADATA_LAST_VALIDATION

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.0M8
    • None
    • None
    • None

      At least this is what was done in 3.8.

      See 3.8 code

              protected Expression createExpression(Request request)
              {
                  Expression validExpr = new MetadataExpression(DefaultContent.METADATA_LAST_VALIDATION);
                  Expression expr = super.createExpression(request);
                  if (expr != null)
                  {
                      validExpr = new AndExpression(expr, validExpr);
                  }
                  return validExpr;
              }
      

      In 4.0, is this needed in the web-last-publication search model? If yes, an hidden system-ref should be sufficient?

            ngavalda Nicolas Gavalda (Inactive)
            trizzi Thibaut Rizzi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: