Skip to content

Globber quietly fails expecting provider to handle no results #19626

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

Steps to reproduce

On Windows: get-childitem \\.\INVALID0\*

Note that this is using device path syntax to a non-existing device

Expected behavior

Path not found error

Actual behavior

No results, no error

Error details

It looks like somewhere in the globber it's ignoring a potential error here and just validating returned results against the wildcard.

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.3
PSEdition                      Core
GitCommitId                    7.4.0-preview.3
OS                             Microsoft Windows 10.0.25324
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageThe issue is new and needs to be triaged by a work group.Resolution-No ActivityIssue has had no activity for 6 months or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions