[LRA-222] Test Ecomerce theme app Created: 25/Jan/16  Updated: 31/Mar/16  Resolved: 31/Mar/16

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

Type: Task Priority: Major
Reporter: mcalvo Assignee: Jose Ross [X] (Inactive)
Resolution: Completed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Testing in liferay-portal-6.2.10.1-ee-ga1 Tomcat edition and liferay-portal-6.2-ee-sp13.zip Tomcat edition.

Attachments: Text File logerrrors.txt    

 Description   
This project documentation is here:
http://wiki.rivetlogic.com/display/LRA/E-commerce+Store+Theme


 Comments   
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
1- The application does not display any default configuration information when inside the configuration page

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on the "cart" icon
4.Click on the "gear" icon
5.Click on the Configuration option


CURRENT RESULT:

====================
After the last step, there should be some default information displayed on the configuration fields

EXPECTED RESULT:

====================
After the last step, no information is displayed
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
2- The application is not displaying the "Sale" price highlighted when inside the Categories of the e-commerce site

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on Categories

CURRENT RESULT:

====================
After the last step, the application is not displaying the sale price highlighted to make it stand out

EXPECTED RESULT:

====================
After the last step, the application should display the sale price highlighted to make it stand out
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
3- The application should not erase the data entered in the tabs fields while toggling between them when filling them up

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on the "cart" icon
4.Click on the "gear" icon
5.Click on the Configuration option
6. Fill up the fields of the first tab
7. Click on the "Customer email" or "Messages" tab


CURRENT RESULT:

====================
After the last step, the app is not holding the data entered in the fields of the first tab.

EXPECTED RESULT:

====================
After the last step, the app should hold the data entered in the fields of the tabs until the "Save" button is clicked
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
4- The application allows to enter numbers lower than 1 on the Quantity field of each item added to the cart when inside the Cart

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme
The user must have items added to the site

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on Categories
4.Click on "Add" on one of the items displayed
5.Click on the "cart" icon
6. Change the "Quantity" field to -7



CURRENT RESULT:

====================
After the last step, the application allows to enter values lower than 1

EXPECTED RESULT:

====================
After the last step, the application should not allow to enter values lower than 1
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
5- The application is not displaying an "Added to cart" message when an item added to the cart

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme
The user must have items added to the site

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on Categories (or Home)
4.Click on "Add" on one of the items displayed


CURRENT RESULT:

====================
After the last step, the application does not display an "Added to cart" message

EXPECTED RESULT:

====================
After the last step, the application should display an "Added to cart" message every time an item is added to the cart
Comment by Abraham Vargas [X] (Inactive) [ 25/Jan/16 ]
6- The application is not rolling back the transaction when it is not executed correctly

PRECONDITIONS:
====================
The user must have valid credentials to log into the application
The user must be logged in
The user must have created a page with the e-commerce Theme
The user must have items added to the site

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


STEPS:
====================
1.Click on Sites
2.Select the 'e-commerce' site
3.Click on Categories (or Home)
4.Click on "Add" on one of the items displayed
5.Click on the "Cart" icon
6.Scroll down and fill up the Shipping Information fields with valid data,
  and on the email field enter a gmail field that has the "less secure apps" option off
7.Click on check out


CURRENT RESULT:

