#477 closed defect (duplicate)
PS_LIST_UNKNOWN isn't defined
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | sys | Version: | 0.6.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
PS_LIST_UNKNOWN isn't defined, but it is referred to in the psMetadataRemove
docs in the SDRS (where its functionality is required).
Change History (5)
comment:1 by , 21 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 21 years ago
| Resolution: | invalid |
|---|---|
| Status: | closed → reopened |
I'm confused. Version 14 of the SDRS reads:
Items may be removed from the metadata by specifying a key or a location in the list. If the value of
name is NULL, the
value of location is used. If the value of name is not NULL, then location must be set to
PS_LIST_UNKNOWN.
If the key matches a metadata item, the item is removed from the metadata and true is returned;
otherwise, false is
returned. If the key is not unique, then all items corresponding to the key are removed, and true is
returned.
comment:3 by , 21 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | reopened → closed |
I was confused, obviously, as I was looking at psListRemove, not psMetadataRemove.
PS_LIST_UNKNOWN was removed from psList, but psMetadata specifications was not updated.
This is a duplicate of bug #503. Let's close this and just use #503, as it contains some solution
suggestions.
* This bug has been marked as a duplicate of 503 *

There is no such thing mentioned in SDRS version 14 or version 15.
Take a look at psListRemoveData, which is probably what functionality you
expected to see with the deprecated PS_LIST_UNKNOWN enum value.
-rdd