9.12.0.1 - Roles can no longer be administered (DB Error)
Completed
Hi,
I am currently using version 9.12.0.1 and the administration of roles seems to be faulty. Just calling up a role definition via the administration leads to a DB error.
SQL statement from yellowfin.log
/MIPreAdminRolesEdit.i4] SQL: SELECT DISTINCT acl.IpOrg, RoleCode, ACLSeqNbr, FunctionName, AccessLevelCode, FunctionTypeCode, ShortDescription, LongDescription, SortOrder FROM AccessClassList acl, OrgReferenceCodeDesc d, OrgVersion v WHERE acl.IpOrg = 1 AND acl.RoleCode = 'YFREPORTCONSUMER' AND acl.IpOrg = v.IpOrg AND v.ObjectName = 'SECFN' AND v.ObjectStatus = 'L' AND v.IpOrg = d.IpOrg AND v.ObjectName = d.RefTypeCode AND v.ObjectVersion = d.RefVersion AND acl.FunctionName = d.RefCode AND d.LanguageCode = 'EN' ORDER BY acl.IpOrg, RoleCode, FunctionTypeCode, SortOrderDB Error
ORA-00932: Inkonsistente Datentypen: - erwartet, CLOB erhalten 00932. 00000 - "inconsistent datatypes: expected %s got %s"
The "OrgReferenceCodeDesc" table contains a CLOB field instead of a VARCHAR. Then, of course, this error occurs during a query. I cannot say in which version you have changed something. We do not test each area individually with each version.
Result
Yellowfin can no longer be administered with this error. please fix it immediately with a HF for version 9.12.
;) Stefan
Hello Stefan,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #30048
Case Title: Roles can no longer be administered
Issue Overview:
From the error message: I believe the error occurs if there is a mismatch between the expected data types and the actual data types provided in a SQL statement.
But I tried to look into the datatypes (in mssql - I believe every db would have similar field types) for columns in OrgReferenceCodeDesc and AccessClassList
1. OrgReferenceCodeDesc
2.
I do not see a CLOB data type.
Please allow me sometime to double check in Oracle db as well. I have to spin up a new oracle instance and install YF 9.12.0.1 to verify this.
Request for Additional Information:
While I double check the datatypes in the oracle db, could you please provide additional details like:
https://community.yellowfinbi.com/topic/how-to-get-the-info-jsp
(To understand the exact oracle version you are using)
https://ftp.yellowfin.bi/files/
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hello Stefan,
My name is Deepak Chaganti from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:
Ticket Number: #30048
Case Title: Roles can no longer be administered
Issue Overview:
From the error message: I believe the error occurs if there is a mismatch between the expected data types and the actual data types provided in a SQL statement.
But I tried to look into the datatypes (in mssql - I believe every db would have similar field types) for columns in OrgReferenceCodeDesc and AccessClassList
1. OrgReferenceCodeDesc
2.
I do not see a CLOB data type.
Please allow me sometime to double check in Oracle db as well. I have to spin up a new oracle instance and install YF 9.12.0.1 to verify this.
Request for Additional Information:
While I double check the datatypes in the oracle db, could you please provide additional details like:
https://community.yellowfinbi.com/topic/how-to-get-the-info-jsp
(To understand the exact oracle version you are using)
https://ftp.yellowfin.bi/files/
Sincerely,
Deepak Chaganti
Yellowfin Technical Support Engineer
Hi Stefan,
I believe I have replicated the issue.
I have used a fresh install of YF 9.12.0.1 with Oracle as config db. When I open a role from Admin Console, it was throwing an error.
Please refer to the attached replication video and let me know if you are experiencing the same.
I don't think it is because of the CLOB datatype because I saw the same data type present even in one of the old YF - oracle envs I have.
In the meanwhile, I will raise this with the wider team.
Thanks,
Deepak
Hi Stefan,
I believe I have replicated the issue.
I have used a fresh install of YF 9.12.0.1 with Oracle as config db. When I open a role from Admin Console, it was throwing an error.
Please refer to the attached replication video and let me know if you are experiencing the same.
I don't think it is because of the CLOB datatype because I saw the same data type present even in one of the old YF - oracle envs I have.
In the meanwhile, I will raise this with the wider team.
Thanks,
Deepak
Hi Stefan,
Just wanted to let you know that the issue is now fixed and the fix is included on top of YF 9.12.0.3, so the new version will be YF9.12.0.4
Please download the build from here: https://ftp.yellowfin.bi/f/cf2c4b40aab49d8a
And let us know if there is anything that we can assist with.
Thanks,
Deepak
Hi Stefan,
Just wanted to let you know that the issue is now fixed and the fix is included on top of YF 9.12.0.3, so the new version will be YF9.12.0.4
Please download the build from here: https://ftp.yellowfin.bi/f/cf2c4b40aab49d8a
And let us know if there is anything that we can assist with.
Thanks,
Deepak
Replies have been locked on this page!