https://bugzilla.wikimedia.org/show_bug.cgi?id=38920

       Web browser: ---
             Bug #: 38920
           Summary: Boolean properties are dropped when
                    SMW_refreshData.php is run
           Product: MediaWiki extensions
           Version: REL1_18 branch
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Hi.

I have forms and template with boolean values.

e.g in form:
!Menu Item:
|{{{field|Menu Item||restricted}}}

in template:
|-
|Menu Item: [[Menu Item::{{{Menu Item|}}}]]

Menu Item is of type boolean.

This is set in a number of pages and show in the Property:Menu Item page.

If I run SMW_refreshData.php all the Menu Item property values are dropped and
the Property:Menu Item page is empty.

Only booleans seem to be affected. The only way to get the property to populate
again is to individually open the individual pages (the property is correctly
shown as ticked), edit with form (again, the property is correctly shown as
ticked) and then save. The Property:Menu Item page then shows values again.
Needless to say, this is a complete pain.

This is on SMW 1.18alpha, MW 1.19.1 and SF 2.4.2

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to