-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP SP3, 7.0.0 DXP FP20, 7.0.X EE, Master
-
Fix Version/s: 7.0.0 DXP FP24, 7.0.X EE, 7.0.4 CE GA5, 7.1.X, Master
-
Component/s: Staging
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1.25
-
Fix Priority:3
-
Git Pull Request:
Steps to Reproduce:
1. Add the following to build.USERNAME.properties file
build.include.dirs=\ apps/collaboration,\ apps/forms-and-workflow,\ apps/foundation,\ apps/ip-geocoder,\ apps/marketplace,\ apps/static,\ apps/sync,\ apps/web-experience,\ core,\ util
2. build Liferay and start
3. Publishing > Staging > Enable Local Live > Save
4. Home Page > Publishing > Staging > Create new publication
5. Content > Choose Content > Date Range > Publish To Live
Expected results: If we put valid content in, the publication would publish to live
Actual results: Publication is not published to live, instead there's a JS error.
Master:25f5716521b3a488e2ca015617a968f3df2f996d
70x:7eb0a22cd70781505daaac1644e50379c1491d9d
Notes:
At step 4, export-import is instantiated (navigation.js) and has an undefined date parameter. This is the source of the problem.
At step 5, another export-import initialized. This A has a date parameters but we've already instantiated the closure with ADate as undefined.