← 输入框|github.com|刷新
Skip to content

Error when using "ut.expect().to_equal" when comparing cursors (3.1.4) #870

Closed

Description

@vdeG123

I installed version 3.1.4 2 days ago.
I notice that the framework is throwing an error when trying to compare two cursors with ut.expect().to_equal.

Here's the error stack:
ORA-00904: "UTPLSQL"."UT_COMPOUND_DATA_HELPER"."GET_HASH": invalid identifier
ORA-06512: at "UTPLSQL.UT_DATA_VALUE_REFCURSOR", line 317
ORA-06512: at "UTPLSQL.UT_DATA_VALUE_REFCURSOR", line 365
ORA-06512: at "UTPLSQL.UT_EQUAL", line 225
ORA-06512: at "UTPLSQL.UT_EXPECTATION", line 26
ORA-06512: at "UTPLSQL.UT_EXPECTATION", line 138
ORA-06512: at "XXX.XXX", line 170

I had to add UT_COMPOUND_DATA_HELPER in the create_synonyms_and_grants_for_public.sql script to make it work.

Thanks!

Activity

  1. pesse commented on Mar 22, 2019

    @pesse
    Member

    Hey @vdeG123 ,
    can you try it with 3.1.5 and check if it's solved there?

  2. lwasylow commented on Mar 22, 2019

    @lwasylow
    Member

    We will look into this and comeback. Thanks for reporting that.

  3. lwasylow commented on Mar 22, 2019

    @lwasylow
    Member

    Hey @vdeG123
    Can you share a test case you running ? I assume data types in cursor are not standard ? XML or CLOB etc ?

  4. vdeG123 commented on Mar 22, 2019

    @vdeG123
    Author

    Exactly, the cursor is a SELECT on one column, and this column is a CLOB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions