Joomla-cms: com_fields value saving to db but then not being retrievable

Created on 27 Mar 2017  路  18Comments  路  Source: joomla/joomla-cms

Steps to reproduce the issue

Install joomla-cms/staging@1c52ed38516f2406fe63dbb762242ae3b82cfcb2

Create imagelist custom field, only completing the required fields such as:

screen shot 2017-03-27 at 15 06 26

Go to front end and edit article to see the dropdown, select an image and click save
or
Go to back end and edit article to see the dropdown, select an image and click save

Expected result

The selected value of the dropdown is saved.

Actual result

The selected value of the dropdown is NOT saved.

see: http://screenshot.myjoomla.io/2M2d1S0C3t15

System information (as much as possible)

https://gist.github.com/PhilETaylor/b1ff259a06518f903339950ca81e35d7

No Code Attached Yet

Most helpful comment

No you are still an idiot

All 18 comments

Couldnt get your recording to load :(

Can not confirm on the admin see
phil2

And cannot confirm on frontend either

phil3

Thats because you are superman and every one else is just an idiot.

Infact at the current git revision NONE OF THE CUSTOM FIELDS SAVE!!!

Full video: https://www.youtube.com/watch?v=FveVUozZMPc

This video shows me installing from github from d7caa77133e8936574fa32f55690b95d0a2d55fc revision and results in NO fields being saved

I can't confirm the issue


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14932.

Changed title to be

com_fields value saving to db but then not being retrievable

Im still testing but I think this commit broke it 1c52ed38516f2406fe63dbb762242ae3b82cfcb2 which is from PR #14558

@AlexRed Can you confirm your PHP version and the EXACT COMMIT that you are testing against?

Probably #14558

i can confirm this on current staging (nightly wont show it as #14558 was merged today)

Probably #14558

Like I said...

This is why testing should be done on the very latest code available - not nightly....

So Im not an idiot after all.....

No you are still an idiot

I confirm that a Text custom field duely filled in admin does not display in frontend

Also my test in nightly.

@infograf768 I confirm that a Text custom field duely filled in admin does not display in frontend

or backend you will find

@AlexRed Also my test in nightly.

Thanks - thats what I guessed.

@brianteeman No you are still an idiot

Personal attacks (should) not be tolerated by the Joomla project. Even in jest (if such). Being an active contributor doesn't give you a right to issue personal attacks. Even those in power can be removed... repeatedly.

What You Give Is What You Get

In my test, the custom fields data is not being saved. Checked the code and found typo. I made the PR https://github.com/joomla/joomla-cms/pull/14941 which should solve this issue.

Fixed by #14941

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Shazrina1994 picture Shazrina1994  路  4Comments

alex7r picture alex7r  路  4Comments

brianteeman picture brianteeman  路  6Comments

chmst picture chmst  路  5Comments

mbabker picture mbabker  路  4Comments