Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation on a schema with CREATE ANY CONTEXT fails for version 3.1.8 #992

Closed
MickeVr opened this issue Sep 12, 2019 · 2 comments
Closed

Installation on a schema with CREATE ANY CONTEXT fails for version 3.1.8 #992

MickeVr opened this issue Sep 12, 2019 · 2 comments
Labels
Milestone

Comments

@MickeVr
Copy link

@MickeVr MickeVr commented Sep 12, 2019

Recently we upgraded utPLSQL from version 3.1.7 to 3.1.8. Version 3.1.8 needs the CREATE CONTEXT privilege. Our DBA granted us this privilege with the CREATE ANY CONTEXT grant, but the installation fails with error:

ERROR at line 1:
16:33:47 [exec] ORA-20000: The following privileges are required for user "XXX" to install into schema "XXX"
16:33:47 [exec] - CREATE CONTEXT Please read the installation documentation at http://utplsql.org/utPLSQL/
16:33:47 [exec] ORA-06512: at line 27

Provide version info
Version 3.1.8, on Oracle 12.1

Expected behavior
I expect that the installations cript runs without issues

Additional context
I found the issue in check_sys_grants.sql

MickeVr pushed a commit to MickeVr/utPLSQL that referenced this issue Sep 12, 2019
@jgebal
Copy link
Member

@jgebal jgebal commented Sep 13, 2019

Micke,
Thanks for reporting this issue.
Even bigger thank you for fixing it!

Great first contribution 👍

@jgebal jgebal added this to the 3.1.9 milestone Sep 13, 2019
@jgebal jgebal added the bug label Sep 13, 2019
jgebal added a commit that referenced this issue Sep 13, 2019
Fix check of sys grants with ANY (issue #992)
@jgebal
Copy link
Member

@jgebal jgebal commented Sep 27, 2019

Closed by #993

@jgebal jgebal closed this as completed Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants