-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to analyze import behaviour #13
Comments
Hi did you run the category import task? What version of news are you using? Best to use latest master. Gr. Frans |
Hi Frans, thanks for the reply! |
Try latest master of ext:news https://github.com/TYPO3-extensions/news there where some fixes regarding important handling. Gr. Frans |
awesome, much better! thanks! |
Ah. Categories work now. The issue with lost localisations persists in the same way as before. |
Not sure if there is a easy way to debug. I did it my self (during development) the old way. Added some debug output in the data provider class. For the translated records, what are the sys_language_uid values. 0 or higher or also -1? I know there where/are some problems with sys_language_uid == -1 |
No, just 0 (de) and 1 (fr) |
Are only records with language 0 imported or some of both? |
Some of both - in fact, most of both! Only in some cases, the 2nd language is not imported.
I checked one of the records where only the language = 0 record was imported, where this is true. I don't want to abuse your help, but in case it gives more insight, here's the SQL for these two records:
|
Are the images correct imported? |
yes! (as long as imagemagick is running correctly) |
Will try tot find soms time tomorrow to test the sql you posted |
Nice! I've removed some custom columns from the SQL to avoid conflicts |
Today I had the same Problem: i had 541 News in 8 language in tt_news table: some only default lang, som localized, some using -1 to show news in all languages and some exists only in one language and had no parent news. And the (historical grown) data in tt_news was a real mess: there are entries with language -1 but have translations and i have entries with default language but with a parent id and at least localized entries with missing news parent! finaly after import i just had 236 news in tx_news_domain_model_news Resultion: always store syslangauge uid !+130: $news->setSysLanguageUid($importItem['sys_language_uid']); put entry only to persistance stack if it IS localized entry
Fix Problem if tt_news entry is pointing to a missing parentchange lines from
to
When i now compare old with new with this query, nothing is missing ..: select OLD.uid,OLD.title , OLD.sys_language_uid, OLD.l18n_parent, NEW.uid , NEW.sys_language_uid, NEW.l10n_parent questions or want the changed file ? just ask or send me an email: see profile |
Hi
after adding page TS to tx_news, I was able to import a bunch of tt_news items into tx_news. But I have (at least) two Issues now I don't know how to debug.
Can you give me some hints to fix this?
Thanks!
Urs
The text was updated successfully, but these errors were encountered: