We have moved to Github. Please open tickets there.

Opened 4 years ago

Closed 3 years ago

#1168 closed Defect (duplicate)

get_entities_from_metadata compares $owner_guid arg against container_guid

Reported by: twall Owned by:
Priority: high Milestone:
Component: Core Version: 1.5
Severity: major Keywords:
Cc: marcus, brettp, Difficulty:

Description

get_entities_from_metadata does not document its $owner_guid argument; its obvious inferred meaning is incorrect, since the function compares the $owner_guid argument against scanned entities' container_guid attribute.

The parameter name should match the attribute being compared (and owner_guid is probably more useful than container_guid if you have to choose only one attribute to match).

Change History (1)

comment:1 Changed 3 years ago by cash

  • Resolution set to duplicate
  • Status changed from new to closed

duplicate of #1182

Note: See TracTickets for help on using tickets.