Posted by Amitaibu on August 1, 2012 at 7:57am
7 followers
| Project: | Chaos tool suite (ctools) |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Patch allows adding a dummy field settings.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| ctools-fields-mock-field.patch | 1.27 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 58 pass(es). | View details |
Comments
#1
OG is also going to use it, see screenshot of sub-widgets in #1730678: Provide a "complex" widget instead of "Primary" and "Secondary" fields.
#2
This patch only populates $field if $field_name is an array. That seems like it could lead to errors in other use cases.
#3
The reasons are:
What other solution do you prefer?
All i know is that atleast my current use case(s) for OG and OG-vocab, which creates "sub-widgets" is actually working really nicely thanks to how cool CTools and Field API are :)
#4
Re-read, and you are of course correct, ignore #3, patch coming soon :)
#5
#6
Hi guys, OG vocab 7.x-1.x is now using it as-well. Any chance getting this in soon, so testbot won't fail all my tests?
#7
How many mistakes can I make in 3 line patch :/
#8
Gentle bump :)
#9
tested #7 patch. didn't see anything wrong.
#10
reviewed code and can confirm it should do what it says and not harm previous code flow.
so ready to fly.
#11
rising prio as this blocks a stable release of og_vocab as of #6.
#12
Committed and pushed!
#13
Automatically closed -- issue fixed for 2 weeks with no activity.