Task #1891
closedRequest detail localizations don't change
100%
Description
Affected version 9.8.7
When I open virtual system request and then click to a flag to change the localization of IDM, main menu changes it's localization but the task detail stays in the previous language. When I go back and re-enter the task detail it's translated properly. This seems to be some reloading thing.
Files
Related issues
Updated by Radek Tomiška over 4 years ago
This is the cons of change localization without refresh the whole application, as you can read in change log:
https://github.com/bcvsolutions/CzechIdMng/blob/develop/CHANGELOG.md#922
I don't want to reload whole application again, but it depends on the discussion.
Updated by Vít Švanda over 4 years ago
- Status changed from New to In Progress
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version set to 10.0.0
I sloved this issue in version 10.
All routing component will be recreated on change active language. This was made possible by new dynamic routing implemented in version 10.
It means this feature cannot be backported to LTS!
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/115db272f13070b058a74eed6f57cd044c7f007f
Updated by Vít Švanda over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 0 to 90
Updated by Radek Tomiška over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
I did test and code review, it's awesome!
Updated by Radek Tomiška over 4 years ago
- Related to Task #1915: Replace a UNSAFE_componentWillReceiveProps(nextProps) added