Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Initial Version and Version 5 of Ticket #558


Ignore:
Timestamp:
09/22/09 23:07:07 (10 years ago)
Author:
Chris Arndt
Comment:

Cruft ticket. though I can still reproduce the described problem, CatWalk is not actively maintained any more and won't grow any new features. Closing as wontfix.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #558

    • Property Status changed from new to closed
    • Property Component changed from Toolbox to Toolbox.Catwalk
    • Property Priority changed from low to normal
    • Property Version changed from to 1.0
    • Property Milestone changed from to 1.x
    • Property Keywords catwalk, sqlobject, inheritance added
    • Property Resolution changed from to wontfix
  • Ticket #558 – Description

    initial v5  
    1 Summary:  
    2 1. _inheritance=False should be added to your own class to avoid CatWalk crashing on your inherited user/group/permission table. 
    3 2. CatWalk does not understand sqlobject inheritance. 
     1Summary: 
     2 
     31. `_inheritance=False` should be added to your own class to avoid !CatWalk crashing on your inherited user/group/permission table. 
     42. !CatWalk does not understand sqlobject inheritance. 
    45 
    56Details: 
     
    78I'm trying to integrate identity into my existing project. I've successfully followed the wiki (http://trac.turbogears.org/turbogears/wiki/IdentityManagement) with idtest project and are now customizing identity model for my app: 
    89 
    9 1. I've added  
     101. I've added 
     11 
     12{{{ 
    1013identity.soprovider.model.user="letsmeet.model.Account" 
    11 to the letsmeet\config.py as suggested. 
     14}}} 
     15 
     16to the `letsmeet\config.py` as suggested. 
    1217 
    13182. I've modified my existing Account class, so now it look like that: 
    1419 
     20{{{ 
    1521class Account(TG_User): 
    1622    tasks = MultipleJoin('Task') 
    1723    <... various model-specific methods ...> 
     24}}} 
    1825 
    19263. Now, if I would try to select Account in the CatWalk, I'm receiving the following error message: 
    2027 
     28{{{ 
    2129Fail to load object instance: column account.child_name does not exist. 
     30}}} 
    2231 
    23 4. As explained here http://sqlobject.org/Inheritance.html, one should add _inheritance=False at the inherited class in order to avoid child_name automatic creation. 
     324. As explained here http://sqlobject.org/Inheritance.html, one should add `_inheritance=False` at the inherited class in order to avoid child_name automatic creation. 
    2433 
    25 5. Now, CatWalk works - but doesn't show anything interesting when selecting Account model; in particular, you cannot use CatWalk to create new account and should use old good tg-admin shell. 
     345. Now, !CatWalk works - but doesn't show anything interesting when selecting Account model; in particular, you cannot use !CatWalk to create new account and should use old good `tg-admin shell`. 
    2635 
    27 6. It would be fun to have CatWalk that understands sqlobject inheritance some day, though I'm sure it shouldn't be expected before 1.1 given all existing priority tasks. 
     366. It would be fun to have !CatWalk that understands sqlobject inheritance some day, though I'm sure it shouldn't be expected before 1.1 given all existing priority tasks.