Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE
-
6.2.x
-
Committed
-
0.25
-
3
Description
Some Knowledge Base articles organized into folders in one environment are missing in the UI when exported into a LAR then imported into another environment in 6.2. This happens because the folder ID is not properly updated on import, so it ends up in the wrong folder (one that does not exist in the new environment).
Note: we faced inconsistency in results with testing this, and only sometimes successfully reproduced the issue. We do have an existing LAR, however, that reproduces the issue more frequently than in our attempts from scratch, so using the attached LAR may be more helpful for testing (in which case you can just use that LAR and skip to step ).
1) Startup Liferay 6.2 EE
2) Deploy Knowledge Base Portlet
3) Shut down Liferay and clear the following directories:
$tomcat_home/temp
$tomcat_home/work
4) Startup Liferay
5) Navigate to Admin > Content > Knowledge Base
6) Create Folders and Basic Articles as follows:
TV-Show-01 (Folder)
Season-01 (Folder)
Episode-01 (Basic Article)
Episode-02 (Basic Article)
Episode-03 (Basic Article)
Episode-04 (Basic Article)
Episode-05 (Basic Article)
Season- 02 (Folder)
Episode-01 (Basic Article)
Episode-02 (Basic Article)
Episode-03 (Basic Article)
Episode-04 (Basic Article)
Episode-05 (Basic Article)
TV-Show-02 (Folder)
Season-01 (Folder)
Episode-01 (Basic Article)
Episode-02 (Basic Article)
Episode-03 (Basic Article)
Episode-04 (Basic Article)
Episode-05 (Basic Article)
Season- 02 (Folder)
Episode-01 (Basic Article)
Episode-02 (Basic Article)
Episode-03 (Basic Article)
Episode-04 (Basic Article)
Episode-05 (Basic Article)
7) Create new versions of articles in one of the folders
8) Click Cogwheel in top right corner and select "Export/Import"
9) Export Knowledge Base Content to get a LAR
10) Shutdown Liferay
11) Startup new environment and follow steps 2-5
12) Select Cogwheel in top right corner and select "Export/Import"
13) Import the LAR file
14) Check each of the folders to verify the articles are there correctly
Expected result: all of the articles are present in the correct folders
Actual result: some of the articles are missing (using the attached LAR, the articles from TV-Show-01/Season-01 are all missing)
Attachments
Issue Links
- is a dependency of
-
LPS-82525 KB Articles with child articles fail to import
- Closed