-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, Master
-
Fix Version/s: 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X, 7.3.1 CE GA2, 7.3.2 CE GA3, 7.3.10 DXP GA1, Master
-
Component/s: Asset Framework, Page Templates > Display Page Templates
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Display Page Templates should increment the view counter when they are used for displaying an asset.
Currently we are incrementing the asset view counter in other places in where the asset is renderer, but not when is renderer in a DPT.
Steps to reproduce:
1.- Go to Site Builder > Page Templates > Display Page Templates and create a new DPT for Basic Web Content Article and subtype Basic Web Content.
2.- Inside the Display page template, drop a Content display fragment in order to the basic web content being rendered.
3.- Publish the Display Page Template (Test DPT)
4.- Go to Content > Web Content and create a new Basic web content (wc-1)
5- Create a new Basic web content (wc-2) and in the lateral menu under "Display Page Template" Section > choose "Specific Display Page Template" and select Test DPT
6.- Drop a new asset publisher to a widget page.
7 .- open Asset Publisher configuration. Under Display Settings tab set "Table" as display template, check "View Count Increment" inside "Enable" section. Add the "view Count" inside Metadata's "Current" box. Save this configuration.
8.- Go to Control Panel -> --Configuration ---> System Settings -> Assets and inside Display Page Template section, check "Enable increment view counter".
9.- In the Asset publisher, click in wc-1 and wc-2 to show the detail
10.- Observe the increment in the ViewCount column of Asset Publisher
- causes
-
LPS-108966 ModuleConfigurationLocalizationTest.testConfigurationLocalization fails due to missing default language file for configuration pids
- Closed
-
LPS-112305 NullPointerException when incrementing view counter
- Closed