Last modified: 2014-09-15 10:04:47 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 T72401, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70401 - Dropdown Input type is not picking up all property values
Dropdown Input type is not picking up all property values
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
master
All All
: Unprioritized critical (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-04 14:54 UTC by Neill Mitchell
Modified: 2014-09-15 10:04 UTC (History)
0 users

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


Attachments

Description Neill Mitchell 2014-09-04 14:54:44 UTC
Hi.

I'm running SF 3.0-alph rev 06dfc3f on MW 1.23.3 and SMW 1.9.2

I have the following District property set up:

This is a property of type [[Has type::Text]].

The allowed values for this property are:
* [[Allows value::All Hampshire]]
* [[Allows value::Outside Hampshire]]
* [[Allows value::Basingstoke and Deane]]
* [[Allows value::Fareham and Gosport]]
* [[Allows value::East Hants]]
* [[Allows value::Eastleigh]]
* [[Allows value::Hart and Rushmoor]]
* [[Allows value::Havant]]
* [[Allows value::New Forest]]
* [[Allows value::Portsmouth]]
* [[Allows value::Southampton]]
* [[Allows value::Test Valley]]
* [[Allows value::Winchester]]

In my template I have:
! District
| [[District::{{{District|}}}]] 

and in my form I have:
! District:
| {{{field|District|input type=dropdown|mandatory}}}

The dropdown does not list all the values. Southampton is missing and nothing I try will get it to list.

I have tried:
{{{field|District|input type=dropdown|property=District|mandatory}}}
and
{{{field|District|input type=dropdown|values from property=District|mandatory}}}

But Southampton still does not get listed.

I have not encountered this problem before and it works fine on an older 1.8.0.5/SF 2.6.1 instance.

Thanks
Comment 1 Neill Mitchell 2014-09-15 09:51:35 UTC
Seeing this a lot now with SMW 3.0 and SMW 1.9.2. Makes properties with defined values unusable.
Comment 2 Neill Mitchell 2014-09-15 10:04:47 UTC
I've hardcoded values= for now and will probably downgrade to 1.8.0.5. 

Going to wait until final version of SMW 2.0 (not 3.0 as stated above!) and test again.

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


Navigation
Links