-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X
-
Fix Version/s: 7.0.0 DXP FP93, 7.0.10.14 DXP SP14, 7.0.X
-
Component/s: Web Content > Web Content Administration
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Fix Priority:2
-
Git Pull Request:
Background
When a Web Content's title is entirely set in Japanese, its urlTitle is auto-generated as "-" (dash). If another Japanese content is created, a sequence number is appended to it "-1" and so on.
Note
Later versions (branch) does not use the dash anymore and uses its utf8 values.
Issue
Too slow to create a new web content with a Japanese title.
Steps to reproduce
- Start a clean bundle
- Login
- Go to Server Administration > Script
- Run the attached "create_content.groovy" script. It will create 3000 web contents, all with the same Japanese-only title.
(Change the parameters as required) - Check the logs to see how long it takes to generate each content
Actual results
Time it takes to generate keeps increasing. The more articles exist, the longer it takes. Starts taking less than a second and ends up taking more than 7 seconds to create 1 single web content
Expected results
It should take less than a second
Reproduced in
7.0.x (c3aaaf072093c1b146e94460b31347541fdfd3a9)
Not reproduced in
master (37c4d1d3f68b4f590f4174bc1e6c4bc515fe45af) always takes a few miliseconds