'NoneType' object has no attribute 'node'
joeljv91 opened this issue ยท 7 comments
joeljv91 commented
avryhof commented
What bothers me is that this bug made it into a release. I could probably make the code in my PR cleaner if I had time to figure out what else it might break to do so.
fsbraun commented
I had to revert to a previous version (2.1.2) of djangocms_link
until this is fixed ... I'd appreciate if the fix is released quickly. Thanks very much!
joeljv91 commented
FinalAngel commented
@joeljv91 has the issue been resolved for you using 2.2.2?
fsbraun commented
@FinalAngel It does for me, however, would it make sense to also replace ref_page.site_id
by ref_page_site_id
in line 151 of models.py
after going through the hassle of detecting the node to get the site id?
FinalAngel commented
@fsbraun I'll have a look :)