cms icon indicating copy to clipboard operation
cms copied to clipboard

ListField error!

Open LeLuyen opened this issue 7 years ago • 5 comments

Hi Chris,

If we make more than one field with type as ListField on one content type, it will have problem.

Please check and fix it.

Thanks you!

LeLuyen avatar Mar 29 '18 07:03 LeLuyen

Hi Chris,

Here is the log

2018-03-29 14:46:57 Notice: Notice (8): Trying to get property of non-object in [D:\Ampps\www\luyenlv\vendor\quickapps-plugins\content\src\Template\Admin\Manage\edit.ctp

<?php echo $revision->data->title; ?> 'confirm' => __d('content', 'You are about to delete: "{0}". Are you sure ?', $revision->data->title),

LeLuyen avatar Mar 29 '18 07:03 LeLuyen

I'll try to reproduce this issue. However, I don't see how having two "ListFields" produces a "Trying to get property of non-object in".

quickapps avatar Mar 29 '18 21:03 quickapps

Hi Chris,You can try with special character list and make value is same label value.Thanks & Best regards,On Mar 30, 2018 4:18 AM, QuickApps [email protected] wrote:I'll try to reproduce this issue. However, I don't see how having two "ListFields" produces a "Trying to get property of non-object in".

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

LeLuyen avatar Mar 29 '18 22:03 LeLuyen

I was totally unable to reproduce this issue.

screen shot 2018-04-05 at 15 35 23

botchris avatar Apr 05 '18 13:04 botchris

Hi Chris,

Here my design

p_availability | List p_capacity | List p_co | List p_code | Text p_condition | List p_description | Text p_images | Image p_maintain | Text p_model | Text p_price | Text p_promotion_description | Text p_sale_price | Text p_short_desctiption | Text p_term_binh_nong_lanh | Term Reference p_term_den_suoi | Term Reference p_term_dieu_hoa_am_tran | Term Reference p_term_dieu_hoa_ap_tran | Term Reference p_term_dieu_hoa_multi | Term Reference p_term_dieu_hoa_nhiet_do | Term Reference p_term_dieu_hoa_tu_dung | Term Reference p_term_do_gia_dung | Term Reference p_term_may_giat | Term Reference p_term_may_loc_nuoc | Term Reference p_term_phu_kien | Term Reference p_term_quat | Term Reference p_term_tu_dong_tu_mat | Term Reference p_types | List

Very weird it can't save history after edit (the create a new product is ok).

When i deleted all the fields are List, it works, i don't know why.

I'm trying with content type are the article and page is ok

LeLuyen avatar Apr 05 '18 14:04 LeLuyen