Activity log for bug #1611342

Date Who What changed Old value New value Message
2016-08-09 11:46:02 Victor Tapia bug added bug
2016-08-09 11:46:44 Victor Tapia description In the preferences page, pressing 'Generate MAAS key' shows the error message "Unable to create a new token" and leaves the spinning "loading" wheel. Refreshing the page shows the new key in the list. It looks like an exception ('unknown token c') triggers while parsing the keys from a malformed JSON in function "requestKeys" (maas-yui.js). - JSON sample: {consumer_key: zN2WyCmRYyCYk9r4Px, token_key: jR26eZFYrA7dHugv7f, token_secret: pbaPaERJXn3KAGfvkZdatQufvKvJ9xtJ} - Code: 652 success: function(id, out) { 653 var keys; 654 try { 655 keys = JSON.parse(out.response); 656 } 657 catch(e) { 658 // Parsing error. 659 self.displayError('Unable to create a new token.'); 660 } 661 // Generate a token from the keys. 662 var token = self.createTokenFromKeys( 663 keys.consumer_key, keys.token_key, 664 keys.token_secret); In the preferences page of MAAS 2.0, pressing 'Generate MAAS key' shows the error message "Unable to create a new token" and leaves the spinning "loading" wheel. Refreshing the page shows the new key in the list. It looks like an exception ('unknown token c') triggers while parsing the keys from a malformed JSON in function "requestKeys" (maas-yui.js). - JSON sample: {consumer_key: zN2WyCmRYyCYk9r4Px, token_key: jR26eZFYrA7dHugv7f, token_secret: pbaPaERJXn3KAGfvkZdatQufvKvJ9xtJ} - Code: 652 success: function(id, out) { 653 var keys; 654 try { 655 keys = JSON.parse(out.response); 656 } 657 catch(e) { 658 // Parsing error. 659 self.displayError('Unable to create a new token.'); 660 } 661 // Generate a token from the keys. 662 var token = self.createTokenFromKeys( 663 keys.consumer_key, keys.token_key, 664 keys.token_secret);
2016-08-09 13:06:38 Andres Rodriguez maas: status New Confirmed
2016-08-09 13:06:43 Andres Rodriguez nominated for series maas/2.0
2016-08-09 13:06:43 Andres Rodriguez bug task added maas/2.0
2016-08-09 13:06:43 Andres Rodriguez nominated for series maas/trunk
2016-08-09 13:06:43 Andres Rodriguez bug task added maas/trunk
2016-08-09 13:06:49 Andres Rodriguez maas/2.0: milestone 2.1.0
2016-08-09 13:06:56 Andres Rodriguez maas/2.0: milestone 2.1.0 2.0.0
2016-08-09 13:06:57 Andres Rodriguez maas/trunk: milestone 2.1.0
2016-08-09 13:07:16 Andres Rodriguez maas/2.0: status New Confirmed
2016-08-09 13:07:17 Andres Rodriguez maas/2.0: importance Undecided Critical
2016-08-09 13:07:19 Andres Rodriguez maas/trunk: importance Undecided Critical
2016-08-09 15:29:59 Launchpad Janitor branch linked lp:~blake-rouse/maas/fix-1611342
2016-08-09 15:31:13 Blake Rouse maas/trunk: status Confirmed In Progress
2016-08-09 15:31:15 Blake Rouse maas/trunk: assignee Blake Rouse (blake-rouse)
2016-08-09 19:29:54 MAAS Lander maas/trunk: status In Progress Fix Committed
2016-08-09 19:32:54 Launchpad Janitor branch linked lp:~blake-rouse/maas/fix-1611342-2.0
2016-08-09 20:21:55 MAAS Lander maas/2.0: status Confirmed Fix Committed
2016-08-14 13:04:16 Dominique Poulain bug added subscriber Dominique Poulain
2016-08-22 15:44:12 Andres Rodriguez maas/2.0: status Fix Committed Fix Released
2016-08-22 16:34:07 Andres Rodriguez maas: status Fix Committed Fix Released
2016-08-22 16:37:24 Andres Rodriguez maas/trunk: milestone 2.0.1