Hello,

I have some trouble with domain source, actions and rules and trying to figure out the culprit. My problem: I can assign domain affiliates and domain source via actions and also the regular actions work with my nodes. But when I try to combine them, let's say assign a source domain to a node, enforce a save, then send an email with the newly assigned URL, the url is not the new one.

I tried to implement a clearing of the static variables, but it seems not sufficient. So far I have taken care of the static vars in the following functions:
domain_source_lookup
drupal_lookup_path
domain_get_node_match
domain_url_outbound_alter

Any ideas what I might be missing?

Comments

agentrickard’s picture

It might be some other module interfering.

See #683400: ImageField Tokens causes redirect to main domain on node save, especially the patch in #18 that no one ever tested.

dqd’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'll close this issue due to inactivity for 13 years and even if I would move it to the next nearest core version which is 7, there is upcoming EOL of Drupal 7 in January 2025. While the project's version for Drupal 7 will surely keep providing support for security issues and website breaking bug fixes for Drupal 7, we should try to minimize the open issues for Drupal 7 in the queue as much as possible. A big thanks around for the report and all the efforts in here. Feel free to re-open if you can provide a fix or found an additional related problem which increases the issue priority.