Bug 2013416 - Multiple assets emit different content to the same filename
Summary: Multiple assets emit different content to the same filename
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Cyril
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-12 19:38 UTC by ralpert
Modified: 2022-03-10 16:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:18:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10248 0 None open Bug 2013416: Don't use `contenthash` in CSS filenames 2021-10-15 17:50:20 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:19:09 UTC

Description ralpert 2021-10-12 19:38:22 UTC
Description of problem:
When running yarn run dev, any updates to the code cause the following error messages on the command line, as well as on the UI of OpenShift:
WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.6b84b2fcf514c70faeb2.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.c96f6392f57648b732df.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.a2cc99bf07991a527fe0.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.ddc1cc802dfb73589528.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.fe3a9ffe8f185357842b.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.3378bc3bf3c652e8733d.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.0cfe74c2f4ee7c361b3f.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.159bf3eafa8a73cd185a.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.91cfc2c690a339ee0bb4.css.map

WARNING in Conflict: Multiple assets emit different content to the same filename app-bundle.172facb356843f1e312d.css.map

It makes it very difficult to develop since I have to restart yarn run dev whenever these messages appear.

Version-Release number of selected component (if applicable):
4.10

How reproducible:
Always

Steps to Reproduce:
1. Run yarn run dev
2. Make a code change

Actual results:
Error messages in command line and UI

Expected results:
No error messages

Additional info:
Jon Jackson said it seems to be an issue with the .css.map files generated  by mini-css-extract-plugin.

Comment 1 Jakub Hadvig 2021-10-13 07:27:41 UTC
This commit might be related to the issue https://github.com/openshift/console/commit/4116eb49f21e04b25f5c7bf5c1c5dbd7bba79c64

Comment 3 Yanping Zhang 2021-10-19 06:20:36 UTC
The fix is not included in payload 4.10.0-0.nightly-2021-10-16-173656 yet. Waiting for newer build.

Comment 4 Yanping Zhang 2021-10-26 13:40:54 UTC
No need to check the bug with nightly build. Pull console master branch code, then tested in console repo:
1. Run yarn run dev
2. Make a code change
Observe yarn command output, there is not warning:"WARNING in Conflict: Multiple assets emit different content to the same filename"

Comment 8 errata-xmlrpc 2022-03-10 16:18:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.10.3 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0056


Note You need to log in before you can comment on or make changes to this bug.