Closed Codein-Alex closed 3 years ago
Sorry for taking so long to respond.
I think that the problem might come from the fact that you are not running the migration with the correct language setting (and have not set up fre-FR as the default content language for your db).
Here is a simple test migration that does work on my setups, which looks exactly your scenario:
-
type: content
mode: load
match:
and:
-
location_id: 51
-
content_type_identifier: folder
-
attribute:
name:
eq: Images
#expect: one
references:
- identifier: matched
attribute: count
- identifier: ct
attribute: content_type_identifier
-
type: reference
mode: dump
identifier: reference:matched
-
type: reference
mode: dump
identifier: reference:ct
I switch the approach to do it another way. Thank you for your time, you are probably right about language.
We can close this as I am not going to work soon on the project.
Alex
I have the following update statement.
Says
content has been updated
.But it does not.
If I remove
attribute
part.It does work!
content 'Alex' has been updated
My name field is an
ezstring
.I noticed that when it says that content has been updated, name does not appear like KM did not find any content.
What is wrong with the statement?