Can't import only non-default language
When you import content that is only available in the non-default language (for instance: Spanish), you sometimes get the following error while importing:
Can't find contentlet: a0e2e960-0888-4156-8fbf-8c9649e0b907 lang:1 live:false
For some reason Dotcms expects there to be a default language version. I can reproduce this on the demo website:
- Create a new piece of Content (Generic), only in Spanish
- Export the Spanish Content (Generic) content
- Change the exportfile: rename "Identifier" to "Whatever"
- Import the exportfile, setting the Language to Spanish and checking the "host" and "title" fields
You'll see the error in the pop-up before you actually import. Also note that when you don't change the column name "Identifier" then it works (no English version is needed). This is strange, and unfortunately not our use-case since we want to be able to also create new content using an import.
Fixed, Tested on Nightly Build 2014-04-22