Null Edit Test - Page A
De Semantic MediaWiki - Sandbox
Has Comment: | Foo |
Semantic Dependency: | Null Edit Test - Page B |
Here is a summary of the issue we are experiencing with semantic data not being updated by null edits. Let page "Null Edit Test - Page A" contain the source “[[Has Comment::Bar]]” Let page "Null Edit Test - Page B" contain the source “[[Has Comment::{{#ask: [[Null Edit Test - Page A]] | ? Has Comment= | mainlabel=- | link=none }}]].” Let "Property:Has Comment" contain the source “This is a property of type [[Has type::Text]].” If "Null Edit Test - Page A" was updated to contain the text “[[Has Comment::Foo]]”, then Page "Null Edit Test - Page B" would display “Foo”. However, when browsing Page Null Edit Test - Page B’s properties, the value for Property:Has Comment remains “Bar”. Historically, we could trigger the semantic data to update via null edit (e.g. editing the source, adding a white space, and saving), however, since upgrading to SMW 4.2.0 we are no longer able to update how the semantic data is set on Page B unless we make an edit which actually changes the content of the page.