Ticket #2818 (assigned defect)
Improve related item schema
Reported by: | danieljohnlewis | Owned by: | seanh |
---|---|---|---|
Priority: | major | Milestone: | demo phase 4 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
Problem: When creating a related item (e.g. a Visualisation), if you don't put in a URL it succeeds, but on the related items and apps pages it renders it as a link to the same page. Expected: Always require a URL and it should only submit if one is added
Change History
comment:1 Changed 21 months ago by toby
- Owner set to toby
- Status changed from new to assigned
- Milestone changed from demo phase 5 to demo phase 4
comment:2 Changed 21 months ago by toby
- Owner changed from toby to ross
- Priority changed from awaiting triage to major
@ross,
This is an issue with the related items schema - I'm not quite sure what all the rules should be
eg does visulisation need image url? or is normal url ok?
Could you review the schema and ensure that we require/don't require the correct items. If you provide the rules I can help do the schema if you want but I don't know them
cheers
Toby
comment:3 Changed 21 months ago by toby
- Summary changed from Null URL on Item Creation to Improve related item schema
comment:5 Changed 20 months ago by ross
- Owner changed from ross to seanh
Has been suggested that we are clearer on why the URL is required, as this related items are really just 'Links'. We should consider the name change, and also possibly make the types configurable in config somewhere as they are currently almost content free.
Assigned to Sean to keep an eye on this ticket until we get a reasonable chance to action it.
check schema