Developer forum

Forum » CMS - Standard features » Product selector field type in ItemType

Product selector field type in ItemType

Adrian Ursu
Reply

Hi guys,

it looks like this forum has been mixed with support lately, therefore I would post here an apparent bug I have found.

I have defined an ItemType that has a Product selector field type among other fields.

The problem with this field is that it is not rendered if one of the products adeed in the list is not available anymore.This is i aporblem especially wehn you try to remove the product causing the issue because you have no interface available,

I have attached a screenshot of how it looks after an error.

Hope you can find a solution for it.

Thanks,

Adrian

Screen_Shot_07-28-16_at_12.30_PM.PNG

Replies

 
Adrian Ursu
Reply

One more detail.

It looks that the error is caused by a syntax in the value stored in the database.

I have found this in the field: p_PROD1,p_PROD36,p_PROD56,p_PROD57,p_PROD58,p_PROD69:

Notice the ":" at the end of the values.

I have replaced the value with p_PROD1,p_PROD36,p_PROD56,p_PROD57,p_PROD58,p_PROD69 (without the ending :) and everything is back to normal.

Maybe there should be added some sort of validation when playing to products and variants.

Thanks,
Adrian 

 
Oleg Rodionov
Reply

Hi Adrian,

I've tested the issue on our test environment based on 8.8.1.6 and have good results without any impact to DB, please have a look at the proof - http://screencast.com/t/ffqIOmezsm

Browser used to test - Google Chrome Version 51.0.2704.103 m

BR, Oleg

 
Adrian Ursu
Reply

Hi Oleg, 

It looks fine in your simulation. in my solution I had the result posted as a screenshot in the initial post.

MAybe it's a version related issue?

I am glad that it is fixed though.

Thanks a lot.

Adrian

 

You must be logged in to post in the forum