Hello,
I'm setting this to support request because I am not sure it is a bug report, but here it goes:
I have i18n installed, and are running two languages on the site. I'm using VBO to update path aliases at the moment (for pathauto).
- So, if I am using the VBO view in catalan, and I try to run the action on spanish nodes, it looks like it runs, but the aliases dont get updated.
- If however I am usign the VBO view in spanish, and I try to run the action on spanish nodes, they do get the alias updated.
The same happens if I use he save node action. I am using only one alias [menupath-raw] setting for all languages (or no language) in pathauto. I havent tested other actions however, so I'm not sure it's a VBO problem, looks like it though, for if i manualy go in and save a node, the path alias does get generated.
I am using exposed filters for the view, both for types of nodes and the language.
Anyone else seeing this behavioiur?
Comments
Comment #1
infojunkieCan you please try a standard operation such as publishing/unpublishing nodes of a different language? This would help diagnosing much faster.
Comment #2
manuel garcia commentedI tried browsing in spanish and trying to unpublish a catalan node, the action seemed to run fine, but the node did not get affected.
I went to the watchdog see if anything weird happened, and found a info entry saying that the action to unpublish the node was executed. No warnings, no errors. Very strange.
Comment #3
infojunkieBut the nodes in catalan are unpublished correctly?
Comment #4
manuel garcia commentedNo, if current language does not match the language of the node you want to unpublish, it doesnt get unpublished.
Comment #5
infojunkieHere's what I did to reproduce your scenario:
* Enabled modules: Locale, Content Translation, Internationalization
* Added two new languages: French and Arabic
* Edited Story content type to mark it as multilingual
* Generated new stories and marked one as French
* Switched to Arabic interface
* Opened stock VBO admin/content/node2 and selected French story
* Applied operation "Unpublish post"
=> The story was unpublished.
Let me know if I missed something.
Please try action "Execute arbitrary PHP script" and write:
in the script to execute. Make sure devel.module is enabled. Do you see any output when you execute the action?
Comment #6
manuel garcia commentedYour steps look good, besides that my nodes are all translated into both languages, not sure it makes a difference though.
OK, i went and (while having catalan as language), executed dsm($object); on a spanish node, and yes, i did get a result, which looked to me like the node object itself. So looks like it's ok ... strange.
Comment #7
infojunkieI will check with node translations, that might confuse VBO.
Comment #8
infojunkieI translated a node, and found that the translation creates a new node altogether. In VBO, I found both nodes, and I was able to apply the action to both successfully.
So a few questions:
* Does your VBO show you both the original and translated versions of your nodes? Or do you have a language filter to select only nodes in a given language?
* Did you check if the action is applied on the original instead of the translation or vice versa? (you can find out using the PHP script above)
Comment #9
manuel garcia commentedOK I'm starting to think there must be a problem with our install then.
the vbo view shows both the original and the translated node. At first, i didnt filter the language. Now Im using an exposed filter for this problem we are having though.
I did check if it was doing the action for the php script on the node I had selected, and it did run on the node i was trying to run the action on. So it looks like it is doing its job fine. Im confused now will post as soon as i find something else out. Thanks for taking care of this kratib, much appreciated =)
Comment #10
infojunkieClosed until I hear back from original poster.
Comment #11
manuel garcia commentedSorry for no updates lately, please do keep it closed. I've found that we have other problems with the site, I'm suspecting dead php on some nodes.
It appears I'm the only one seeing this, so let's asume its coming from somewhere else. Thanks for the support kratib!