Conversation
|
I tested all the cases with inspect element and this PR fixes the presented cases. The implemented changes seem fine for me but when reviewing this, I noticed another issue which is kind of related: In the user reference link the port is missing which makes the link unfunctional in the development environment. It's because the port parameter is missing from here: It also seems to be missing the Should we fix this too? Or think of a better way to fix these issues globally in another PR? |
Yesterday, I've detected a really similar bug in another issue, actually (#9154). I think it'd be better to tackle this in another PR, as I'd need to research a bit about how it'd be better to handle this (like should we fix every URL or maybe there's a configuration for the application?) |
Sure, let's do that. I saw #9154 and I think it might be a separate issue related to this, as that's related to the uploader URLs which are handled separately. Anyways, let's handle these in separate PRs. |
…rative drafts' events (#9146) * Fix absolute urls on 'create assembly member' event * Fix absolute urls on 'collaborative drafts' events

🎩 What? Why?
There are some emails with relative URLs, meaning that the link will only work with
letter_openerbut not in a real production environment.This PR fixes that.
I've also detected another one at
decidim-verifications' managed_user_error_event.rb - it's easier to see in managed_user_error_event_spec.rb, but I think there's some missing piece in the rspec configuration regarding the absolute URLs in tests, as I have the classicI'll try to work with that, and I'll send the PR when I have the fix for that, but I don't want to block these others for that.
📌 Related Issues
I found the others one with my good old friend
grep:Testing
letter_openerit'll work as it's the same host).