[LRA-233] Test the Birthday app Created: 01/Apr/16  Updated: 25/Apr/16

Status: Open
Project: Liferay Apps
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: mcalvo Assignee: Diego Vargas [X] (Inactive)
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Test it in liferay-portal-6.2.10.1-ee-ga1 Tomcat edition and the latest version of Liferay EE


 Description   
Please test it. Documentation is in progress.

 Comments   
Comment by Luis Hernandez [X] (Inactive) [ 01/Apr/16 ]
I Will test all the test scenarios with multiple databases types (e.g: mysql, postgresql, etc), and with multiple web browsers.
Comment by Luis Hernandez [X] (Inactive) [ 01/Apr/16 ]
1 - [Bug - UI] The daily view is displayed with the montly option when the page is refreshed

PRIORITY:
====================
Minor

ENVIRONMENT:
====================
Web Browser: FireFox

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

STEPS:
====================
1. Go to any page with the birthday portlet (configured previously)
2. Selec the montly option on the dropdown list
3. Refresh the page, and notice that the daily view is displayed, but the montly option is still selected

CURRENT RESULT:
====================
The daily view is displayed with the montly option when the page is refreshed

Watch the next video:
http://screencast.com/t/OOz6dMnqD

EXPECTED RESULT:
====================
-we have two options:
-If the montly option is selected and the page is refreshed, the montly view should be displayed
-If the montly option is selected and the page is refreshed, the daily view should be displayed with the daily option selected.

--Verified as Fixed on 22/04/2016 build--
Comment by Luis Hernandez [X] (Inactive) [ 01/Apr/16 ]
2 - [Bug - UI] The calendar is not well displayed when the portlet is added to a multiple column page

PRIORITY:
====================
Minor

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

STEPS:
====================
1. Go to liferay with any admin user and create a new page with 2 columns (50/50)
2. Search the birthday app and add it to the page created on the step above.
3. Notice that the calendar is not well displayed

CURRENT RESULT:
====================
The calendar is not well displayed when the portlet is added to a multiple column page

Watch the next video:
http://screencast.com/t/BFdtdQ6r36

EXPECTED RESULT:
====================
The calendar should be displayed properly, no matter the configuration of the page.

--Verified as fixed on 22/04/2016 build--
Comment by Luis Hernandez [X] (Inactive) [ 01/Apr/16 ]
3 - [Bug - UI] The username is not well displayed when the daily view is selected (for a user with a long user name)

PRIORITY:
====================
Minor

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

STEPS:
====================
1. Go to any page with the birthday portlet (configured previously)
2. Selec the daily option on the dropdown list
3. Go to any date with results for birthday (for a user with a long user name configured previously)

CURRENT RESULT:
====================
The username is not well displayed when the daily view is selected (for a user with a long user name)

Watch the next image:
http://screencast.com/t/7Ppfw48Jq0W

EXPECTED RESULT:
====================
Maybe, the username should be cut or displayed as the monthly/weekly option

--Verified as Fixed on 22/04/2016 build--
Comment by Luis Hernandez [X] (Inactive) [ 05/Apr/16 ]
4- [Bug - Log/Backend] An error message is displayed on the log when the montly option is selected and the february month is displayed (for a non leap-year)

PRIORITY:
====================
Major

ENVIRONMENT:
====================
Use for this bug the default database (HSQL)

PRECONDITIONS
====================
-The log of the tomcat server should be opened on a terminal session, to review the log errors

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

STEPS:
====================
1. Go to any page with the birthday portlet (configured previously)
2. Selec the montly option on the dropdown list
3. Go to the february month of a non leap-year
4. Review the log of the tomcat server.

CURRENT RESULT:
====================
The next error message is displayed on the log:

“20:26:42,280 ERROR [http-bio-8080-exec-26][UsersBirthdayService:142] Error retrieving users birthdays by MONTH. Error: Value 29 for dayOfMonth must be in the range [1,28]
20:26:42,281 ERROR [http-bio-8080-exec-26][BirthdayPortlet:56] Error while serving resource. Error: Value 29 for dayOfMonth must be in the range [1,28].”

Watch the next video:
http://screencast.com/t/BTj895lA76O

EXPECTED RESULT:
====================
No error message should be displayed on the log

