Null Edit Test - Page A
De Semantic MediaWiki - Sandbox
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]]
.
Steps to reproduce the issue:
- Manually edit Null Edit Test - Page A so that
[[Has Comment::Foo]]
, - then visit page Null Edit Test - Page B and see that it does indeed display the new value in B (i.e. “Foo”).
- next view the properties of page Null Edit Test - Page B <- https://sandbox.semantic-mediawiki.net/wiki/Sp%C3%A9cial:Parcourir/:Null-5FEdit-5FTest-5F-2D-5FPage-5FB
- note that 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.
- Has Comment: Foo
- Semantic Dependency: Null Edit Test - Page B