-
Type:
Impedibug
-
Status: Closed
-
Priority:
Major
-
Resolution: Discarded
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Fragments Toolkit
-
Labels:None
Step to reproduce:
- Open command line
- yarn global add generator-liferay-fragments
- yo liferay-fragment
- Access to project directory
- yo liferay-fragment:fragment or yarn run add-fragment
- Type name
- Reply Y for Use React
- Choose a collection
- Access to src/${collectionName}/${reactFragment}
- Modify some codes from files to invalid
- Back to project directory
- yarn run import
- Assert the Import failure message is shown in command line
- Navigate to Fragments admin
- Assert the react fragment is not shown
Expected Results:
The import failure message should be shown in command line. Additionally, the react fragment should be shown in portal.
Actual Results:
The import failure message is not shown in command line. Additionally, the react fragment is shown as draft status in portal.
Reproduced on:
generator-liferay-fragments: 1.8.0-rc8
yarn: 1.22.5
Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: 15335651c3de41fe6f2f9c131d152eb20f6ec5ec.