Bug 707833 - RFE: consolidate database entries
Summary: RFE: consolidate database entries
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 3.0
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 820023
TreeView+ depends on / blocked
 
Reported: 2011-05-26 06:05 UTC by Jeff Fearn 🐞
Modified: 2012-10-31 03:11 UTC (History)
4 users (show)

Fixed In Version: 3.0.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-31 03:11:19 UTC


Attachments (Terms of Use)
Dump file to show formats in a comma seperated list (662 bytes, text/xml)
2012-06-16 03:28 UTC, Tim Hildred
no flags Details

Description Jeff Fearn 🐞 2011-05-26 06:05:24 UTC
Description of problem:
The DB has one entry for each format shipped in a package. There only needs to be one entry with an extra field for tracking the formats.

Version-Release number of selected component (if applicable):
2.5

How reproducible:
Always

Steps to Reproduce:
1. Install a book in a web site
  
Actual results:
One DB row for each format.

Expected results:
One row with details for all formats.

Additional info:
mmm pavlova

Comment 1 Jeff Fearn 🐞 2012-03-14 07:29:38 UTC
Consolidated format field in to formats field, which is a comma separated list of formats as per the cfg file & command line usage.

QA-NOTE: this breaks backwards compatibility with Publican 2 database structure. Need to document migrate_site action.

Pushed To ssh://git.fedorahosted.org/git/publican.git
   403d79f..ec0e254  master -> master

Comment 2 Michael Hideo 2012-06-08 01:35:13 UTC
generate a publican website. review dump.xml. verify dumpt.xml should not contain separate rows for each format of each book.

Comment 3 Michael Hideo 2012-06-08 01:38:12 UTC
generate a publican website. review dump.xml. verify dumpt.xml should not contain separate rows for each format of each book.

Comment 4 Tim Hildred 2012-06-16 03:28:09 UTC
Created attachment 592274 [details]
Dump file to show formats in a comma seperated list

This attachment shows that the bug has been fixed.

Comment 5 Tim Hildred 2012-06-16 03:32:33 UTC
You can see from the attachment that the DUMP.XML now lists formats of installed books as on entry of a comma seperated list.


Note You need to log in before you can comment on or make changes to this bug.