Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Race-condition in saving user preferences vs. loading plugin config #4845

Closed
rcubetrac opened this issue Jun 16, 2015 · 2 comments
Closed

Race-condition in saving user preferences vs. loading plugin config #4845

rcubetrac opened this issue Jun 16, 2015 · 2 comments
Assignees
Milestone

Comments

@rcubetrac
Copy link

Reported by @alecpl on 16 Jun 2015 09:38 UTC as Trac ticket #1490431

After following code path

  1. Call rcube_user::save_prefs() that changes any config option (e.g. 'search_mods' when executing messages search).
  2. From a plugin call load_config().
  3. call config->get() for a user preference defined in the plugin.

any user preferences defined in the plugin will be replaced by defaults stored in plugin's config.inc.php file.

Migrated-From: http://trac.roundcube.net/ticket/1490431

@rcubetrac
Copy link
Author

Comment by @alecpl on 16 Jun 2015 09:41 UTC

Fixed in 26a00e7.

@rcubetrac
Copy link
Author

Status changed by @alecpl on 16 Jun 2015 09:41 UTC

new => closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants