cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while creating wizard hybris 6.7

Former Member
0 Likes
651

Hy everybody. I have a problem when creating a wizard in backoffice (hybris 6.7)

I have an entity with an atribute and persistence property and others atributes with persistence dynamic.

When i try to see the wizard i get the following error.

Does anybody knows which could be the problem. The context type of wizard and name of qualifier is corect.

If i remove the property with the persistence property, it shows the wizard but when y try to save it i get an error.

Thanx a lot.

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

You can not save the value in a dynamic attribute. You can use the value in a dynamic attribute for calculation/display but you can not save the value in a dynamic attribute. You can save the value only in the attributes whose persistence type="property". Please refer https://help.hybris.com/6.6.0/hcd/8bb46096866910149208fae7c4ec7596.html for more details on the dynamic attribute.

Former Member
0 Likes

What I was trying to do is to have an input in a wizard and this input is for a dynamic attribute. When I try to save the model associated to this wizard, I use an validator interceptor and depending of the value of this input I'll modify values from model.

For example if the values of attribute is "home" a property from model has a values and if its "out" the property will have another values.

Former Member
0 Likes

Do you know how we can solve the this situation...

I have an entity "creditLine". This entity has an property which is a type of another entity "creditLineData" and so on. Final entity has some fields: name, surname etc.

What I want is to create a wizard for a new "creditLine" but in that wizard I need inputs for values of properties from "creditLineData". Then with validatorInterceptor I'll process this data and create and assign each entity property We really dont know how to make it.

Thanx a lot

arvind-kumar_avinash
Active Contributor
0 Likes

You can achieve it using proper relations. You can check https://wiki.hybris.com/pages/viewpage.action?pageId=294094223#Trail~CustomizingBackoffice-CockpitNG... for an example. Here, Stadium has relation with Match and Match has a relation with Team. This is not the exact solution but a hint to proceed towards the solution.

You can download the extensions from https://wiki.hybris.com/display/R5T/hybris+5+Developer+Training+Trails+5.7+-+Part+I+-+Core and explore the entities.

Former Member
0 Likes

Ok. I'll try with that. I've tryied before using relation, with your example:

wz propery qualifier="stadium.match.team" but finally didn't worked. I'll hav a look to your link. I'm just starting with hybris and it's a little difficult.

thanx a los for your time and all your help.

Answers (0)