Bug #16395
closedGRSF record titles are not updated
100%
Description
We noticed the following while updating some GRSF records (see #16281#9)
When updating a record, the title of the record (the heading) is not updated.
In the JSON object we are submitting while updating (and publishing) records we do not have a specific field for the title. We supply the name (stock_name or fishery_name).
If you check this record http://data.d4science.org/ctlg/GRSF_Admin/6306f86b-1987-3b60-89b4-e71c3d3981ce, you'll notice that although we have updated the fishery_name, the title of the record is still the previous one.
Attached you'll find the submitted JSON for your convenience.
Files
Related issues
Updated by Yannis Marketakis about 6 years ago
- Related to Bug #16281: SFP fishing gears not under the ISSCFG code added
Updated by Luca Frosini about 6 years ago
- Assignee changed from Luca Frosini to Francesco Mangiacrapa
I think it is a Solr index issue.
Did you update the record yesterday or right now?
Updated by Yannis Marketakis about 6 years ago
I've updated around 400 GRSF records yesterday (including the one shown above)
Updated by Francesco Mangiacrapa about 6 years ago
- File SOLR_JSON_FOR_ID_6306f86b-1987-3b60-89b4-e71c3d3981.json SOLR_JSON_FOR_ID_6306f86b-1987-3b60-89b4-e71c3d3981.json added
- Assignee changed from Francesco Mangiacrapa to Luca Frosini
I just checked the above record (id=6306f86b-1987-3b60-89b4-e71c3d3981ce) on SOLR index. It was updated correclty yesterday (see "metadata_modified" and the complete file attached):
"metadata_created": "2018-06-22T06:02:53.267005", "metadata_modified": "2019-03-27T17:05:02.658285",
The "Fishery Name" and "Short Name" fields have been updated, the 'Title' no.
@luca.frosini@isti.cnr.it I think is missing the mapping from GRSF source "fishery_name" to CKAN record "title" while updating the GRSF record. Could you check? Thanks
Updated by Luca Frosini about 6 years ago
- Status changed from New to In Progress
- Assignee changed from Luca Frosini to Francesco Mangiacrapa
Investigating the issue I found that the update methods have an explicit comment for this. For example:
// name, title, product url and are going to remain unchanged (so we keep them from the publisher record);
I'm going to change the behaviour setting to title the StockName or FisheryName.
Updated by Luca Frosini about 6 years ago
- Assignee changed from Francesco Mangiacrapa to Luca Frosini
Updated by Luca Frosini about 6 years ago
I'll deploy the new version of the service as soon as ETICS will build the artifact.
Updated by Yannis Marketakis about 6 years ago
- Blocks Bug #16262: Spelling error in area name of a RAM record added
Updated by Yannis Marketakis about 6 years ago
- Related to deleted (Bug #16281: SFP fishing gears not under the ISSCFG code)
Updated by Yannis Marketakis about 6 years ago
- Blocks Bug #16281: SFP fishing gears not under the ISSCFG code added
Updated by Yannis Marketakis about 6 years ago
- Related to Bug #13160: European Commission missing code as management entity added
Updated by Yannis Marketakis about 6 years ago
- Related to Bug #16377: Citation template does not match current citation added
Updated by Luca Frosini about 6 years ago
As soon as I deploy the new version which should fix issue #12421, can you also please test this?
Updated by Luca Frosini about 6 years ago
@marketak@ics.forth.gr can you also test this issue?
Updated by Yannis Marketakis about 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
Thanks Luca. Works as expected (http://data.d4science.org/ctlg/GRSF_Admin/5dda87ff-3440-3c89-a333-19dfb938c58b)