Details

      Description

      Method RoleLocalServiceImpl.checkSystemRole(long companyId, String name, Map<Locale, String> descriptionMap, int type) contains optimization which is not working, but the method roleLocalService.updateRole(role, false) is always executed.

      if (!role.getDescription().equals(descriptionMap)) {
      	role.setDescriptionMap(descriptionMap);
      
      	roleLocalService.updateRole(role, false);
      }
      

      Solution remove if statement or implement equals correctly {{if (!role.getDescriptionMap().equals(descriptionMap)) }}

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 40 weeks, 5 days ago