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

Lot of nonsense warnings in logs about service views brought by the skin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.9.1, 4.10.0
    • None
    • None
    • None
    • 4.9.1
    • Oui

      In logs I have a lot of warning about an obsolete "exclude" attribut on services views such as

      Category:	org.ametys.web.service.ServiceXSLTEnumerator
      Message:		The 'exclude' attribute in service view definition file (service:web://pages/services/search/search-info.xml) is obsolete. Consider using the services-views-xxx.xml file : search for "services-views-default.xml" in the Ametys documentation to know more about it.
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.warn(SLF4JLoggerAdapter.java:105)
      

      I have this warn for each services view brought by the skin
      Service view definition does not contains any 'exclude" attribute

      <?xml version="1.0" encoding="UTF-8"?>
      <service>
          <label i18n="true">SERVICE_SEARCH_INFO_LABEL</label>
      </service>
      

      I think the log is misplaced in ServiceXSLTEnumerator ?

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Raphaël Franchet Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: