Title: Getting "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR · Issue #864 · utPLSQL/utPLSQL · GitHub
Open Graph Title: Getting "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR · Issue #864 · utPLSQL/utPLSQL
X Title: Getting "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR · Issue #864 · utPLSQL/utPLSQL
Description: Hello! We have "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR in ut.expect. Example below. create table test_table (id number); CREATE OR REPLACE PACKAGE tp_test_grants IS --%suite(Grants testing) --%test...
Open Graph Description: Hello! We have "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR in ut.expect. Example below. create table test_table (id number); CREATE OR REPLACE PACKAGE tp_test_gr...
X Description: Hello! We have "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR in ut.expect. Example below. create table test_table (id number); CREATE OR REPLACE PACKAGE ...
Opengraph URL: https://github.com/utPLSQL/utPLSQL/issues/864
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting \"ORA-01031: insufficient privileges\" in release v3.1.4 when using SYS_REFCURSOR","articleBody":"Hello!\r\n\r\nWe have \"ORA-01031: insufficient privileges\" in release v3.1.4 when using SYS_REFCURSOR in ut.expect. Example below.\r\n\r\n```sql\r\ncreate table test_table (id number);\r\nCREATE OR REPLACE PACKAGE tp_test_grants IS\r\n --%suite(Grants testing)\r\n\r\n --%test(Test grants)\r\n PROCEDURE test_test_grants;\r\n\r\nend;\r\n/\r\n```\r\n```sql\r\nCREATE OR REPLACE PACKAGE BODY tp_test_grants IS\r\n\r\n \r\n\r\n PROCEDURE test_test_grants IS\r\n \r\n v_details_cur SYS_REFCURSOR;\r\n BEGIN\r\n \r\n OPEN v_details_cur FOR\r\nSELECT * from test_table;\r\n\r\nut.expect(v_details_cur).not_to(be_empty);\r\n\r\nEND test_test_grants;\r\n\r\nEND tp_test_grants;\r\n```\r\n\r\n**We run:**\r\nBEGIN\r\n dbms_output.enable(1000000);\r\n ut.run('tp_test_grants.test_test_grants');\r\n rollback;\r\nEND;\r\n\r\n**Get error**\r\n\r\nGrants testing\r\n Test grants [,009 sec] (FAILED - 1)\r\n \r\nFailures:\r\n \r\n 1) test_test_grants\r\n ORA-01031: привилегий недостаточно\r\n ORA-06512: на \"UT3.UT_CURSOR_DETAILS\", line 198\r\n ORA-06512: на \"UT3.UT_DATA_VALUE_REFCURSOR\", line 114\r\n ORA-06512: на \"UT3.UT_DATA_VALUE\", line 56\r\n ORA-06512: на \"UT3.UT_MATCHER\", line 67\r\n ORA-06512: на \"UT3.UT_EXPECTATION\", line 40\r\n ORA-06512: на \"INS.TP_TEST_GRANTS\", line 11\r\n ORA-06512: на \"UT3.UT_CURSOR_DETAILS\", line 198\r\n ORA-06512: на \"UT3.UT_DATA_VALUE_REFCURSOR\", line 114\r\n ORA-06512: на \"UT3.UT_DATA_VALUE\", line 56\r\n ORA-06512: на \"UT3.UT_MATCHER\", line 67\r\n ORA-06512: на \"UT3.UT_EXPECTATION\", line 40\r\n ORA-06512: на \"INS.TP_TEST_GRANTS\", line 11\r\n ORA-06512: на line 6\r\nFinished in ,010221 seconds\r\n1 tests, 0 failed, 1 errored, 0 disabled, 0 warning(s)","author":{"url":"https://github.com/Mikhail5544","@type":"Person","name":"Mikhail5544"},"datePublished":"2019-03-20T07:01:01Z","url":"https://github.com/utPLSQL/utPLSQL/issues/864"}
| 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:97d1a1e9-7a57-1cfa-8be4-5d3542b0b9e4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ABC8:9393C:305E4E:4071DF:6B04B857 |
| html-safe-nonce | 5217fb678b161665ba92701317ce837c0ec2589e7ebd849a36fb544292fa08e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkM4OjkzOTNDOjMwNUU0RTo0MDcxREY6NkIwNEI4NTciLCJ2aXNpdG9yX2lkIjoiNjIxNjA2Mzc5MDg1Mzk2MTgxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e431c154a725caffb81d9a886d95ad54778dd4d4b8e507c98d045f467f8cac09 |
| hovercard-subject-tag | issue:423097292 |
| 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/864/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d69b74b3b35c8dd024f61d81c19462b8f49a3f4c536c771a74fbea50ee8e9614/utPLSQL/utPLSQL/issues/864 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d69b74b3b35c8dd024f61d81c19462b8f49a3f4c536c771a74fbea50ee8e9614/utPLSQL/utPLSQL/issues/864 |
| og:image:alt | Hello! We have "ORA-01031: insufficient privileges" in release v3.1.4 when using SYS_REFCURSOR in ut.expect. Example below. create table test_table (id number); CREATE OR REPLACE PACKAGE tp_test_gr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mikhail5544 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/utPLSQL/utPLSQL git https://github.com/utPLSQL/utPLSQL.git |
| octolytics-dimension-user_id | 15661281 |
| octolytics-dimension-user_login | utPLSQL |
| octolytics-dimension-repository_id | 50728220 |
| octolytics-dimension-repository_nwo | utPLSQL/utPLSQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 50728220 |
| octolytics-dimension-repository_network_root_nwo | utPLSQL/utPLSQL |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width