Closed emiliom closed 9 years ago
@twelch by any chance is this issue related to any of the stuff you have been working on?
@tchaddad yes looks like it may be related to #136 and have a similar solution. I can look into
Err this issue attached to the other repo - https://github.com/Ecotrust/wc-data-registry/issues/136
Cool! And good to learn that @twelch is "now" looking directly at WCODP innards. I say "now", with awareness that I've been out of the WCODP loop (I think) for the last few months. Hi Tim and Tanya:)
Turns out it it was matching on the less specific iso selector and was never getting to the isoii selector. I simply switched them.
Unfortunately the wcodp code is still maintained in the ecotrust repo so you won't get notifications of commits here. I just made a pull request for this. https://github.com/Ecotrust/wc-data-registry/pull/143. Look forward to reviewing @fishytodd
Awesome!
Simple unit test created to ensure proper values are pulled and any regressions are caught early, more to come, should be reviewed this week - https://github.com/Ecotrust/wc-data-registry/pull/144
I've checked the exposed attributes for iso-2 records (at least NANOOS ones). All are ok, except for a couple of issues under "Contact". I went through the XPaths in Metadata.js:
To explore the second issue a bit further, I took a quick look at one CeNCOOS iso-2 record. I can't make the same email assessment there. But I discovered that it actually has two _gmd:CIResponsibleParty elements! I don't know how the UI code decides between the two, but it looks like the second one was selected for contact name (contact email is identical in the two elements). Sigh.