allura
修訂 | df6437c0efa9a0342d41534c956b7e9566b81a79 (tree) |
---|---|
時間 | 2010-07-01 00:33:01 |
作者 | Rick Copeland <rcopeland@geek...> |
Commiter | Rick Copeland |
[#668] - Fix ISE on project registration actions
@@ -79,6 +79,8 @@ class SFXUserApi(object): | ||
79 | 79 | except sfx_exc.exceptions.ProjectConflict: |
80 | 80 | log.error('Conflict (user project already created): u/%s', u.username.replace('_', '-')) |
81 | 81 | if user_data is None: return u |
82 | + if u.get_tool_data('sfx', 'userid') != user_data['id']: | |
83 | + u.set_tool_data('sfx', userid=user_data['id']) | |
82 | 84 | if u.display_name != user_data['name']: |
83 | 85 | u.display_name = user_data['name'] |
84 | 86 | u.set_tool_data('sfx', userid=user_data['id']) |