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

--- Comment #3 from MWJames <jamesin.hongkon...@gmail.com> ---
I do understand your scenario but as of now I don't have a fix for this
problem.

The problem is that the record type is being handled has a subobject itself
(this was the change in 1.8 I think) which means that you are storing a
subobject within a subobject and when using the same identifier creates the
described unfortunate situation. 

The "record type" subobject uses the "real" subobject as a SMWDIWikiPage
reference (see below) and this is where the subSemanticData issue occurs. 

{{#subobject: Test
 | TextProperty = Test
}}

protected 'mSubject' =>
object(SMWDIWikiPage)[243]
  protected 'm_dbkey' => string 'Subobject_record_type' (length=21)
  protected 'm_namespace' => int 0
  protected 'm_interwiki' => string '' (length=0)
  protected 'm_subobjectname' => string 'Test' (length=4)
protected 'subSemanticData' =>
array (size=0)
  empty

{{#subobject: Test
 | TextProperty = Test
 | RecordProperty = Testing;123
}}

protected 'mSubject' =>
  object(SMWDIWikiPage)[290]
    protected 'm_dbkey' => string 'Subobject_record_type' (length=21)
    protected 'm_namespace' => int 0
    protected 'm_interwiki' => string '' (length=0)
    protected 'm_subobjectname' => string 'Test' (length=4)
protected 'subSemanticData' =>
  array (size=1)
    '_d2f07a28343b60fc1a29f127e1820034' =>
      object(SMWContainerSemanticData)[300]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to