Islandora-Collaboration-Group / islandora_webform

islandora_webform
GNU General Public License v3.0
6 stars 8 forks source link

isAnnotationOf block appears on every Islandora page, not just those that have annotations #17

Open jjdipasquale opened 8 years ago

jjdipasquale commented 8 years ago

When testing islandora_webform, I did the following:

Create webform:

From there, I enabled the module's block with settings to only show on pages that match islandora/object/*

Result: the isAnnotationOf block appeared on every Islandora page, not just those that have annotations. (Need logic statements similar to those found in Compound Object module for relationships?)

I'm hoping this is operator error on my part, but wanted to get this into the issues queue, as per Patrick's excellent suggestion.

Thanks very much!

patdunlavey commented 8 years ago

Hi Joanna,

I'm having trouble figuring out how to reproduce this. One thing I noticed in your problem description is that the block which is appearing everywhere is the "isAnnotation" block, not the "isDerivationOf" block, which is what you said you are using to relate ingested annotations to the pages. Also, you said that your ingest destination is the "Islandora Annotation CModel". But that cmodel has no form association, so, at least as things currently stand, can't have fields mapped to it and therefore can't be ingested. Is that a case of mistaken description of what you did, or is the description accurate?

Thanks, Pat

jjdipasquale commented 8 years ago

Hi Pat,

It's been a long time since I did this and I think I was following what I remembered of Peter's process, but I'm sure there was something that I didn't do properly. I will check! Thanks for the clarification and hopefully I'll have more to report fairly soon (probably tonight / tomorrow?).

Best, Joanna