On Montag, 7. Juni 2010, Yaron Koren wrote: > Hi Markus, > > Given that you're patching 1.5.1, there's one more set of fixes that I > think you should add in - the renaming of the class "OWLExport" to > "SMWOWLExport" didn't happen consistently in SMW 1.5.1. See here: > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWik > i/includes/export/SMW_OWLExport.php?r1=67117&r2=67302 > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWik > i/maintenance/SMW_dumpRDF.php?r1=63745&r2=67302 > > <http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWi > ki/includes/export/SMW_OWLExport.php?r1=67117&r2=67302>I believe RDF export > doesn't work in SMW 1.5.1, for that reason.
Argh! Thanks for pointing this out, I will backport these changes as well. I guess that this is one of the various problems that we got in this release due to buggy refactoring support in Zend studio (some commercial Eclipse PHP IDE). A number of other refactoring bugs had been fixed before the release. I think (hope) that no SMW developer is relying on this tool for refactoring any more now, but we still have to run after the bugs that were created before the inaptitude of this software had been recognised. I also take this opportunity to re-emphasise that developers that change a piece of code MUST test at least the core functionality of the respective feature thereafter. -- Markus > > On Mon, Jun 7, 2010 at 3:47 AM, Markus Krötzsch < > > mar...@semantic-mediawiki.org> wrote: > > On Montag, 7. Juni 2010, Markus Krötzsch wrote: > > > On Montag, 7. Juni 2010, Yaron Koren wrote: > > > > That one's already fixed in SVN: > > > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaW > > > > > >ik i/includes/SMW_DataValue.php?r1=67090&r2=67279 > > > > > > Actually, this is still only a partial fix, though it might cover all > > > current cases in SMW (extensions). The correct code in SMW 1.5.0 had a > > > proper range check. It got removed when some intermediate changes that > > > were included for better Semantic Maps compatibility had been > > > > rolled-back > > > > > after a better solution had been found. > > > > > > I have now restored the SMW 1.5.0 code: > > > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaW > >ik > > > > > i/includes/SMW_DataValue.php?r1=67279&r2=67519 > > > > > > > < > > > > http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMedia > > > > > >Wi ki/includes/SMW_DataValue.php?r1=67090&r2=67279>I'd say it's an > > > > argument for releasing a new version of SMW already, even so soon > > > > after the last one... > > > > > > I will probably just patch the old release when the LIKE issue is > > > fixed. > > > > Actually, it seems that this is already the case: Jeroen fixed it > > yesterday. I > > will take care of the update and send a mail when it is done. > > > > -- Markus > > > > > > -Yaron > > > > > > > > On Sun, Jun 6, 2010 at 10:22 PM, Laurent Alquier > > > > <laur...@alquier.org>wrote: > > > > > One of my pages throws a long list of warnings like these : > > > > > > > > > > *Notice*: Uninitialized string offset: -1 in * > > > > C:\Data\htdocs\smw\extensions\SemanticMediaWiki\includes\SMW_DataValue. > > > > > > >ph p * on line *684 > > > > > > > > > > Starting at line 680: > > > > > * > > > > > public function isNumeric() { > > > > > $sig = $this->getSignature(); > > > > > $valueIndex = $this->getValueIndex(); > > > > > > > > > > return $sig { $valueIndex } == 'n' || $sig { $valueIndex } > > > > > == 'f'; } > > > > > > > > > > For some reason, it looks like $valueIndex returns -1. Not sure why > > > > yet > > > > > > > but I will check that out, > > > > > > > > > > -- > > > > > - Laurent Alquier > > > > > http://www.linfa.net > > > > ----------------------------------------------------------------------- > > > > > > >-- ----- ThinkGeek and WIRED's GeekDad team up for the Ultimate > > > > > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > > > > > lucky parental unit. See the prize list and enter to win: > > > > > http://p.sf.net/sfu/thinkgeek-promo > > > > > _______________________________________________ > > > > > Semediawiki-devel mailing list > > > > > Semediawiki-devel@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > > > -- > > Markus Krötzsch <mar...@semantic-mediawiki.org> > > * Personal page: http://korrekt.org > > * Semantic MediaWiki: http://semantic-mediawiki.org > > * Semantic Web textbook: http://semantic-web-book.org > > -- > -- Markus Krötzsch <mar...@semantic-mediawiki.org> * Personal page: http://korrekt.org * Semantic MediaWiki: http://semantic-mediawiki.org * Semantic Web textbook: http://semantic-web-book.org --
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel