Affects Version/s: 7.0.X
Component/s: Web Content > Web Content Administration
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.
Later versions (branch) does not use the dash anymore and uses its utf8 values.
Too slow to create a new web content with a Japanese title.
Steps to reproduce
- Start a clean bundle
- 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
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
It should take less than a second
Not reproduced in
master (37c4d1d3f68b4f590f4174bc1e6c4bc515fe45af) always takes a few miliseconds