====================
After the last step, the application does not rollback the transaction when an error occurs (in this case, the email can't be received)

EXPECTED RESULT:

====================
After the last step, the application should display an "Could not finish the transaction" message and do a rollback
Comment by mcalvo [ 04/Feb/16 ]
MAN1
Testing in Liferay 6.2 EE SP6. After creating a new site, if I click View on any (but the first one) product that appears in the Home page nothing appears in the View page. I need to open the web content for edit, and then save it (no need to change anything and then its content is show in the View page).
Comment by mcalvo [ 04/Feb/16 ]
MAN2
The labels of the product form for are not clear enough:
+ Title -> Internal name
+ Name Product -> Product Name
+ warning badge -> Warning badge
+ HTML (1) -> Long Description
+ HTML (2) -> Specifications

Comment by mcalvo [ 04/Feb/16 ]
MAN3
1. The product form is ask the user to enter the "buy link" do we still need this input, now that we have the shopping cart?
2. In Big View, I can not change the current image in the carousel if I have more than 1.
3. If a enter a long text for in short description of a product if it is not displayed correctly in Categories view.
4. If a enter a Sale price if it is not being show in the Big View display.
5. When I click Add to Cart button in Big View the feedback popup appears at the bottom of the page and it is really hard to notice it, specially if you don't have your browser in full screen. In Small View it looks OK.
6. If a enter a price that has decimal and tries to add it to the shopping cart it doesn't do anything I can see this error in the console: "22:15:04,501 ERROR [http-bio-8080-exec-38][ShoppingCartPortlet:171] Error while serving resource. Command: GETCARTINFO. FOR INPUT STRING: "59.99"
java.lang.NumberFormatException: For input string: "59.99"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.valueOf(Long.java:540)
at com.rivetlogic.ecommerce.portlet.ShoppingCartPortlet.addCartDetailsOnResponse(ShoppingCartPortl
7. In shopping cart the columns should be in this order: Title -> Product, Image -> don't put any label, Price (values should be aligned to the right), Quantity (the x button should have the same height and the input button and not overflow into the input field if the screen is not in full size), Total (values should be aligned to the right). The total value should have a label that says that it is the total.
8. In the shipping information form if the browser is not in full screen it shows a scroll bar.
Comment by mcalvo [ 04/Feb/16 ]
Diego please work on MAN2, MAN3: 1,2,3,4,5,7,8
Comment by mcalvo [ 04/Feb/16 ]
Isai please work on MAN3: 6,7
Comment by Luis Hernandez [X] (Inactive) [ 23/Feb/16 ]
Feb23(1) - [Bug - Product Detail] The product details are displayed duplicated when a new product is created with a new one content for his product image (basic document).

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

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

STEPS:
====================
1. Login into your liferay and go to the site with the “E-Commerce theme” site template
2. Click on the “HOME” tab
3. Go to “Admin” option at the top of the site
4. Click on the “Content” option at the list, and try to open it in a new web browser tab.
5. In the web content editor, click on the “Add” option and select “product - 6.2.0.1”
6. Type the required values and click on the “Select” button of the product images section
7. In the popup displayed, click on the “Add” option and later click on the “Basic Document”.
8. In the “New Document” popup, enter the required values and select any image for the “File”
9. Click on “Publish” of the new document popup
10. Select the just uploaded image in the list of images.
11. In the “New Web Content” window, select the “Categorization” option at the right side.
12. Add the next tag “featured product” for it.
13. Click on “Publish”
14 Go back to the tab with the site with the “E-Commerce theme” site template, and click on the “View” button of your new product added and published in the step 13.
15. Review the product details and fields

CURRENT RESULT:
====================
Step 15: The product details are displayed duplicated when a new product is created with a new one content for his product image (basic document).

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

EXPECTED RESULT:
====================
The product details SHOULD NOT be displayed duplicated.

--Verified as fixed on 01-03-2016, resolution for this: Fixed ---
Comment by Luis Hernandez [X] (Inactive) [ 23/Feb/16 ]
Feb23(2)- [Bug] The application couldn’t add products (with the “xxxx,xx” format for the prices) to the CART and later the shopping cart is unavailable

PRIORITY:
====================
Blocker

PRECONDITIONS:
====================
1.A new product with the next prices SHOULD be added:
List Price= $1200,01
Sale Price=$1100,01

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

STEPS:
====================
1. Login into your liferay and go to the site with the “E-Commerce theme” site template
2. Click on the “HOME” tab
3. Click on the “View” button of product of the PRECONDITIONS
4. Click on “Add Cart”
5. Notice that no confirmation message is displayed
6. Go back to the “HOME” page, and click on the “Add Cart” button of the product of the PRECONDITIONS
7. Notice that no confirmation message is displayed
8. Go to the shopping cart page and notice that the product was not added to the cart

CURRENT RESULT:
====================
The application couldn’t add products (with the “xxxx,xx” format for the prices) to the CART


Additionally, I think that it is caused by the format used for the product prices and this error breaks the SHOPPING CART, see the next image: http://screencast.com/t/dSeC1Y9o1obB .

Also, an error message is displayed on the log of the liferay (see attachment "logerrors.txt" for more details)

EXPECTED RESULT:
====================
The application SHOULD add the products to the cart without problems, however the valid format for the prices should be validated when the user adds a new product.


IMPORTANT: An additional research should be performed to know how we can use different types of format for prices (Internationalization), E.g:
CRC= 1200,02
USA= 1200.02

--Verified as fixed on 01-03-2016, resolution for this: Fixed ---
Comment by Luis Hernandez [X] (Inactive) [ 23/Feb/16 ]
Feb23(3)- [Enhancement] Consider to add the ability to add multiple tags to the filter of the categories at the CATEGORIES page

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

STEPS:
====================
1. Login into your liferay and go to the site with the “E-Commerce theme” site template
2. Click on the “Categories” option.
3. Click on the “General” category.
4. Later click other category.

CURRENT RESULT:
====================
Currently, the category selected in the first time is not displayed and applied to filter.

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

EXPECTED RESULT:
====================
Consider to add the ability to add multiple tags to the filter

-- According with the discussed on 24-02-2016. Currently, this enhancement won't be resolved --
Note: Currently, it does not allow to set non-valid values, format allowed is ####.##
Comment by mcalvo [ 24/Feb/16 ]
Manrique please work on Feb23(1) and Feb23(2). We are not doing the enhancement request in this version.
Comment by Luis Hernandez [X] (Inactive) [ 25/Feb/16 ]
Feb 25 (4) - [Enhancements] Consider to discuss the next Important features (for the future releases)

Topics:
A- [Product Creation] When the user creates a new product, is required to manage the amount of that product available (in stock)
B- [Product Detail /View] When the view/details of the product is displayed on the home or categories pages, consider to display the amount of the product available to buy.
C- [General] Consider to manage the concurrency, in cases when multiple user want to buy the same product at the same time and the amount is very limited
D- [General] Consider to hide/display products (expire the web content maybe can be a solution) when the amount of this is 0
E- [Shopping cart - Checkout] Update of the amounts in stock, and validations for possible concurrency when multiple user try to buy the same product
F- [Shopping cart] Consider to validate when the user tries to request a Quantity > Amount in stock for a product
Comment by mcalvo [ 03/Mar/16 ]
Mar 3 - Liferay reports this app doesn't have PACL activated. Check this link for detail about how to set up it:
https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-1/plugin-security-management?notice=1

Also check this:
http://wiki.rivetlogic.com/display/LRA/QA+process
Comment by mcalvo [ 11/Mar/16 ]
You recently submitted an app "E-commerce store theme" to the Liferay Marketplace. E-commerce store theme was tested on Liferay Portal 6.2 EE GA1, Glassfish 3.1. At this time, your app has not been approved for the Liferay Marketplace due to:
* Errors are thrown in console upon deployment.

[#|2016-03-10T00:03:10.693+0000|INFO|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=154;_ThreadName=liferay/hot_deploy-1;|00:03:10,691 ERROR [liferay/hot_deploy-1][SerialDestination:70] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={groupId=0, command=deploy, companyId=0, servletContextName=commerce-theme}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource [com.liferay.portal.model.Group], because it has not yet been started, or was already stopped
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:67)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource [com.liferay.portal.model.Group], because it has not yet been started, or was already stopped
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1401)
at org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
at com.liferay.resourcesimporter.util.BaseImporter.afterPropertiesSet(BaseImporter.java:135)
at com.liferay.resourcesimporter.util.ImporterFactory.configureImporter(ImporterFactory.java:160)
at com.liferay.resourcesimporter.util.ImporterFactory.createImporter(ImporterFactory.java:118)
at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.importResources(ResourcesImporterHotDeployMessageListener.java:102)
at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.initialize(ResourcesImporterHotDeployMessageListener.java:73)
at com.liferay.resourcesimporter.messaging.ResourcesImporterHotDeployMessageListener.onDeploy(ResourcesImporterHotDeployMessageListener.java:86)
at com.liferay.portal.kernel.messaging.HotDeployMessageListener.doReceive(HotDeployMessageListener.java:55)
at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
... 5 more
Comment by mcalvo [ 17/Mar/16 ]
Please if the properties that say the supported server version are OK, and test deploying it in Glassfish and JBoss
Comment by Jose Ross [X] (Inactive) [ 31/Mar/16 ]
Added missing version property for theme: https://github.com/rivetlogic/liferay-ecommerce-theme/pull/17
Added Paypal integration: https://github.com/rivetlogic/liferay-ecommerce-theme/pull/18
Wiki documentation updated: http://wiki.rivetlogic.com/display/LRA/E-commerce+Store+Theme
Generated at Sat Feb 10 05:49:29 GMT 2024 using Jira 8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6.