Ticket #2726 (new enhancement)

Opened 22 months ago

Last modified 22 months ago

confusing logic on data preview formats

Reported by: shevski Owned by: toby
Priority: awaiting triage Milestone: demo phase 5
Component: ckan Keywords: demo-theme
Cc: amercader Repository: ckan
Theme: none

Description

  1. If a user enters the wrong format on a file that can be previewed - it simply won't be previewed (e.g. a CSV or XML file that can be filled in with JSON in format will just not work or check this
  1. If I incorrectly edit format to one that data preview will try to preview it will work even for a format that it doesn't accept (sometimes) e.g. this PDF file I changed the metadata to HTML http://s031.okserver.org:2375/en/dataset/test-dataset/resource/9d27a9d9-36ec-460e-9edb-6dff7ba4fc28

Change History

comment:1 Changed 22 months ago by shevski

Point 2 relies on the Chrome previews of PDFs, but can we not use this ability?

comment:2 Changed 22 months ago by toby

@ira,

I think this is probably linked to the qa plugin and auto detecting formats rather than believing the user.

Note: See TracTickets for help on using tickets.