I think I ran into an issue with computed attributes. I am trying to concatenate two Multiselect attributes. The result is the concatenation I wanted but in this form: ['item1'], ['item2'].
I ran a series of SUBSTITUTE commands in order to get rid of the brackets and quotation marks. The problem comes when the second attribute is blank: in this case there is only ['item1'] where the substitution needs to happen. I expected this to work in the same way but it leaves the result blank and returns the error "'list' object has no attribute 'replace'".
Is there a way to work around this or can you tell me what's causing it? Sorry if the question is confusing, as you can probably tell by the question, writing code is not my specialty :D
Thank you very much!