Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 6.2.X EE, 7.0.0 M3
    • 7.0.0 M1
    • Legacy

    Description

      In AssetEntryQuery.java#toString(), the param order is wrong.

      AssetEntryQuery.java
      	@Override
      	public String toString() {
      		if (_toString != null) {
      			return _toString;
      		}
      
      		StringBundler sb = new StringBundler(55);
      
      		sb.append("{allCategoryIds=");
      		sb.append(StringUtil.merge(_allCategoryIds));
      		sb.append(", allTagIds=");
      		sb.append(StringUtil.merge(_allTagIds));
      		sb.append(", anyCategoryIds=");
      		sb.append(StringUtil.merge(_anyCategoryIds));
      		sb.append(", anyTagIds=");
      		sb.append(StringUtil.merge(_anyTagIds));
      		sb.append(", classNameIds=");
      		sb.append(StringUtil.merge(_classNameIds));
      		sb.append(", classTypeIds=");
      		sb.append(StringUtil.merge(_classTypeIds));
      		sb.append(_description);
      		sb.append(", description=");
      
      		if (_layout != null) {
      			sb.append(", layout=");
      			sb.append(_layout.getPlid());
      		}
      
      		sb.append(", end=");
      		sb.append(_end);
      		sb.append(", excludeZeroViewCount=");
      		sb.append(_excludeZeroViewCount);
      		sb.append(", expirationDate=");
      		sb.append(_expirationDate);
      		sb.append(", groupIds=");
      		sb.append(_keywords);
      		sb.append(", keywords=");
      		sb.append(StringUtil.merge(_groupIds));
      		sb.append(", linkedAssetEntryId=");
      		sb.append(_linkedAssetEntryId);
      		sb.append(", notAllCategoryIds=");
      		sb.append(StringUtil.merge(_notAllCategoryIds));
      		sb.append(", notAllTagIds=");
      		sb.append(StringUtil.merge(_notAllTagIds));
      		sb.append(", notAnyCategoryIds=");
      		sb.append(StringUtil.merge(_notAnyCategoryIds));
      		sb.append(", notAnyTagIds=");
      		sb.append(StringUtil.merge(_notAnyTagIds));
      		sb.append(", orderByCol1=");
      		sb.append(_orderByCol1);
      		sb.append(", orderByCol2=");
      		sb.append(_orderByCol2);
      		sb.append(", orderByType1=");
      		sb.append(_orderByType1);
      		sb.append(", orderByType2=");
      		sb.append(_orderByType2);
      		sb.append(", paginationType=");
      		sb.append(_paginationType);
      		sb.append(", publishDate=");
      		sb.append(_publishDate);
      		sb.append(", start=");
      /////////////// two params are together ///////////////
      		sb.append(_start);
      		sb.append(_title);
      		sb.append(", title=");
      		sb.append(", visible=");
      		sb.append(_visible);
      		sb.append("}");
      
      		_toString = sb.toString();
      
      		return _toString;
      	}
      

      Attachments

        Activity

          People

            yunlin.sun Yunlin "Steven" Sun
            sharon.li Sharon Li (Inactive)
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 41 weeks, 6 days ago

              Packages

                Version Package
                7.0.0 M1