Can not choose an option when adding an image in specific environments

Description

Steps to reproduce:

  • Download and Set up 7.1SP47.1 FP18 and commerce 2.1.1

  • Go to Commerce > Products > Options

  • Add Option Template Detail called "color"

  • Add 3 values called "black" "white" and "blue"

  • Go to Products > Add Simple called "T-shirt"

  • Click into "T-shirt " and go to options tab

  • Search for "color" and select it

  • Go to "Skus" tab and add 3 skus called "BlackSku" "White Sku" and "Blue Sku" and select the corresponding color value

  • Go to Media tab and add a new image

  • Check the Options section to see if we can select the color option

Actual Result:
Can not Choose a color Option

Expect Result:
Able to Choose a color Option

Affect Tests:
https://testray.liferay.com/home/-/testray/subtasks/1232588408

Reproduced Environments:

WildFly 11.0

Firefox 52.0

MySQL 5.7

Oracle JDK 8 64-Bit

CentOS 7 64-Bit

JBoss 7.1

Firefox 52.0

MySQL 5.7

Oracle JDK 8 64-Bit

CentOS 7 64-Bit

WebSphere 9.0

Firefox Latest

MySQL 5.7

JDK 8 64-Bit

Ubuntu 19.10 64-Bit

Attachments

4

Activity

Show:

Pietro BocaleFebruary 15, 2021 at 3:41 AM
Edited

QA PASSED.
ENV:
Portal: Master
Application Server: Wildfly 11
Git ID: 7985dd55f78d0b4e4960d1b8b07158787e32d29f
OS: macOS Mojave - Version 10.14.2
Browser: Google Chrome - Version 87.0.4280.141 (Official Build) (64-bit)
DB: MySQL 5.7

Igor BeslicDecember 3, 2020 at 7:42 AM

this is not reproducible in master.
Current Wildfly version used by bundle generated in master is wildfly-14.0.0-Final

Agree with Fabio here, this was probably DDM Form Taglib issue where JavaScript assets served by Wildfly fail to control rendered select html elements, what at the end resulted in static element.

Fabio Diego MastrorilliSeptember 14, 2020 at 5:58 AM

I tested this bug on our current master and the form was disappearing due to js errors (probably some api changed).
Anyway I created this bug ticket for that: https://issues.liferay.com/browse/COMMERCE-4805

About this one, honestly, if we are discussing about tomcat/wildfly/jboss I don't think it's something FE related.

cc:

Lorenzo La PescaraJuly 21, 2020 at 1:00 AM

Hey , I've pasted the correct screenshot from Add Image in my previous comment. Thanks.

Igor BeslicJuly 20, 2020 at 1:37 AM

Not reproducible in the form as it is described. Screenshots that Lorenzo pasted are from Editing Image.

  • ticket has to be updated with accurate description or should be closed and new ticket should be created

  • It is not our bug - AUI taglib does not render properly - it renders HTML code for which JavaScript does not work - really don’t know is it because Wildfly does not serve JS or any other resource needed for proper behaviour misses

  • It is too much for us to dig into other team’s code.

can you check if you think that any of our frontends can verify this. This is not related to Option reorganization neither changes related to Product Bundles as it works in Tomcat.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Severity of Issue

Major

Components

Affects versions

Priority

Zendesk Support

Created July 1, 2020 at 11:55 PM
Updated June 8, 2021 at 5:42 AM
Resolved December 3, 2020 at 7:43 AM