1. muecke06
  2. RO CSVI
  3. Tuesday, 03 July 2018
  4.  Subscribe via email
Hello,

First: All PlugIns are active.

I've set up several import plug-ins to test. No rule works for me, all remain ineffective. A very simple rule for adding a string to the value. See here the configuration:
[img ]https://gb.dinotec.de/images/maleben/2018-07-03%2013_36_13-Start.png[/img]

The value in the database has not changed. Here is the corresponding entry from the debug log:

Debug Log:
2018-07-03 11:05:45 1 [DEBUG] Custom field name-1 is not assigned to given category
2018-07-03 11:05:45 1 [QUERY] SELECT `field_id`,`category_id` FROM `j25_fields_categories` WHERE `field_id` = 1 AND `category_id` = 38
2018-07-03 11:05:45 1 [DEBUG] Removed existing custom field values
2018-07-03 11:05:45 1 [QUERY] DELETE FROM `j25_fields_values` WHERE `field_id` = 1 AND `item_id` = 204
2018-07-03 11:05:45 1 [DEBUG] Custom field values added
2018-07-03 11:05:45 1 [QUERY] INSERT INTO `j25_fields_values` (`field_id`,`item_id`,`value`) VALUES (1,204,'EN VoDes BlueWave 30 mit integr. Regelungstechnik')

I'm desperate, where's the trick for this rule to work?

Greetings
Steffen
Accepted Answer Pending Moderation
Hello Steffen,
You have created the rules, have you also applied the rule on the field in CSVI template fields page?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Oh yes of course.
Sorry, I forgot to mention the assignment is done:

[img ]https://gb.dinotec.de/images/maleben/2018-07-03%2014_19_02-Start.png[/img]

[img ]https://gb.dinotec.de/images/maleben/2018-07-03%2014_19_15-Start.png[/img]
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Steffen,
In that case, post the complete debug log file to check.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hi Tharuna,

here is the complete debug log.

Thanks
Steffen

com_csvi.log.124.zip
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello Steffen,

What type of field is the name-1? This is not a core Joomla field. To see if plugins are working you don't need to run the import as the result must be visible in the preview as well.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello Steffen,
In your import template settings on File tab you have set Use file for configuration to Yes, you need to set this to No and save the template. This way CSVI uses template fields and the rules applied on the template fields. As Roland said you don't need to wait for the import to check on your rules, Preview will show the results.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
Hi guys,

the rules work.
"Use file for configuration" = No was the solution. Thanks for that.

The effect of the rules is now also visible in the preview. That is very good.
Problem: The records from Joomla content are not updated.

The debug log gives but a success message.
Can you please see why my records are not written?

Regards
Steffen

com_csvi.log.141.zip
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
Hello Steffen,
The debug log shows that there is no article id and so id field in all queries are empty. Can you post your import file and also template XML to check?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
Hi Tharuna,

the best first: My tests were successful now.

Yes, the XML file does not have an article ID, that's what it's meant to be AND (@Roland), the Field "name-1" is a Joomla Custoum Field for Content.

It's probably all "Spanish" to you. Let me explain briefly what I intend to do here:
I would like to use CSVimproved to translate my German content into other languages. This goes in the following order:

Case 1: (NEW)
1. Create German content
2. Export German content with all relevant fields into an XML file
3. This XML file is then read into a TMS (TranslationMemorySystem) and goes through a GUI to a translator. When the translator finishes, an analog XML file is checked out with English texts.
4. CSVimproved import with partially adjusted field contents:

a) alias: 0220-100-00_de -> 0220-100-00_en
b) language: DE-GB -> en-GB
c) the article ID is deleted

5. CSVimproved creates a new article for each entry in the XML file (since there is no ID).

Case 2: (Update)
Points 1-5 are repeated in the same way as in case 1. German content has been changed. This one has to be translated again.
For the point 5 applies: in the XML file there is still NO article ID. Nevertheless, just in my test, the English article (which is already there) updated correctly.
I'm not sure why it worked now, but I hope the import has taken the alias (this will ALWAYS be unique within a category) as a WHERE statement. If so, my procedure should work that way.

I have one more question:
Can I limit a Joomla content export to modified_by = today?
Then I can install a cron that exports the data daily. Maybe you have a link for me to read how it works.

Everything understood ....:ohmy: :silly: :)

Greetings Steffen
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
Hello Steffen,

Yes, the XML file does not have an article ID, that's what it's meant to be
In that case you need to remove the id field from your list of fields.

I'm not sure why it worked now, but I hope the import has taken the alias
Correct, we take the alias as explained in the documentation Joomla content import

Can I limit a Joomla content export to modified_by = today?
You cannot without modifying the export. However I find it a feasible request, so will put it on our todo list.

Everything understood ....:ohmy: :silly: :)
All clear to me ;)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
Hi Guys,

THANKS!!! for the professional Support

Can I limit a Joomla content export to modified_by = today?

You cannot without modifying the export. However I find it a feasible request, so will put it on our todo list.


PERFECT!!! Thanks.

Regards
Steffen
  1. more than a month ago
  2. RO CSVI
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!