History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1989
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andrew Wills
Reporter: Andrew Wills
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
uPortal

Layout export drops siblings of missing channels

Created: 01/Apr/08 01:24 PM   Updated: 18/Apr/08 10:52 AM
Component/s: Import / Export
Affects Version/s: 3.0.0-RC2
Fix Version/s: 3.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File null-channel.patch (3 kb)



 Description  « Hide
Eric D. discovered that the layout export has the following issue...

Whenever a row on UP_LAYOUT_STRUCT refers to a missing channel -- either because the chan_id doesn't exist or because chan_id is null -- the .layout document will be missing the node that represents this row *as well as all sibling nodes that come after it*.

The cause of this issue is the SQL query that gathers channel nodes: it does a join with the UP_CHANNEL table, and therefore nodes that refer to missing channels won't be in the ResultSet.

 All   Comments   Work Log   Change History      Sort Order:
Andrew Wills [01/Apr/08 01:26 PM]
this patch resolves the issue.

Andrew Wills [01/Apr/08 01:27 PM]
attached patch was applied.