Details

      Description

      For example, in WikiSettings.getEnableComments() we have the following code:

      public boolean getEnableComments() {
      if (!PropsValues.WIKI_PAGE_COMMENTS_ENABLED)

      { return false; }

      return typedSettings.getBooleanValue("enableComments", true);
      }

      Which looks for a portal.properties value that, when set overrides the real property. This should probably be treated inside Settings to give it some coherence.

      Also, two lines above that method we have:

      public boolean getEnableCommentRatings()

      { return typedSettings.getBooleanValue("enableCommentRatings"); }

      A property with apparently the same name pattern, but totally different behavior.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              ivan.zaera Ivan Zaera
              Recent user:
              Randy Zhu (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 26 weeks, 4 days ago

                  Packages

                  Version Package