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

       Web browser: ---
             Bug #: 41390
           Summary: It is possible to violate the label-description
                    uniqueness constraint on items
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


The uniqueness constraint on label-descriptions can now be violated. This is
due to the function itself is modified in TermSqlCache::termsToConditions()
(https://gerrit.wikimedia.org/r/#/c/25006/7/repo/includes/store/sql/TermSqlCache.php)

The function could be duplicated into a new with both the functionality of the
old and new version of the code, or a new subclass can be made. In the first
version a new TermSqlCache::getMatchingTerms() could be made to support it. In
the second one the StoreFactory::newTermCache() must be changed.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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