--Verified as Resolved--
Comment by Luis Hernandez [X] (Inactive) [ 05/Apr/16 ]
5- [Bug - UI] The list of users is not well displayed when for a day with numerous “birthday boys”

PRIORITY:
====================
Major

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

PRECONDITIONS
====================
A least 20 users should be added with the same birthday

STEPS:
====================
1. Go to any page with the birthday portlet (configured previously)
2. Select the montly or the weekly option on the dropdown list
3. Go to the birthdate of the users added on the preconditions

CURRENT RESULT:
====================
The list of user is not well displayed (the last user displayed is not well displayed)

Watch the next video:
http://screencast.com/t/xp64QDHPH

EXPECTED RESULT:
====================
The list should be displayed properly and all the users should be displayed properly (maybe use a scroll bar)

--Verified as Fixed on 22/04/2016 build--
Currently, there is a scroll bar on the right when there are multiple users with a same birthdate
Comment by Luis Hernandez [X] (Inactive) [ 06/Apr/16 ]
[Bug] 6 - I was reviewing the fix for the bug number 4, and currently, the 29 February birthday users are not displayed on the 28 Feb for the non leap-year (same test scenario of the bug #4).
Actually, the 29 February birthday users are displayed only for the current year.

See the next video: http://screencast.com/t/FfJGDtQH4q5

--According with the dev, this behavior is the Expected Behavior, resolution for this: non-valid--
Comment by Luis Hernandez [X] (Inactive) [ 07/Apr/16 ]
7- [Bug] The same profile image is displayed for all the users when the profile image is changed for an admin user

PRIORITY:
====================
Major

ENVIRONMENT:
====================
Liferay version: Liferay Portal Enterprise Edition 6.2.10 EE ga1

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

STEPS:
====================
1. Login as an admin user
2. Modify the profile image for your current user (admin)
3. Go to any page with the birthday portlet (configured previously)
4. Review all the birthdates that have “birthday boys” and notice that the same profile image is displayed for all the users

CURRENT RESULT:
====================
 The same profile image is displayed for all the users when the profile image is changed for an admin user

Watch the next video:
http://screencast.com/t/3Zydf0GMTb

EXPECTED RESULT:
====================
The profile image should be changed only for the admin user

--Verified as resolved--
Comment by Luis Hernandez [X] (Inactive) [ 07/Apr/16 ]
8- [Bug] The profile image is not displayed when the profile image is changed for a non admin user

PRIORITY:
====================
Major

ENVIRONMENT:
====================
Liferay version: Liferay Portal Enterprise Edition 6.2.10 EE SP14

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

STEPS:
====================
1. Login as an admin user
2. Create a new user (non admin) and later change his profile image
3. Go to any page with the birthday portlet (configured previously)
4. Go to the birthdate for that user and notice that the profile image is not displayed

CURRENT RESULT:
====================
The profile image is not displayed when the profile image is changed for a non admin user

Watch the next video:
http://screencast.com/t/TDBakrnMKk

EXPECTED RESULT:
====================
The profile image should be displayed for the user

--Verified as resolved--
Comment by Luis Hernandez [X] (Inactive) [ 08/Apr/16 ]
9- [Bug] The application does not display more birthdates when the user selects the daily option and later clicks the “see upcoming date” (up to February 28)

PRIORITY:
====================
Major

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

STEPS:
====================
1. Go to any page with the birthday portlet (configured previously)
2. Select the “Daily” option and click on the “see upcoming date”
3. If any birthday user is displayed, click on the next button and click the “see upcoming date”
4. Repeat the step 2 and 3 until reach the 28 february 2017, and continue clicking the “see upcoming date”

CURRENT RESULT:
====================
The application does not display more birthdates when the user selects the daily option and later clicks the “see upcoming date” (up to February 28)

Watch the next video:
http://screencast.com/t/B5fyGqjHBk

EXPECTED RESULT:
====================
The birthdates should be displayed properly no matter the year when you click on “see upcoming date”

--Verified as Fixed on 22/04/2016 build--
Comment by Luis Hernandez [X] (Inactive) [ 19/Apr/16 ]
Currently, Is pending to test this application using Oracle/SQL Server databases.
Generated at Sat Feb 10 05:49:34 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.