Open tuli opened 2 months ago
@only1chunts is there a way for me to get access to this dataset?
I've just had a look for public datasets that have no keywords and found 102537, and that does NOT show the issue that @tuli raised! I can still see the issue on the Mockup page of the one that Mary Ann found it on, so its a real issue on mock up pages, but its been fixed on the public pages.
@only1chunts it's hard for me to tell what is going on here without looking directly at the database but my guess is that the db contains something like an empty string or maybe a space, this would display the keywords title in screen like in the mockup. My PR fixes that. Can you tell me if this dataset has something like an empty space in the keywords field in the DB, to verify?
@luistoptal if it does then its not showing any evidence of it in the admin page i.e. the box where we enter them has the place holder text showing: Of interest, I noticed a related bug while checking this #2061
@rija @only1chunts I don't think I have access to the production database, if I had access to it, I would look at wherever the keywords recoird is for the entry provided above and see what's in there exactly, for example maybe there's a comma or a space that is filtered by the input (speculating). Based on the frontend code, the only case where the "Keywords:" would be displayed empty is if the list of keywords contained a blank spaxce, a comma or something similar, the PR a few lines above solves that case though
I think @luistoptal might be correct in that there must be a hidden value for the keywords associated with that particular dataset (102572) somehow because I've finally now found a previously published dataset with no keywords in it and that doesn't have the same issues, i.e. it does not display the Keywords header as expected when there are no keywords e.g. 100532
User story
Acceptance criteria
Additional Info
Product Backlog Item Ready Checklist
Product Backlog Item Done Checklist
GigaDBUpload_v19_102572_GIGA-D-23-00276_stereo.xls