Closed air-hand closed 2 years ago
I resolved this issue, implement DjangoCMS page permalink view by myself and rebuild all indices to insert the link.
By the way, DjangoCMS is not Django, just a package of it. IMO, Django is just a framework, so its rules don't compatible with all its package use cases. DjangoCMS supports move pages and change slugs by design. no more and no less.
I'm using aldryn_search.signal_processor.RealTimeSignalProcessor.
When moved a page and search, result.url is not updated. because a index is updated when only publishing or unpublishing.
And, change a page's slug(or overwrite_url) is need publish, but descendants's url are not changed.
I tried implement update all descendant's indexes when a page moved, but the process is too slowly. Also no effect in case of slug changed.
I think that there is no other way than access page object, as described below... Any ideas?