Uploaded image for project: 'CMS CONTENIDO'
  1. CMS CONTENIDO
  2. CON-1916

Usage of multiple CMS_DATE content types with same index will crash page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: CONTENIDO 4.9.5
    • Fix Version/s: CONTENIDO 4.9.5
    • Component/s: Content Management
    • Labels:
      None

      Description

      When CMS_DATE is used multiple times with same content index, the page crashes and produces the following errors:

      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : Entity: line 2: parser error : Unregistered error message in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : <date><timestamp><Unable to render embedded object: File ([CDATA[1409645280]]></timestamp><format><) not found.[CDATA[ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : ^ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : Entity: line 2: parser error : Premature end of data in tag format line 2 in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : <date><timestamp><Unable to render embedded object: File ([CDATA[1409645280]]></timestamp><format><) not found.[CDATA[ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : ^ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : Entity: line 2: parser error : Premature end of data in tag date line 2 in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : <date><timestamp><Unable to render embedded object: File ([CDATA[1409645280]]></timestamp><format><) not found.[CDATA[ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Warning: SimpleXMLElement::__construct() : ^ in \contenido\classes\xml\class.xml.base.php on line 259
      [02-Sep-2014 08:13:24 UTC] PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in \contenido\classes\xml\class.xml.base.php:259
      Stack trace:
      #0 \contenido\classes\xml\class.xml.base.php(259): SimpleXMLElement->__construct('<?xml version="...', 16384)
      #1 \contenido\classes\content_types\class.content.type.abstract.php(209): cXmlBase::xmlStringToArray('<?xml version="...')
      #2 \contenido\classes\content_types\class.content.type.abstract.php(193): cContentTypeAbstract->_readSettings()
      #3 \contenido\classes\content_types\class.content.type.date.php(55): cContentTypeAbstract->__construct('<?xml version="...', '1', Array)
      #4 \contenido\includes\include.con_content_list.php(548): cContentTypeDate->__construct('<?xml version="...', '1', Array)
      #5 \contenido\includes\include.con_content_list.php(444): _pr in \contenido\classes\xml\class.xml.base.php on line 259

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                frederic.schneider Frederic Schneider
                Reporter:
                jann.dieckmann jann.dieckmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: