Project

Profile

Help

Issue #6410

Updated by ipanova@redhat.com about 4 years ago

1. create 2 repos and 2 remotes 
 https://repos.fedorapeople.org/pulp/pulp/demo_repos/zoo/ 
 https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-test-modularity/ 
 2. sync each repo 

 3. Both of the repos have identical PackageGroup with id 'mammals'.    Observe that on same instance of Package group all of the relations are kept. From repo A and from repo B 

 ``` 
 In [2]: PackageGroup.objects.filter(id='mammals')                                                                                                                                                                   
 Out[2]: <QuerySet [<PackageGroup: mammals>]> 


 In [26]: x=PackageGroup.objects.filter(id='mammals')                                                                                                                                                                

 In [27]: len(x[0].packages)     
                                                                                                                                                                                    
 Out[27]: 22 

 In [28]: x[0].related_packages.count()                                                                                                                                                                              
 Out[28]: 47 
 ``` 

 


 From same issue suffers PackageCategories and PackageEnvironments 

Back