Closed Bug 768226 Opened 13 years ago Closed 12 years ago

[ia] create many-to-many between wiki Document and products

Categories

(support.mozilla.org :: Knowledge Base Software, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED
2012.14

People

(Reporter: rrosario, Assigned: willkg)

References

Details

(Whiteboard: u=user c=wiki p=1)

Once we get product models (bug 768218), we need to be able to map documents to them (Many to Many relationship). We need: * new Many to Many relationship (db table) * update forms and views to use this * update UI * a migration of current mappings (tag based) to the new system (This may need to be broken up into further bugs.)
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 2012Q3
Blocks: 768232
Priority: -- → P1
Whiteboard: u=user c=wiki p=
Making a 3pt after discussion. We can spin off new bugs if it gets too hairy.
Whiteboard: u=user c=wiki p= → u=user c=wiki p=3
Target Milestone: 2012Q3 → 2012.14
Adding [ia] to title.
Summary: Relate KB documents to new products model → [ia] Relate KB documents to new products model
Grabbing this one since it blocks bug #768232.
Assignee: nobody → willkg
I'm changing around this bug because these things need to be done in a different order and in different chunks: Chunk 1: * create many-to-many relationship between Products and wiki Document * create migration for creating those tables Chunk 2: * populate the new Products table Chunk 3: * write a migration that migrates the data from the existing tags-based system to the new products based system * update forms and views to use the new products table * update the ui to use the new products table * tweak indexing so that it's populating the tags index field with products After chunk 3 is done, we can do bug #768226. I'm breaking chunks 2 and 3 out into a separate bug and re-scoping this one to just the bits in chunk 1.
Rescoping this and changing the title accordingly. Changing this to be a 1 point bug--it should take an afternoon at most.
Summary: [ia] Relate KB documents to new products model → [ia] create many-to-many between wiki Document and products
Whiteboard: u=user c=wiki p=3 → u=user c=wiki p=1
In a pull request: https://github.com/mozilla/kitsune/pull/723 Took longer than I expected because I bumped into a name collision and had to rename the products form field.
Pushed to production just now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.