<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Bug to add groups to a site in Alfresco 7.3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139656#M37351</link>
    <description>&lt;P&gt;Thank you, it works, and the script is indeed fixed in 7.3.1.&lt;/P&gt;&lt;P&gt;I don't know who is in charge of that, but it would be cool to update the &lt;A href="https://www.alfresco.com/fr/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;official community download page&lt;/A&gt;, and also to put there a link to the distribution site. This page is flashy but really bad, hard to find information (I get lost each time) and missing the most important information.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 11:23:56 GMT</pubDate>
    <dc:creator>mikef38</dc:creator>
    <dc:date>2023-02-24T11:23:56Z</dc:date>
    <item>
      <title>Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139652#M37347</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need an advice.&lt;/P&gt;&lt;P&gt;I installed Alfresco Community, v7.3.0 which was the current distribution few weeks ago and still is.&lt;/P&gt;&lt;P&gt;I cannot add groups to a site, because the search of groups from the "add group" page of the site will return nothing.&lt;/P&gt;&lt;P&gt;I tracked the problem in /alfresco-remote-api/src/main/resources/alfresco/templates/webscripts/org/alfresco/repository/site/membership/potentialmembers.get.js, &lt;A href="https://github.com/Alfresco/alfresco-community-repo/commits/master/remote-api/src/main/resources/alfresco/templates/webscripts/org/alfresco/repository/site/membership/potentialmembers.get.js" target="_self" rel="nofollow noopener noreferrer"&gt;mikolajbrzezinski added a faulty &lt;/A&gt;&lt;SPAN&gt;" [hint:useCQ]"&lt;/SPAN&gt; which is not processed by the group search code, apparently withouth testing it on groups, since it absolutely doesn't work. There is a &lt;A href="https://github.com/Alfresco/alfresco-community-repo/commit/1ccb8a21644e32e39c2dc1ff61949b66fa6728e1#comments" target="_self" rel="nofollow noopener noreferrer"&gt;comment&lt;/A&gt; by luiscolorado and the problem is there since version 7.2.1 up to current one at least (7.3.0).&lt;/P&gt;&lt;P&gt;This was fixed by rrajoria in november, but the fix is not present in the distribution zip.&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;This is a blocking problem, what is the correct way to handle it so that I can have a working installation being given that I do not intend to build my own custom version of the product, but that I could build and install an amp or an extension jar for instance ?&lt;/P&gt;&lt;P&gt;PS: I suggest that you put the fix in the public distribution kit asap, because this bug really breaks completely the site functionality...&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 08:56:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139652#M37347</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-24T08:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139653#M37348</link>
      <description>&lt;P&gt;I tested this with 7.3.1 and it works as expected. Are you able to upgrade to this version?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 09:08:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139653#M37348</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-24T09:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139654#M37349</link>
      <description>&lt;P&gt;I don't know, I can try. My entry point was the &lt;A href="https://www.alfresco.com/fr/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;official page&lt;/A&gt; where there is only a link to 7.3.0-build-2019, but since now I know that there is version 7.3.1 I could google it and find where the &lt;A href="https://artifacts.alfresco.com/nexus/content/repositories/releases/org/alfresco/alfresco-content-services-community-distribution/" target="_self" rel="nofollow noopener noreferrer"&gt;distributions are stored&lt;/A&gt;. I hope that I went to the right place.&lt;/P&gt;&lt;P&gt;It should work, I'll just have to change the wars and reapply my extensions, I hope ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 10:15:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139654#M37349</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-24T10:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139655#M37350</link>
      <description>&lt;P&gt;When doing a minor upgrade (like this one) replacing the WARs and applying the extensions should be enough.&lt;/P&gt;
