My imports are running incorrect. I am using Joomla 3.6.4 and CSVI 6.6.4.
The joomla content import creates new articles instead of overwriting the existing ones.
The debug log says the following:
2016-10-26 14:33:24 1 [QUERY] SELECT `id` FROM `zb3xu_categories` WHERE `extension` = 'com_content' AND `path` = 'blog/nieuws'
2016-10-26 14:33:24 1 [DEBUG] COM_CSVI_FIND_CONTENT_ID
2016-10-26 14:33:24 1 [QUERY] SELECT id FROM `zb3xu_content` WHERE `alias` = 'exampletitle' AND `catid` = 2
It checks if the category_path 'blog/nieuws' exists, and if so get the ID of this category.
The category does exist, but the returned catid isn't correct and defaults to catid = 2 instead of catid = 9 which in my case it should be.
The problem seems to be in the function: convertCategoryPath which checks what the category should be by the categorytitle instead of the path. I think this should be looked at and fixed.
I think i temporarily fixed it by changing line 185 of file administrator/components/com_csvi/addon/com_content/helper/com_content.php ->where($this->db->quoteName('title') . ' = ' . $this->db->quote($title));
by replacing quoteName('title') to quoteName('path'). but PLEASE do correct me if im wrong.
Thanks in advance
- renewmyid
- RO CSVI
- Wednesday, 26 October 2016
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!