[
https://issues.apache.org/jira/browse/UNOMI-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber reassigned UNOMI-1024:
----------------------------------
Assignee: Serge Huber
> Page views and clicks are lost for websites set up with an older example from
> the Unomi manual
> ----------------------------------------------------------------------------------------------
>
> Key: UNOMI-1024
> URL: https://issues.apache.org/jira/browse/UNOMI-1024
> Project: Apache Unomi
> Issue Type: Bug
> Components: unomi-tracker
> Affects Versions: unomi-tracker-1.5.0
> Reporter: Serge Huber
> Assignee: Serge Huber
> Priority: Major
> Fix For: unomi-tracker-1.6.0, unomi-tracker-2.0.0
>
>
> h3. Summary
> Websites set up with an older example from the Unomi tracker tutorial lose
> their page views and clicks on Unomi 2.4 and later, without any visible
> error. The fix makes them work again with no change on their side.
> Technical detail: the tracker sends digitalData.page as the page properties,
> and the page schema has not allowed "attributes" since 2.4.0 (UNOMI-790;
> UNOMI-800 was the same symptom). Unomi 2.0 to 2.3 accepted only an empty
> "attributes".
> h3. Approach
> * Leave out an empty "attributes"; send a non-empty one as before, for
> extended schemas.
> * Never change digitalData.page.
> * Remove "attributes" from the examples in builtin-event-types.adoc.
> h3. How to test
> * Unit tests for the three cases (empty, non-empty, none).
> * yarn test:servers on Unomi 2.3, 2.7, 3.0 and 4.0; requests identical to
> 1.5.0 except the empty "attributes".
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)