Menu

#1203 Resource class doesn't handle named resource types

v3.0
closed
dtf (63)
2012-09-15
2008-05-18
No

ResourceType field of Resource class is not processed correctly when it has to deal with named resource types.

The DTF documentation says about ResourceType: "Gets or sets the type of the resource. This may be a user-defined type if it doesn't match any of the ResourceType enumerated values."
Unfortunately the value for named resource types is file-specific, so it can't be used to recognize the types correctly.

My suggestion: change ResourceType from enum to string, exactly same as it is done in Name field.

Discussion

  • Jason Ginchereau

    Changed ResourceType from an enum to a class which handles both int and string resource types.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 21 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB