Needs work
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Base system
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2012 at 21:03 UTC
Updated:
24 Sep 2012 at 13:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
ethanethan commentedLooked like the status field in entity_translation is important for the visibility to anonymous users. This fix reads the published state off the entity in question and applies it to the entity as its stored in entity_translation.
Is this a good fix?
Comment #2
plachNot every entity defines a status property: you may want to try
$this->getStatus(). Also, indenting tabs should be replaced with spaces.However I don't think this is the right fix since it's basically ignoring the status set in the translation record.
Comment #3
ethanethan commentedHm, ok thanks for the quick reply. Any pointers on how to solve this? Or where to look? Where is the $entity->translations set and modified?
Comment #4
ethanethan commentedDid some more work on Friday-- here's the fix that has worked for us. Just adds a listener to the ERS form which publishes the content. Since only the source node in the translation set is invisible to anon users, only that one is updated: