-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error for value pointing to private items
The code preventing this kind of error was keyed specifically to the name "resource" for the data type of the value, but we've since introduced other more specific resource types for values that can point only to items, sets, etc. Rather than base this check on the name of the type, this instead checks if the type class extends from the abstract class for resource data types. This introduces a new method isHidden to the value representation to simplify this check. (fix #1507) (cherry picked from commit 61abd65)
- Loading branch information
1 parent
f6749af
commit 0d29416
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters