Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

Import "Replace Data" is failing all the time #155

Open
exophunk opened this issue Feb 23, 2017 · 1 comment
Open

Import "Replace Data" is failing all the time #155

exophunk opened this issue Feb 23, 2017 · 1 comment

Comments

@exophunk
Copy link

Hey Bob,

I tried to import entries with multiple locales. I approached it the same way as described in #103.

When I try to import with the Option "Replace Data", The craft tasks always failed. I tried one million different things. To the point when I created a empty new section with just a title field, and tried to import simply just titles. Also crashes. I think the "Replace Data" simply doesn't work at the moment?

Append always worked, Replace always crashed (with the same csv-file/section, so its not about a faulty file)

My Craft: Craft CMS 2.6.2962
Import Plugin: 0.8.33

I simplified and tried this import:

CSV:

title,
Wtf,
Title,
Something,

Section:

Test

Fields: (none, just title)

I also tried it with any other kind of entries. I tried it with selecting criteria fields, no criteria fields, anything. Always crashes.

– Task just fails. No message, no error, nothing
– No entry in "craft_import_log"
– Again: "append" always works, "replace" always crashes.

The only thing I found somewhere very hidden in the craft.log file was this,

2017/02/23 14:20:21 [error] [php] Object of class Craft\Model could not be converted to string (/home/vagrant/workspace/y7k/cp01-coop-emoji/craft/plugins/import/services/ImportService.php:121)

I couldn't understand why it really crashes or if this is the issue. it looks like..

Thanks, Robert

@northamerican
Copy link

Try uninstalling and reinstalling the plugin from the Settings > Plugins page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants