Commit a8de4df8 authored by Son Nguyen's avatar Son Nguyen Committed by Robert Lyon
Browse files

Bug 1626705: Limit the length of group urlid to 30 when generating


Change-Id: I9f624b8bbc0ab7c53ebc84f5f8110ae257c6949e
parent 9efa71f6
......@@ -2796,7 +2796,8 @@ function group_copy($groupid, $return) {
if (isset($group->urlid)) {
// need to sort out the cleanurl
$group->urlid = generate_urlid($group->name, get_config('cleanurlviewdefault'), 3, 100);
$group->urlid = generate_urlid($group->name, get_config('cleanurlgroupdefault'), 3, 30);
$group->urlid = group_get_new_homepage_urlid($group->urlid);
......@@ -128,7 +128,7 @@ These list must take into account the sort option choosen in the block config (B
And I should see "Tim"
And I should see "Group Z"
And I scroll to the base of id "groups"
And I follow "Group Z"
And I follow "Group Z" in the "div#groups" "css_element"
# Group pages
And I should see "Page Group Z_01" in the "ul#groupviewlist" "css_element"
And I should see "Page Group Z_05" in the "ul#groupviewlist" "css_element"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment