Last modified: 2008-04-30 03:08:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13887 - no warning if property specifies an allows_value that is illegal for its type
no warning if property specifies an allows_value that is illegal for its type
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Markus Krötzsch
Depends on:
  Show dependency treegraph
Reported: 2008-04-30 03:08 UTC by S Page
Modified: 2008-04-30 03:08 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description S Page 2008-04-30 03:08:47 UTC
You can specify an illegal value for a property using [[allows value]] and SMW doesn't warn.  E.g. for a property of Type:Number, [[allows value::NotNumber Bad]] works fine.

(This test has been around since October but I don't think I ever filed a bug.)

This is a particular example of the general issue that no special property warns of errors.  Another example is you can put [[corresponds to::Bad string]] anywhere.  This decouples storing special properties from rules for their use and makes it possible to edit properties and datatypes out of sequence, but it's somewhat unexpected behavior.

Note You need to log in before you can comment on or make changes to this bug.