? ? Pending
Referenced as Related to: # 19283

User tests: Successful: Unsuccessful:

avatar stutteringp0et
stutteringp0et
8 Dec 2017

This adjustment allows complex field types (types with more than one input) to store and retrieve data.

I'll be submitting this on the 4.0-dev branch as well

Summary of Changes

Test value before save, if it's a multidimensional array, json encode it

Testing Instructions

Hard to say without installing a 3rd party custom field plugin

Expected result

it should be transparent

Actual result

transparent on my end

Documentation Changes Required

none

avatar stutteringp0et stutteringp0et - open - 8 Dec 2017
avatar stutteringp0et stutteringp0et - change - 8 Dec 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Dec 2017
Category Front End Plugins
avatar mbabker
mbabker - comment - 8 Dec 2017

I'll be submitting this on the 4.0-dev branch as well

No need, we're still branch merging things up so anything going into 3.x eventually lands on 4.0.

avatar stutteringp0et stutteringp0et - change - 8 Dec 2017
Labels Added: ?
avatar stutteringp0et stutteringp0et - change - 10 Dec 2017
The description was changed
avatar stutteringp0et stutteringp0et - edited - 10 Dec 2017
avatar stutteringp0et
stutteringp0et - comment - 10 Dec 2017

Anyone wanting to test this - I have made a field plugin that creates a multi-dimensional value, but I would rather not post it publicly.

avatar Joomill
Joomill - comment - 11 Dec 2017

Hi stutteringp0et,

I would like to test it, but can you give me the testing-instructions


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

avatar stutteringp0et
stutteringp0et - comment - 11 Dec 2017

@Joomill - I'll send you a message through the email address on your website. I haven't released the custom plugin and I'd like to keep it under wraps until I can release it. I had a look at your site and extensions, so I think you'll understand why.

edit - email sent

avatar Joomill Joomill - test_item - 11 Dec 2017 - Tested successfully
avatar Joomill
Joomill - comment - 11 Dec 2017

I have tested this item successfully on 13533fb

Subform is saved as: {"subform0":{"example_text":"value","example_textarea"...


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

avatar stutteringp0et
stutteringp0et - comment - 11 Dec 2017

Thanks for taking the time @Joomill

avatar stutteringp0et stutteringp0et - change - 14 Dec 2017
Title
Minor adjustment to field value
[com_fields] Encode complex values to JSON
avatar stutteringp0et stutteringp0et - edited - 14 Dec 2017
avatar Quy Quy - test_item - 18 Dec 2017 - Tested successfully
avatar Quy
Quy - comment - 18 Dec 2017

I have tested this item successfully on 13533fb


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

avatar Quy Quy - change - 18 Dec 2017
Status Pending Ready to Commit
avatar Quy
Quy - comment - 18 Dec 2017

Ready to Commit after two successful tests.

avatar stutteringp0et
stutteringp0et - comment - 19 Dec 2017

Yay!

avatar mbabker mbabker - change - 21 Dec 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-12-21 00:10:27
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 21 Dec 2017
avatar mbabker mbabker - merge - 21 Dec 2017

Add a Comment

Login with GitHub to post a comment