That one's already fixed in SVN:

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/includes/SMW_DataValue.php?r1=67090&r2=67279

<http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/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...

-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.php
> * 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
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
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

Reply via email to