Web browser: ---
            Bug ID: 60670
           Summary: JS errors on SomeValueSnak/NoValueSnak
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
    Classification: Unclassified
   Mobile Platform: ---

Some code seems to assume all Snaks have the getValue() and getType() methods,
but SomeValueSnak and NoValueSnak don't. This triggeres JS errors, causing the
page to be only partially initialized:

When loading Q38 on with FF 26.0 (logged in), I get:
TypeError: snak.getValue is not a function

In chromium, I get:
TypeError: Object #<WbPropertyNoValueSnak> has no method 'getValue'

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to