Project

General

Profile

click home link then the request is redirected to one project home.

Added by Anonymous almost 7 years ago

environment:Redmine3.4.4

From recent version, new column, "setting" was add to roles table.
When we have updated to the above version, the issue of title is not occurred. However, after updating one role, the role users have been redirected to one project home. Then, checked the roles.setting column, value was registered into the column.
We don't want to redirect to one project page.

Have you faced and resolved this issue? If anyone have any advice for us, please help us.

2018-03-22 15:49:34,462 [INFO] -- : Processing by WelcomeController#index as HTML
2018-03-22 15:49:34,559 [DEBUG] -- : SQL (94.6ms) UPDATE `tokens` SET `tokens`.`updated_on` = '2018-03-22 15:49:34' WHERE `tokens`.`user_id` = 150 AND `tokens`.`value` = 'cb7db301f36e697f569ba23e54d083b8705b5d59' AND `tokens`.`action` = 'session' AND (created_on > '2018-03-21 15:49:34') AND (updated_on > '2018-03-22 13:49:34')
2018-03-22 15:49:34,570 [DEBUG] -- : (9.7ms) SELECT MAX FROM `settings`
2018-03-22 15:49:34,581 [DEBUG] -- : User Load (9.7ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('User', 'AnonymousUser') AND `users`.`status` = 1 AND `users`.`id` = 150 LIMIT 1
2018-03-22 15:49:34,582 [INFO] -- : Current user: ittest_ope (id=150)
2018-03-22 15:49:34,592 [DEBUG] -- : Role Load (6.9ms) SELECT `roles`.* FROM `roles` INNER JOIN `global_roles` ON `roles`.`id` = `global_roles`.`role_id` WHERE `global_roles`.`user_id` = 150 ORDER BY `roles`.`id` ASC LIMIT 1
2018-03-22 15:49:34,603 [DEBUG] -- : GroupNonMember Load (10.1ms) SELECT `users`.* FROM `users` WHERE `users`.`type` IN ('GroupNonMember') ORDER BY id LIMIT 1
2018-03-22 15:49:34,614 [DEBUG] -- : (9.8ms) SELECT `users`.`id` FROM `users` WHERE `users`.`type` IN ('GroupNonMember')
2018-03-22 15:49:34,624 [DEBUG] -- : (9.1ms) SELECT `members`.`user_id`, role_id, `members`.`project_id` FROM `members` INNER JOIN `projects` ON `projects`.`id` = `members`.`project_id` INNER JOIN `member_roles` ON `member_roles`.`member_id` = `members`.`id` WHERE (projects.status <> 9) AND (members.user_id = 150 OR (projects.is_public = 1 AND members.user_id = 1478))
2018-03-22 15:49:34,636 [DEBUG] -- : Role Load (10.5ms) SELECT `roles`.* FROM `roles` WHERE `roles`.`id` IN (6, 4)
2018-03-22 15:49:34,647 [DEBUG] -- : News Load (9.5ms) SELECT `news`.* FROM `news` INNER JOIN `projects` ON `projects`.`id` = `news`.`project_id` WHERE (((projects.status <> 9 AND EXISTS (SELECT 1 AS one FROM enabled_modules em WHERE em.project_id = projects.id AND em.name='news')) AND (projects.id IN (71) OR projects.id IN (59)))) ORDER BY news.created_on DESC LIMIT 5
2018-03-22 15:49:34,647 [DEBUG] -- : CACHE (0.0ms) SELECT `roles`.* FROM `roles` INNER JOIN `global_roles` ON `roles`.`id` = `global_roles`.`role_id` WHERE `global_roles`.`user_id` = 150 ORDER BY `roles`.`id` ASC LIMIT 1 "user_id", 150
2018-03-22 15:49:34,658 [DEBUG] -- : (8.1ms) SELECT COUNT() FROM `members` INNER JOIN `projects` ON `projects`.`id` = `members`.`project_id` WHERE `members`.`user_id` = 150 AND (`projects`.`status` != 9)
2018-03-22 15:49:34,668 [DEBUG] -- : Member Load (10.0ms) SELECT `members`.
FROM `members` INNER JOIN `projects` ON `projects`.`id` = `members`.`project_id` WHERE `members`.`user_id` = 150 AND (`projects`.`status` != 9) ORDER BY `members`.`id` ASC LIMIT 1
2018-03-22 15:49:34,680 [DEBUG] -- : Project Load (10.5ms) SELECT `projects`.* FROM `projects` WHERE `projects`.`id` = 71 LIMIT 1

Regards,