Opened 12 years ago
Closed 12 years ago
#2041 closed defect (fixed)
Error in GetCommonParent
Reported by: | hm | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | Maestro-4.0-maintenance |
Component: | General | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
In the file Maestro.Base\UI\SiteExplorer.cs in the method GetCommonParent there is an error:
internal static string GetCommonParent(RepositoryItem[] data)
{
if (data.Length > 0) {
if (data.Length == 1) {
The ToString will return the name of the object type "Maestro.Base.UI.RepositoryItem" and not the ResourceId "Library://../.."
should be:
return data[0].ResourceId;
Note:
See TracTickets
for help on using tickets.
Fixed trunk (r6806) and 2.4 branch (r6807). Thanks for the heads up