Author: mail
Description:
Consider the following scenario:
There is a property "Property:Customer" and a page "Xyz AG". On a page "Project 123" we have "[[Customer::Xyz AG]]". The query {{#show: Project 123 |?Customer}} returns "Xyz AG".
Now someone moves "Xyz AG" to "Abc AG". A redirect from page "Xyz AG" to "Abc AG" gets automatically created. {{#show: Project 123 |?Customer}} now returns "Abc AG" - everything as expected. Now someone decides that the move was wrong, and moves "Abc AG" back to "Xyz AG". A redirect from "Abc AG" to "Xyz AG" gets created, which now contains the actual content again. But when you run the query {{#show: Project 123 |?Customer}}, there is no result at all anymore - it should
return "Xyz AG".
I figured out that the 'smw_iw' column in the 'smw_ids' table needs to be emptied (remove ':smw-redi') for those rows where the column 'smw_title' equals the page name of the ex-redirect in order to fix the problem.
Version: unspecified
Severity: major