CMS MADE SIMPLE FORGE

CGContentUtils

 

[#12178] Cannot import into root-level

avatar
Created By: Tomas Amsrud (tamsrud)
Date Submitted: Mon Oct 28 06:54:51 -0400 2019

Assigned To: Robert Campbell (calguy1000)
Version: 2.5.3
CMSMS Version: 2.2.12
Severity: Major
Resolution: None
State: Open
Summary:
Cannot import into root-level
Detailed Description:
When importing a xml-file, and not specifying a parent, the module gives a PHP
error.
It should in this case, import the given xml-file into the root level of the
site.

Or in worst-case give a error, that a parent must be specified.

PHP Fatal error:  Uncaught TypeError: Argument 2 passed to
CGContentUtils\\contentImporter::import() must be of the type integer, null
given, called in action.admin_import_content.php on line 25


History