Ticket #1244 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

ResourceExist always return false on SessionRepository

Reported by: gbecker Owned by: ksgeograf
Priority: medium Milestone: Maestro-2.0
Component: Maestro Version:
Severity: trivial Keywords:
Cc: External ID:

Description

The ResourceExists? method of the Connection object in MaestroAPI always returns "false" on resources in SessionRepository?. On resources in LibraryRepository? it works fine.

The original MapGuideAPI works for Session- and LibraryRepository?.

Gunter

Change History

Changed 3 years ago by ksgeograf

  • status changed from new to assigned
  • version 2.1.0 deleted
  • milestone changed from 2.2 to Maestro-2.0

Yes, the original API used to have a bug with ResourceExists?, so I made a workaround that attempts to find the resource in the folder.

This does not work for Session resources as the content enumeration is prohibited for security reasons.

Changed 3 years ago by ksgeograf

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with r4562.

Note: See TracTickets for help on using tickets.