Title: Certain errors are not shown when all experimental features are disabled · Issue #11081 · PowerShell/PowerShell · GitHub
Open Graph Title: Certain errors are not shown when all experimental features are disabled · Issue #11081 · PowerShell/PowerShell
X Title: Certain errors are not shown when all experimental features are disabled · Issue #11081 · PowerShell/PowerShell
Description: When all experimental features are disabled, certain errors are not shown at all. It also seems that the "PSErrorView" experimental feature is always enabled, even after explicitly disabling it. This does not repro in Preview.5 PS> $PSVe...
Open Graph Description: When all experimental features are disabled, certain errors are not shown at all. It also seems that the "PSErrorView" experimental feature is always enabled, even after explicitly disabling it. Th...
X Description: When all experimental features are disabled, certain errors are not shown at all. It also seems that the "PSErrorView" experimental feature is always enabled, even after explicitly disabl...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/11081
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Certain errors are not shown when all experimental features are disabled","articleBody":"When all experimental features are disabled, certain errors are not shown at all. It also seems that the \"PSErrorView\" experimental feature is always enabled, even after explicitly disabling it.\r\n\r\nThis does **not** repro in Preview.5\r\n\r\n```\r\nPS> $PSVersionTable\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-preview.5\r\nPSEdition Core\r\nGitCommitId 7.0.0-preview.5\r\nOS Microsoft Windows 10.0.19516\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n\r\nPS C:\\Users\\adityap> $EnabledExperimentalFeatures\r\nPS C:\\Users\\adityap> \"\".$dsfs()\r\nMethod invocation failed because [System.String] does not contain a method named ''.\r\nAt line:1 char:1\r\n+ \"\".$dsfs()\r\n+ ~~~~~~~~~~\r\n+ CategoryInfo : InvalidOperation: (:) [], RuntimeException\r\n+ FullyQualifiedErrorId : MethodNotFound\r\n```\r\n\r\n# Steps to reproduce\r\n\r\n```powershell\r\nPS C:\\Windows\\System32> $EnabledExperimentalFeatures\r\nPS> \"\".$dsfs()\r\nPS> $Error[0]\r\n\r\nPS> $Error[0] | fl *\r\n\r\nPS> $Error[0] | fl * -Force\r\n\r\nPSMessageDetails :\r\nException : System.Management.Automation.RuntimeException: Method invocation failed because [System.String] does not contain a method named ''.\r\n at CallSite.Target(Closure , CallSite , String , Object )\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)\r\n at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\nTargetObject :\r\nCategoryInfo : InvalidOperation: (:) [], RuntimeException\r\nFullyQualifiedErrorId : MethodNotFound\r\nErrorDetails :\r\nInvocationInfo : System.Management.Automation.InvocationInfo\r\nScriptStackTrace : at \u003cScriptBlock>, \u003cNo file>: line 1\r\nPipelineIterationInfo : {}\r\n```\r\n\r\n# Expected behavior\r\n\r\n```none\r\nError is shown in default error view\r\n```\r\n\r\n# Actual behavior\r\n\r\n```none\r\nNo error shown\r\n```\r\n\r\n# Environment data\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```none\r\n\r\nName Value\r\n---- -----\r\nPSVersion 7.0.0-daily.20191114\r\nPSEdition Core\r\nGitCommitId 7.0.0-daily.20191114\r\nOS Microsoft Windows 10.0.19516\r\nPlatform Win32NT\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\nWSManStackVersion 3.0\r\n```\r\n","author":{"url":"https://github.com/adityapatwardhan","@type":"Person","name":"adityapatwardhan"},"datePublished":"2019-11-15T15:55:41Z","url":"https://github.com/PowerShell/PowerShell/issues/11081"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7dd19e58-20c6-10cf-48c4-809986e70615 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D222:32B4C5:1D59FB:2819EA:6AFD5023 |
| html-safe-nonce | ef397081cbba5b4f9b7b2cfb965d9b28514fc943accef94107c2a939e3ccc00a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjIyOjMyQjRDNToxRDU5RkI6MjgxOUVBOjZBRkQ1MDIzIiwidmlzaXRvcl9pZCI6IjE0MTIwNjc2Mzk2MzAzMTk2NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8c24d76367a9580ce4bd4dabb362081b291a3b3f62347888211de37bb6295954 |
| hovercard-subject-tag | issue:523550014 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/11081/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d676aa4198695ba1b692bbdabe8722ddb03ec56d167093310bcb9f4fd756ad90/PowerShell/PowerShell/issues/11081 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d676aa4198695ba1b692bbdabe8722ddb03ec56d167093310bcb9f4fd756ad90/PowerShell/PowerShell/issues/11081 |
| og:image:alt | When all experimental features are disabled, certain errors are not shown at all. It also seems that the "PSErrorView" experimental feature is always enabled, even after explicitly disabling it. Th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adityapatwardhan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width