Some people have noticed an issue where the schema.org mapping is not saved when the RDF UI module is enabled. I'm not able to reproduce this bug with the latest dev snapshot version of the modules. Can those who noticed this behavior explain how to reproduce this bug on the latest version of the modules?
Comments
Comment #1
mavergames commentedHi Scor,
Okay, here's the info:
After disabling Memcache module (Version: dev 2011-Nov-02) and removing it from the settings.php, everything seems to work fine even with RDF UI (2.0 Alpha 4) enabled. We thought disabling RDF UI fixed the problem but it only cleared the cache and then the problem re-emerged. But, now with Memcache gone, all works. So, problem is likely with interaction between these modules and Memcache?
Version of schema.org module is 1.0 Alpha 2.
That's it for now.
Best,
Chris
Comment #2
jinky32 commentedHi,
I'm experiencing what I think may be the same memcache issue.
I came to this issue from https://groups.drupal.org/node/188604. I had both schema.org UI and RDF UI enabled and wasn't able to set any RDF mappings either at the content type level e.g. admin/structure/types/manage/page via RDF Settings or at field level via RDF Mappings tab admin/structure/types/manage/page/rdf. I disabled the schema.org UI module and was then able to update the RDF settings / RDF Type for the content type. However I was still unable to set at field level.
Coming back to it now after approx two hours I can suddenly add predicates to fields (for example foaf:name).
However (and I'm not sure if this is the same or a different issue) I cannot add predicates to fields (via RDF Mappings tab) that come from ontologies I have imported. For example I have imported AIISO but am not able to map it to any field. However I can add aiiso:code as the RDF Type on admin/structure/types/manage/page (I know that's the wrong mapping but just proof of concept).
Hope this is helpful and I'm not wasting anyone's time with this.
Comment #3
scor commentedI'm not sure if it is related, but could you check whether #1271498-4: PDOException: SQLSTATE[23000] and Notice: Undefined index: type in rdfui_form_node_type_form_submit() errors solves your problem?
Comment #4
jinky32 commentedHi Scor,
Thanks for this. I have applied the patch and it doesn't appear to have changed anything. However I only have access to my site level modules directory rather than the modules directory for the multi-site installation and the RDFx version is showing 7.x-2.0-alpha4+7-dev (which looks like a combination of release and development version).
Coming back after the weekend (and before I applied the patch) I went back to the site and was able to add many of the mappings that I couldn't do previously. I tried it out on a new site for my sanity and recorded my screen on two occasions (apologies Chrome kept hanging so there are a few points where I'm waiting for it to come back to life!)
http://www.youtube.com/watch?v=IReFtu_bTIw
http://www.youtube.com/watch?v=Xdrpzz52GjM
It does seem that majority of the problems are had on fields that are added to a content type unless you add the mapping when you actually create the field. I've also found out that it is sometimes not possible to delete a mapping.