on 02-18-2016 7:46 AM
I was created one dynamic attribute for the customer and created handle class for that,but i get an exception "Caused by: de.hybris.platform.servicelayer.exceptions.SystemException: cannot find spring bean [Customer_longNameAttributeHandler] configured for dynamic attribute [Customer.longName] from extension [lycamobilecore] " like this.I remove the created dynamic attribute and all related class and bean configurations and trying to start server.but still getting same exception.can anyone tell why that exception coming
The only solution to remove attribute handler without getting an error, delete the attribute from the database. It is store in the attributedescriptors table. You can delete the attribute via this sql query:
"delete from attributedescriptors where QualifierInternal = "<your attribute>"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try ant clean then refresh the workspace (clean the projects(esp. platform) ) then, ant all start server
let me know if that works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Had the same issue. It happens due to not matching handler name in items.xml with bean in spring.xml. So it is not possible to match a handler required for the attribute with handler bean. To resolve it - verify that bean name is the same in both files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem. The temporary definition of the mentioned dynamic spring bean, e.g. Customer_longNameAttributeHandler and an updatesystem solves the problem.
Afterwards the updatesystem the spring bean could be removed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have changed the "items.xml" so to reflect the values, you need perform "ant clean all" before starting server, please do build
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ant clean all && ant initialize
should help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
'ant initialize' should never be part of a real solution.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.