Fix push notifications URL method#10017
Conversation
8e2c3f9 to
bea89e2
Compare
andreslucena
left a comment
There was a problem hiding this comment.
As this is a fix, can you add a spec with the failing example 🙏🏽? It should be in https://github.com/decidim/decidim/blob/develop/decidim-core/spec/presenters/decidim/push_notification_presenter_spec.rb
Thanks
|
Yep, totally, I was just playing with the possible solution. |
bea89e2 to
964891f
Compare
andreslucena
left a comment
There was a problem hiding this comment.
I think we can improve it with an specific case from the original issue, what do you think?
decidim-core/spec/presenters/decidim/push_notification_presenter_spec.rb
Show resolved
Hide resolved
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
OK, although my test already covered the error after updating it in 964891f but now is more complete, so ok to me and ready to review again @andreslucena |
The initial report wasn't that the comment URL wasn't the full comment URL, but that there was an exception with other resources. So, I guess that with this solution we're solving two bugs for the price of one 😄 |
* develop: Redesign: action buttons (#9852) Integrate reported users in Global moderation (#10018) Fix resource_icon with component or manifest nil (#10134) Revent Docker actions to Ubuntu 20.04 due to OpenSSL issues (#10142) Fix push notifications URL method (#10017) Fix typo in README (#10110) Add correct call for conference speaker (#10061) Fix missing fields on duplicate meetings functionality (#9899) Fix translations missing on admin log (#9889)
🎩 What? Why?
This PR fixes the error reported for some kind of notifications.
📌 Related Issues
Testing
📷 Screenshots
Please add screenshots of the changes you're proposing
