Last modified: 2012-03-15 00:45:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T37131, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 35131 - Properties of type record output only the first record of a unique datatype
Properties of type record output only the first record of a unique datatype
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-10 18:20 UTC by Andru
Modified: 2012-03-15 00:45 UTC (History)
3 users (show)

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


Attachments

Description Andru 2012-03-10 18:20:00 UTC
If a property of type record has more than one field set to a type, eg:

Property:Test
[[has type::record]][[has fields::String; String]]
...
[[Test::Foo;Bar]]

the property set above will be output as Foo(Foo) rather than Foo(Bar), and will also be displayed as such from queries to {{#ask}} and through Special:SearchByProperty, etc. In a table view from {{#ask}} all columns which derive from fields with the same datatype will display only the data from the first field of it's type.

Altering the second field type to, for example, Page, so that it reads [[has fields::String; Page]] will cause the property to be displayed correctly.
Comment 1 Andru 2012-03-10 18:20:47 UTC
Sorry, forgot to state: Version 1.7.1

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


Navigation
Links