Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] bug in family instanciation / config reloading

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Sylvain Amrani <address@concealed>
  • To: Olivier Salaün - CRU <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] bug in family instanciation / config reloading
  • Date: Tue, 29 Aug 2006 16:24:42 +0200

Olivier Salaün - CRU wrote:
I was not able to reproduce your problem on our server with a 5.2.1 version :
  1. I instantiated the family (sympa.pl --instantiate_family ....)
  2. Went to the homepage of wwsympa
  3. The newly created list appeared in the "Your lists" box with the "admin" button and I could administer it
Your symptoms make me think that your admin_table has not been updated after the list has been created. But I don't know why it didn't...
I don't think it's admin_table and migrating related, because I can reproduce it each time I instantiate the family, but only for a bunch of lists.

For these, I can see "Customizing : keeping values for parameter owner" in the instantiation logs, and
  I've got :
  • one "owner" paragraph with email/profile/reception/gecos stanzas per owner in the config file
  • only one "owner" paragraph in the config.0 file, with the same timestamp than the config file (the owner in config.0 is the one who came from the family XML data. We can see it in the instance.xml. Others have been manually added.
  • "param owner" in config_changes
After the --reload_list_config, we can see that the config.bin has changed

Using Data::Dumper to dump the config.bin files, I can see some differences, like 'owner_include' that was undef and is now '1'.

I attach the diff between the 'print Dumper' of the two config.bin files.

Regards,
Sylvain

Sylvain Amrani wrote:
With 5.2.1, after a family instantiation, owners could not administrate their lists anymore : they do not appear in the list_panel(.tt2), although they are present in the admin page and in the config file. wwwsympa refuses access to admin pages.

I had to run a sympa.pl --reload_list_config to give them access back.

I can reproduce it and give you config.bin files.
  



-- 
Sylvain Amrani
Direction Générale de la Gendarmerie Nationale
DGGN/SPM/SDTI/BSA
Section Architecture des Systèmes
01.56.28.86.47
*** dump.un	2006-08-29 16:16:21.013074136 +0200
--- dump.deux	2006-08-29 16:05:33.389527880 +0200
***************
*** 214,220 ****
                                        ]
                           },
            'subject' => '[the list]',
!           'serial' => 1,
            'cookie' => '888888888',
            'bouncers_level1' => {
                                   'rate' => '45',
--- 214,220 ----
                                        ]
                           },
            'subject' => '[the list]',
!           'serial' => '1',
            'cookie' => '888888888',
            'bouncers_level1' => {
                                   'rate' => '45',
***************
*** 311,317 ****
            'status' => 'open',
            'defaults' => {
                            'priority' => 1,
!                           '' => 1,
                            'spam_protection' => 1,
                            'include_list' => 1,
                            'msg_topic_tagging' => 1,
--- 311,317 ----
            'status' => 'open',
            'defaults' => {
                            'priority' => 1,
!                           'invite' => 1,
                            'spam_protection' => 1,
                            'include_list' => 1,
                            'msg_topic_tagging' => 1,
***************
*** 336,341 ****
--- 336,342 ----
                            'digest_max_size' => 1,
                            'include_ldap_2level_query' => 1,
                            'rfc2369_header_fields' => 1,
+                           'editor' => 1,
                            'welcome_return_path' => 1,
                            'archive' => 1,
                            'include_admin' => 1,
***************
*** 343,348 ****
--- 344,351 ----
                            'account' => 1,
                            'web_archive_spam_protection' => 1,
                            'include_file' => 1,
+                           'owner_include' => 1,
+                           'editor_include' => 1,
                            'include_sql_query' => 1,
                            'host' => 1,
                            'include_remote_file' => 1,
***************
*** 438,443 ****
--- 441,447 ----
                                                       ]
                                          }
                            },
+           'family_name' => 'interpersonnelle',
            'remind' => {
                          'name' => 'default',
                          'title' => {
***************
*** 493,499 ****
                                       }
                                     ]
                        },
-           'family_name' => 'interpersonnelle',
            'digest_max_size' => '25',
            'user_data_source' => 'include2',
            'clean_delay_queuemod' => '15',
--- 497,502 ----
***************
*** 514,520 ****
                                         'owner',
                                         'archive'
                                       ],
-           'editor' => undef,
            'owner' => [
                         {
                           'email' => 'address@concealed',
--- 517,522 ----
***************
*** 629,635 ****
                                  ]
                     },
            'web_archive_spam_protection' => 'cookie',
-           'owner_include' => undef,
            'unsubscribe' => {
                               'name' => 'owner',
                               'title' => {
--- 631,636 ----
***************
*** 675,682 ****
                                            }
                                          ]
                             },
-           'editor_include' => undef,
-           'host' => 'listes.fq.dn',
            'topics' => [
                          'interpersonnelle'
                        ],
--- 676,681 ----
***************
*** 684,690 ****
            'remind_task' => {
                               'name' => undef
                             },
-           'comment' => [],
            'reply_to' => 'sender',
            'verp_rate' => '0%',
            'digest' => {
--- 683,688 ----



Archive powered by MHonArc 2.6.19+.

Top of Page