Page MenuHomePhabricator

"Has default form" not handled correctly in SMW 1.6
Closed, ResolvedPublic

Description

I submitted some bugs before, relating to SMW 1.6, that are now fixed, but I think this one is different. You can clearly see the problem here:

http://discoursedb.org/wiki/Special:Browse/Category:Authors

"Has filter" is handled correctly, but "Has default form" displays the error '
"Form:" cannot be used as a page name in this wiki.' I think the issue is somehow due to the fact that "Has default form" is defined to point to a specific namespace; but I don't know more than that.


Version: unspecified
Severity: critical

Details

Reference
bz29159

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:31 PM
bzimport set Reference to bz29159.

Acknowledged. This is the typing issue that I mentioned earlier. The datatype that has default form uses is no longer working as before, and data is not retrieved successfully. I guess what we see is simply the result of retrieving an empty string as data, and trying to use it as a title text with namespace Form:.

A similar problem did occur with "has type" and a new way of storing it is introduced in SMW 1.6. Basically, this is due to an internal incompatibility between the special property table in SMQSQLStore2 (this stores plain string values), and the data item that all wiki page properties now use (which needs to store all the fields of a wiki page). I will think about a solution for the SF types as well.

The problem should be fixed in the current SVN. Ideally, all existing data should immediately become accessible after update, even on pages that have been modified since the problem occurred.

Yay, it works!! I believe this was the last major step before SF 2.2 can be released.

Unknown Object (User) added a comment.Jun 12 2011, 1:59 PM

We tested it for 1.17beta, and it works their is well.