[LRA-261] The application is redirecting to a empty page, when a non administrator user click on a notification message. Created: 03/Aug/17  Updated: 19/Dec/17  Resolved: 19/Dec/17

Status: Closed
Project: Liferay Apps
Component/s: Shared resources manager
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Juan Camacho [X] (Inactive) Assignee: mcalvo
Resolution: Completed Votes: 0
Labels: Shared_Resources_Manager
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)


 Description   
When the user click on a notification message generated by the use of the shared resources portlet, the application is redirecting to a empty page, when the role of the user is not administrator.

PRECONDITIONS:
====================
2 Users must be previously created
  -User 1 Roles: Administrator
  -User 2 Roles: Portal Content Reviewer
A Shared resource must be previously created.
 

REPRODUCIBILITY LEVEL:
====================
Always

STEPS:
====================
Steps
1. Open the Liferay APP with the Shared Resources portlet with the User 1(administrator).
2. Click on one of the available shared resources from the “All Shared Resources” tab.
3.Click on the “Book Shared Resource” button.
4. Login with user2, and Click on the same selected shared resources from the “All Shared Resources” tab of the user1.
5. Click on the “Send Message” link.
6. Fill Out the Message field with some text example: “I need the resource”.
7. Click on the Send button.
8. Login with user1, and in the User menu click on the notifications option.
9. Click on the recently message send by user2.
*Note the site is redirected to the Shared Resources portlet page.
10. In the messages section click on the “Reply” link.
11. Fill Out the Message field with some text example: “Ok”.
12. Click on the Send button.
13. Login with user2, and in the User menu click on the notifications option.
14. Click on the recently message send by user1.
*Note the site is redirected to an empty page.

CURRENT RESULT:
====================
The application is redirecting to a empty page, when a non administrator user click on a notification message.
https://www.screencast.com/t/jFNNvZIM1fHL

EXPECTED RESULT:
====================
The application should redirect to the Shared Resources page, when a non administrator user click on a notification message.


 Comments   
Comment by Leonardo Salazar [X] (Inactive) [ 19/Dec/17 ]
Waiting the approval of the PR, need to test the fix in local environment
Comment by Leonardo Salazar [X] (Inactive) [ 19/Dec/17 ]
Tested in local environment
Generated at Sat Feb 10 05:49:47 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.