Title: Cannot navigate to failed test with throws annotation · Issue #89 · utPLSQL/utPLSQL-SQLDeveloper · GitHub
Open Graph Title: Cannot navigate to failed test with throws annotation · Issue #89 · utPLSQL/utPLSQL-SQLDeveloper
X Title: Cannot navigate to failed test with throws annotation · Issue #89 · utPLSQL/utPLSQL-SQLDeveloper
Description: @tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version. 1. Create the following package specifications without bodies CREATE OR REPLACE PACKAGE p...
Open Graph Description: @tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version. 1. Create the following package specifications wi...
X Description: @tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version. 1. Create the following package specification...
Opengraph URL: https://github.com/utPLSQL/utPLSQL-SQLDeveloper/issues/89
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot navigate to failed test with throws annotation","articleBody":"@tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version.\r\n\r\n## 1. Create the following package specifications without bodies\r\n\r\n```sql\r\nCREATE OR REPLACE PACKAGE pkg1 IS\r\n --%suite\r\n \r\n --%throws(-20501)\r\n --%test\r\n PROCEDURE p;\r\nEND;\r\n/\r\n\r\nCREATE OR REPLACE PACKAGE pkg2 IS\r\n --%suite\r\n \r\n --%test\r\n PROCEDURE p;\r\nEND;\r\n/\r\n```\r\n\r\n## 2. Run them in a SQL Developer worksheet\r\n\r\n```sql\r\nSET SERVEROUTPUT ON SIZE UNLIMITED\r\nEXECUTE ut.run;\r\n```\r\nand the result looks good:\r\n```\r\npkg1\r\n p [.11 sec] (FAILED - 1)\r\n \r\npkg2\r\n p [.094 sec] (FAILED - 2)\r\n \r\nFailures:\r\n \r\n 1) p\r\n Actual: -4067 was expected to equal: -20501\r\n ORA-04067: not executed, package body \"SCOTT.PKG1\" does not exist\r\n ORA-06508: PL/SQL: could not find program unit being called: \"SCOTT.PKG1\"\r\n ORA-06512: at line 6\r\n \r\n 2) p\r\n ORA-04067: not executed, package body \"SCOTT.PKG2\" does not exist\r\n ORA-06508: PL/SQL: could not find program unit being called: \"SCOTT.PKG2\"\r\n ORA-06512: at line 6\r\nFinished in .211323 seconds\r\n2 tests, 1 failed, 1 errored, 0 disabled, 0 warning(s)\r\n```\r\n\r\n## 3. Run the same tests with the realtime reporter in SQL Developer\r\n\r\n\r\nThis looks good. You can click on the second test and click on every single tab (test, failures, errors, warnings, info). But when you click on the first test the GUI is blocked. You cannot navigate successfully to the first test. The following screenshot shows the inconsistencies.\r\n\r\n\r\n## 4. Workaround (not really)\r\n\r\nCreate a package body for the test with the throws annotation, like this:\r\n\r\n```\r\nCREATE OR REPLACE PACKAGE BODY pkg1 IS\r\n PROCEDURE p IS\r\n BEGIN\r\n raise_application_error(-20501, 'some error');\r\n END; \r\nEND;\r\n/\r\n```\r\n\r\nWhen the test succeeds then the GUI behaves as expected. When the test fails, then navigation to the failed test is not possible. \r\n\r\n","author":{"url":"https://github.com/PhilippSalvisberg","@type":"Person","name":"PhilippSalvisberg"},"datePublished":"2019-12-15T15:19:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/89/utPLSQL-SQLDeveloper/issues/89"}
| 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:e8b44884-a318-25a8-4aa7-141752a2cd17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA88:11EF24:4CB4B:68E8A:69695DA1 |
| html-safe-nonce | b9bdf59b07cf420028e5ef17563acca80081747debc317465379c6e2c4a44a33 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTg4OjExRUYyNDo0Q0I0Qjo2OEU4QTo2OTY5NURBMSIsInZpc2l0b3JfaWQiOiI0MTc5Mzg5OTUxMTcxNDUyMzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6408e818e0217b927562749ebdba05c8b0c0213240e5ede063aa582060c54d81 |
| hovercard-subject-tag | issue:538065061 |
| 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/utPLSQL/utPLSQL-SQLDeveloper/89/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa91a0ef346b49dbb307801ad9b5e00f104d264109bb20da9a419375b7587905/utPLSQL/utPLSQL-SQLDeveloper/issues/89 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa91a0ef346b49dbb307801ad9b5e00f104d264109bb20da9a419375b7587905/utPLSQL/utPLSQL-SQLDeveloper/issues/89 |
| og:image:alt | @tkleiber mentioned this issue at the DOAG conference and sent detailed information via Twitter. I could reproduce it. Here's a simplified version. 1. Create the following package specifications wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PhilippSalvisberg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9db5f28da7e24035385d7f349f17890cbe016a939ddd7952be0f07b862094f5a |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL-SQLDeveloper git https://github.com/utPLSQL/utPLSQL-SQLDeveloper.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 111097428 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL-SQLDeveloper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 111097428 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL-SQLDeveloper |
| 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 | 4e59fe66217d3c72925af2a341ae3a8f2b5b5b2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width