Closed (fixed)
Project:
Data
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 15:14 UTC
Updated:
5 Feb 2012 at 21:00 UTC
Jump to comment: Most recent file
Not sure what scenario causes this to happen, but a table I have contains no joins, but there is an empty join array() in the DataTable object. As a result the view path to see the data and relate terms, etc. is incorrect. It gets rendered as admin/content/data/view//feeds_data_mytable. Patch attached checks to see if that join array is empty.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | data_ui_get_default_path-960036-1.patch | 579 bytes | febbraro |
Comments
Comment #1
febbraro commentedComment #2
alex_b commentedGood catch.
Comment #3
joachim commentedCommitted to 6.x.
- #960036 by febbraro: Fixed view paths when join array is empty.
Comment #4
joachim commented... and may need a forward-port to D7.
Comment #5
joachim commentedComment #6
joachim commentedApplies with fuzz to 7.x and seems to make sense there too.
(Though do we need is_array()? When might this not be an array?)