From: Etienne H. <hi...@ar...> - 2010-09-17 18:33:41
|
Dear Yaron, I just encountered this problem with SemanticInternalObjects_0.6_r69436, SMW 1.5.2 and MW 1.16.0 With the second save the page not the SIO object it holds is now twice in a query. The page was double in the database table smw_ids and smw_rels2 but only the second save was in smw_inst2. The s_id/smw_id of the SIO was 1106, with the first page id=1107 and the second 1108. The name of the page is "EEG-Logger II". I removed the double entries with s_id=1107 I will upgrade SIO to r71607 and tell you if I find the behaviour again Best Regards Etienne On 17.09.2010 00:00, Yaron Koren wrote: > Hi, > > You need to upgrade your version of Semantic MediaWiki; see the first item here: > > http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects#Known_issues > > You really should upgrade your version of SIO as well, since the > version you're using (0.4) has other, unrelated bugs. > > -Yaron > > > On Thu, Sep 16, 2010 at 2:46 PM, jie...@bi... > <jie...@bi...> wrote: >> Hi, All >> I am using MediaWiki:1.15.1, SemanticMediaWiki: 1.5g-SVN, and >> SemanticInternalObject:0.4. >> I have two exact same installations. >> >> In one of installation(php 5.2.10, mysql 5.1.41), the Semantic internal >> object is not saved when the page is first created. Once the page is >> created, SIO can be deleted/inserted/modified. I traced the code to >> deleteSemanticData method in SMW_SQLStore2.php >> line 1912:$id = >> $this->getSMWPageID($subject->getDBkey(),$subject->getNamespace(),$subject->getInterwiki(),false); >> line 1913:if ($id == 0) return; // not (directly) used anywhere yet, >> maybe a redirect but we do not care here >> >> I add log to the code. The id is indeed is 0 and the execution returns >> in line 1913. So the smwDeleteSemanticData at the end of this method is >> never invoked and SIO update is not called. >> >> In another installation(php 5.1.6, mysql 5.0.7), everything works fine. >> >> Updating the whole software is not an optional right now for me. Can >> anyone give me some guidance here so that I can modify the current code >> I have to make it work. >> >> thanks >> -jason >> >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> > > |