Custom adapters not working after upgrade
We are using Custom adapters in our forms(Webtop). There are 3 adapters like contract_number, customer_name and dealer_number.
For the contract_number it is of data type int. the inputs of customer_name and dealer_number is using a DQL(which involves contract_number). contract_number is a mandatory field in the form and it should contain 8 digits.
Here is the issue before and after upgrade(6.5sp3 to 6.6)
Before upgrade (6.5 sp3)
case1:
When you enter correct contract_number (eg: 12345678)
Result: Fine without any errors
case2:
When you enter contract_number less that 8 digits (eg: 123 , 86786,1 etc)
Result : Error displaying the form contains error please fix.
case3:
When you enter contract_number a String or blank/space. (eg:a,cust)
Result : Error displaying the form contains error please fix.
After upgrade (6.6)
case1:
When you enter correct contract_number (eg: 12345678)
Result: Fine without any errors
case2:
When you enter contract_number less that 8 digits (eg: 123 , 86786,1 etc)
Result : Error displaying the form contains error please fix.
case3:
When you enter contract_number a String or blank/space. (eg:a,cust)
Result : a) Error displaying the form contains error please fix.
b) Error executing adaptor: DealerNumberAdaptor() null. Please contact your administrator or see the server logs for more information.
c) Error executing adaptor: CustomerNameAdaptor() null. Please contact your administrator or see the server logs for more information.
As per my thinking since the data type of the contract_number is int and when we enter a string it is failing so I tried to modify so that it accepts for the string also.
The query which is ran in the contract_number is as follows
I ran the same query in DA like below
select r_object_id from cf_account_folder where cf_contract_num ='a'
It failed. So I mdified the query as below
Please let me know how to resolve those extra error messages(Adaptor not working).
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories