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

Markus Krötzsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |ASSIGNED

--- Comment #7 from Markus Krötzsch <[email protected]> 2012-08-21 
09:39:08 UTC ---
This is actually another problem that is not related to nowiki at all. The
value that is loaded from the database has the wrong DI type, so the loading
fails. See loadDataItem() on line 169 in DV_URI. This probably indicates that
some stored data was not readable (caused an exception when trying to load it
into a DI). This is okay in general (though I don't know if it is ok in this
particular case, but this is another issue). The main issue here is that DV_URI
does not correctly deal with this situation and fails to check the validity of
the loaded data in some cases. Similar issues exist in other DV
implementations.

A more robust system is needed. Instead of accessing m_dataitem directly, one
should always use a local function getInternalDataItem() that creates a
fallback dataitem as a result if there is none. I will fix this ...

-- 
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