&lt;P&gt;And, yes, you were to the right place. &lt;A href="https://artifacts.alfresco.com" target="_blank" rel="nofollow noopener noreferrer"&gt;https://artifacts.alfresco.com&lt;/A&gt; is the official distribution site.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 10:21:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139655#M37350</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2023-02-24T10:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139656#M37351</link>
      <description>&lt;P&gt;Thank you, it works, and the script is indeed fixed in 7.3.1.&lt;/P&gt;&lt;P&gt;I don't know who is in charge of that, but it would be cool to update the &lt;A href="https://www.alfresco.com/fr/thank-you/thank-you-downloading-alfresco-community-edition" target="_self" rel="nofollow noopener noreferrer"&gt;official community download page&lt;/A&gt;, and also to put there a link to the distribution site. This page is flashy but really bad, hard to find information (I get lost each time) and missing the most important information.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 11:23:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139656#M37351</guid>
      <dc:creator>mikef38</dc:creator>
      <dc:date>2023-02-24T11:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139657#M37352</link>
      <description>&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;yes, I can confirm that the group search has been fixed in 7.3.1, however, it is still impossible to add a group to the site...&lt;/P&gt;&lt;P&gt;As far as I understand the reason is a wrong order of js imports. We can't create an instance of Alfresco.GroupsList object before this object becomes available.&lt;BR /&gt;&lt;BR /&gt;It looks like that:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;...&lt;BR /&gt;     &amp;lt;script type="text/javascript"&amp;gt;
            //&amp;lt;![CDATA[
            new Alfresco.GroupsList("template_x002e_groupslist_x002e_add-groups_x0023_default").setOptions({
                "roles": ["SiteManager", "SiteCollaborator", "SiteContributor", "SiteConsumer"],
                "siteId": "serhii-test"
            }).setMessages({
                "groupslist.add": "Add",
                "groupslist.back-to": "back to Site Groups",
                "groupslist.or": "or",
                "role": "Role",
                "groupslist.selectrole": "Select Role",
                "button.add-groups": "Add Groups",
                "groupslist.title": "Add these Groups",
                "groupslist.empty-list": "Groups added here will be added",
                "message.result": "{0} groups added, {1} failures",
                "groupslist.selectallroles": "Set All Roles to"
            });
            //]]&amp;gt;
        &amp;lt;/script&amp;gt;
   ... 
&lt;STRONG&gt;        &amp;lt;script type="text/javascript" src="/share/res/components/invite/groupslist_d0bad8cc4802deaf998d6f8492008cd3.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/STRONG&gt;
        &amp;lt;script type="text/javascript" src="/share/res/components/people-finder/group-finder_7ccc009f612b7b8a426eb7f0182563d8.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script type="text/javascript"&amp;gt;
            //&amp;lt;![CDATA[
            new Alfresco.GroupFinder("template_x002e_group-finder_x002e_add-groups_x0023_default").setOptions({
                "addButtonSuffix": "&amp;gt;&amp;gt;",
                "siteId": "serhii-test",
                "setFocus": true,
                "minSearchTermLength": 1.0,
                "maxSearchResults": 250.0,
                "dataWebScript": "api\/sites\/{siteId}\/potentialmembers?authorityType=GROUP"
            }).setMessages({
                "label.users": "Users",
                "label.subgroups": "Subgroups",
                "message.instructions": "Enter a search term to find groups",
                "message.error": "Unable to perform group search",
                "title": "Find Groups to add to this site",
                "message.empty": "No groups found"
            });
            //]]&amp;gt;
        &amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;That's why the left panel works correctly and the right panel doesn't.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 19:07:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139657#M37352</guid>
      <dc:creator>s_palyukh</dc:creator>
      <dc:date>2023-03-23T19:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bug to add groups to a site in Alfresco 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139658#M37353</link>
      <description>&lt;P&gt;Okay, it seems I found the issue, there is a missing "group" attribute on the tag "createWidgets" in the file&amp;nbsp;&lt;SPAN class=""&gt;org/alfresco/components/invite/&lt;/SPAN&gt;&lt;SPAN class=""&gt;groupslist.get.html.ftl&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;@&lt;/SPAN&gt;createWidgets&lt;SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Quick workaround:&lt;BR /&gt;&lt;BR /&gt;1. Create the following file&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/invite/&lt;/SPAN&gt;&lt;SPAN class=""&gt;groupslist.get.html.ftl&lt;BR /&gt;&lt;BR /&gt;2. Add content inside (the change highlighted in bold):&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;@markup id="css" &amp;gt;
   &amp;lt;#-- CSS Dependencies --&amp;gt;
   &amp;lt;@link href="${url.context}/res/components/invite/groupslist.css" group="invite"/&amp;gt;
