#793: [PATCH] Model designer "Create Tables" fails with multiple Join columns
--------------------------+-------------------------------------------------
 Reporter:  Philip Walls  |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:  1.0b1    
Component:  Toolbox       |      Version:  0.9a4    
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by Philip Walls):

 Ahh.. I see what you are saying. The reason you were using the temporary
 model is because the primary model is not re-imported when doing the "save
 and create tables" function, so you'd have to have an already complete
 model when you initialized the toolbox.

 I was able to resolve this problem by simply reloading the model object
 after saving. I will attach a modified patch (single line different from
 previous) that fixes the problem you mentioned. I just tested the
 following:

  * quickstart a new project
  * modify the dev.cfg slightly and start toolbox
  * Create the model from the description of this ticket using the model
 designer
  * Click "Save and create tables"
  * Go in to Catwalk, add some rows

 Everything worked great :)

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/793>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to