Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListField error! #188

Open
LeLuyen opened this issue Mar 29, 2018 · 5 comments
Open

ListField error! #188

LeLuyen opened this issue Mar 29, 2018 · 5 comments
Labels

Comments

@LeLuyen
Copy link

LeLuyen commented Mar 29, 2018

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
Copy link
Author

LeLuyen commented Mar 29, 2018

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),

@quickapps quickapps added the Hold label Mar 29, 2018
@quickapps
Copy link
Owner

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".

@LeLuyen
Copy link
Author

LeLuyen commented Mar 29, 2018 via email

@botchris
Copy link
Collaborator

botchris commented Apr 5, 2018

I was totally unable to reproduce this issue.

screen shot 2018-04-05 at 15 35 23

@LeLuyen
Copy link
Author

LeLuyen commented Apr 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants