User hint stop working when adding a custom function key towards an extension

Description

Given 2 users Alice (1001) and Bob (1002)
Given a function key targeting Alice
When Alice calls Bob
Then the BLF is lit
When a custom function key targeting 1001
When I restart Asterisk
When Alice calls Bob
Then the BLF is NOT lit

Adding a custom function key on an extension breaks the user hint.

This bug was introduced in this commit 424df93e9f7f3587fad17be30d5fa91e080602b9 in wazo-confgend

Because custom hints are now generated before user hints and only one hint is generated for each extension.

Zendesk Ticket IDs

None

Activity

Done

Details

Priority

Assignee

Reporter

Approvers

Sébastien Duthil

Pair

Sébastien Duthil

Fix versions

Sprint

Labels

Zendesk Support

Created July 14, 2020 at 12:38 PM
Updated July 20, 2020 at 6:43 PM
Resolved July 14, 2020 at 4:03 PM