&amp;lt;/@&amp;gt;

&amp;lt;@markup id="js"&amp;gt;
   &amp;lt;#-- JavaScript Dependencies --&amp;gt;
   &amp;lt;@script src="${url.context}/res/components/invite/groupslist.js" group="invite"/&amp;gt;
&amp;lt;/@&amp;gt;

&amp;lt;@markup id="widgets"&amp;gt;
   &amp;lt;@createWidgets &lt;STRONG&gt;group="invite"&lt;/STRONG&gt;/&amp;gt;
&amp;lt;/@&amp;gt;

&amp;lt;@markup id="html"&amp;gt;
   &amp;lt;@uniqueIdDiv&amp;gt;
      &amp;lt;div id="${args.htmlid}-grouplistWrapper" class="grouplistWrapper"&amp;gt;
         &amp;lt;div class="title theme-color-2"&amp;gt;${msg("groupslist.title")}&amp;lt;/div&amp;gt;
         &amp;lt;div id="${args.htmlid}-groupslist" class="groupslist"&amp;gt;
            &amp;lt;div id="${args.htmlid}-invitationBar" class="invitelist-bar"&amp;gt;
               &amp;lt;button id="${args.htmlid}-selectallroles-button"&amp;gt;${msg("groupslist.selectallroles")}&amp;amp;nbsp;&amp;amp;#9662;&amp;lt;/button&amp;gt;
               &amp;lt;select id="${args.htmlid}-selectallroles-menu"&amp;gt;
               &amp;lt;#list siteRoles as siteRole&amp;gt;
                  &amp;lt;option value="${siteRole}"&amp;gt;${msg('role.' + siteRole)}&amp;lt;/option&amp;gt;
               &amp;lt;/#list&amp;gt;
               &amp;lt;/select&amp;gt;
            &amp;lt;/div&amp;gt;
            &amp;lt;div id="${args.htmlid}-inviteelist" class="body inviteelist theme-bg-color-6"&amp;gt;&amp;lt;/div&amp;gt;
            &amp;lt;div id="${args.htmlid}-role-column-template" style="display:none"&amp;gt;
               &amp;lt;button class="role-selector-button" value=""&amp;gt;${msg("role")}&amp;lt;/button&amp;gt;
            &amp;lt;/div&amp;gt;
         &amp;lt;/div&amp;gt;
         &amp;lt;div class="sinvite"&amp;gt;
            &amp;lt;button id="${args.htmlid}-add-button"&amp;gt;${msg("button.add-groups")}&amp;lt;/button&amp;gt;
            &amp;lt;span id="${args.htmlid}-backTo" class="back-to"&amp;gt;${msg("groupslist.or")} &amp;lt;a href="site-groups"&amp;gt;${msg("groupslist.back-to")}&amp;lt;/a&amp;gt;&amp;lt;/span&amp;gt;
         &amp;lt;/div&amp;gt;
      &amp;lt;/div&amp;gt;
   &amp;lt;/@&amp;gt;
&amp;lt;/@&amp;gt;&lt;/PRE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;3. Refresh Share webscripts or restart tomcat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 19:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bug-to-add-groups-to-a-site-in-alfresco-7-3/m-p/139658#M37353</guid>
      <dc:creator>s_palyukh</dc:creator>
      <dc:date>2023-03-23T19:41:06Z</dc:date>
    </item>
  </channel>
</rss>

