AKSW / article.ontowiki

This repository contain an extension for OntoWiki dealing with articles (edit and view)
0 stars 0 forks source link

update does not update but create a new property when datatype is not xsd:string #30

Open seebi opened 11 years ago

seebi commented 11 years ago

here is the result of two edit tries

people:My_Test site:content "yeah haw dddd"^^xsd:string, "yeah haw ddddd"^^xsd:string, "yeah haw"^^sysont:Markdown ;
               a foaf:Document ;
               rdfs:label "My Test" .

the markdown literal is always show in the editor form so it never looks like there is an update (but a new literal is added once I submit my changes)

seebi commented 11 years ago

resource->getDescription -> array php/rdf array -> Erfurt_Rdf_MemoryModel

seebi commented 11 years ago

anlegen: ohne datatype, ohne language tag

editieren: datatype oder language erhalten

seebi commented 11 years ago

update dienst nutzen beim editieren

k00ni commented 11 years ago

dee083c242dec1c0e79d0dbb70b42e41bfe8eb6b fixes this error

(keep datatype and language tag)

seebi commented 11 years ago

this does not work for me. the situation is the same as before.

can you test and debug with the aksw model? http://aksw.org/model/export/?m=http%3A%2F%2Faksw.org%2F&f=turtle

k00ni commented 11 years ago

I tried it with the latest version (commit from 21th december 2012, 93c0adb04de2f66600d7a4bc7f0b902858db3b4d) and i guess it works now.

If not, please give me your doap.n3 of article component and write a little bit about your system configuration, e.g. Virtuoso or MySQL backend, some PHP restrictions etc. pp.