#silverstripe IRC Log

IRC log for 2 February 2017

All timestamps are in UTC.

1: [00:00:13] <DanaeNZ> also it's invoicing time so we're doing lots of little last minute things
2: [00:01:04] <spronk> ooh
3: [00:01:07] <spronk> fun
4: [00:02:55] * sam__ quit (Quit: Page closed)
5: [00:04:35] * micmania1 has joined #silverstripe
6: [00:50:58] * keksters has joined #silverstripe
7: [01:12:00] <spronk> do you guys use gitlab DanaeNZ ?>
8: [01:14:27] <DanaeNZ> yep
9: [01:14:40] <DanaeNZ> free private repos
10: [01:14:55] <DanaeNZ> also don't have to fuck around managing an inhouse gitlab server
11: [01:14:58] <spronk> mm
12: [01:14:59] <spronk> nice
13: [01:15:11] <DanaeNZ> tis indeed
14: [01:35:02] <spronk> well
15: [01:35:10] <spronk> except for the fact that their ops team appears incompetent.. but hey
16: [01:35:27] <spronk> possibly being a bit harsh
17: [01:39:54] <keksters> Hrm, I'm trying to use the userforms module on my site but I keep getting an error saying Class 'GridFieldEditableColumns' not found in ../UserFormFieldEditorExtension.php
18: [01:40:19] <keksters> I've searched the issue and found one saying to add the gridfieldextensions module but this hasn't resolved the issue =(
19: [01:41:46] * kerozene quit (Ping timeout: 264 seconds)
20: [01:41:52] <keksters> The userforms module only lists Silverstripe as a requirement and no dependencies so I'm a bit confused
21: [01:42:33] <keksters> I'm just trying to work around the fact that CompositeField appears to have changed between 3.0.x and 3.5
22: [01:42:47] <keksters> And well, I guess make the flow of submitting forms waaay less manual
23: [01:44:06] <spronk> guh swiftmailer
24: [01:44:25] <spronk> ->getFrom() returns either [ email => '' ] or [ email => name ]. Yuuuuck
25: [01:46:34] <keksters> Anyone run into this issue?
26: [01:47:39] * kerozene has joined #silverstripe
27: [01:52:34] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
28: [02:07:32] * UncleCheese has joined #silverstripe
29: [02:11:33] <keksters> Alternatively does anyone know where to see examples of CompositeField use?
30: [02:40:21] * BackEndCoder quit (Excess Flood)
31: [02:42:13] * BackEndCoder has joined #silverstripe
32: [03:17:28] * spronk quit (Quit: I may need a longer sleep timer...)
33: [03:25:30] <helenclarko> Hey all o/
34: [03:28:14] * keksters quit (Ping timeout: 260 seconds)
35: [03:34:48] * janneklouman-- has joined #silverstripe
36: [03:35:07] <helenclarko> anyone online played with the Restful API addon?
37: [03:39:34] * janneklouman-- quit (Ping timeout: 256 seconds)
38: [03:54:58] * micmania1 quit (Quit: micmania1)
39: [03:59:55] * micmania1 has joined #silverstripe
40: [04:20:56] * Azure quit (Ping timeout: 258 seconds)
41: [04:36:08] * wmk has joined #silverstripe
42: [04:55:38] * DanaeNZ quit (Remote host closed the connection)
43: [04:56:15] * DanaeNZ has joined #silverstripe
44: [04:56:32] * Robin has joined #silverstripe
45: [05:00:49] * DanaeNZ quit (Ping timeout: 255 seconds)
46: [05:02:49] * Robin_ has joined #silverstripe
47: [05:03:19] * Robin quit (Ping timeout: 260 seconds)
48: [05:06:05] <Robin_> I have a cms field that stores it's data as a comma separated list, how can I query it? In MySql I would use FIND_IN_SET('a',my_field) or name like "%b%", this is the query I'm looking to append.
49: [05:06:12] * micmania1 quit (Quit: micmania1)
50: [05:17:22] * helenclarko quit (Ping timeout: 245 seconds)
51: [05:20:37] <wmk> Robin_, ->where(sql here) might be your friend, see api docs. But normalising your DB sounds even better
52: [05:40:04] <Robin_> Thanks wmk I'll take a look
53: [05:40:38] * wmk quit (Read error: Connection reset by peer)
54: [05:47:05] * Robin_ quit (Ping timeout: 260 seconds)
55: [06:12:22] * ss-helper quit (Ping timeout: 264 seconds)
56: [06:13:00] * xyphoid quit (Ping timeout: 264 seconds)
57: [06:13:01] * ss23 quit (Ping timeout: 264 seconds)
58: [06:14:33] * xyphoid has joined #silverstripe
59: [06:19:39] * ss23 has joined #silverstripe
60: [06:22:36] * ss-helper has joined #silverstripe
61: [06:51:38] * UncleCheese quit (Ping timeout: 252 seconds)
62: [07:18:36] * wmk has joined #silverstripe
63: [07:33:04] * Eliseth has joined #silverstripe
64: [08:53:31] * kinglozzer has joined #silverstripe
65: [08:57:33] * DanaeNZ has joined #silverstripe
66: [08:58:37] * FrozenFire quit (Ping timeout: 256 seconds)
67: [09:02:48] * DanaeNZ quit (Ping timeout: 255 seconds)
68: [09:05:05] * filisko has joined #silverstripe
69: [09:08:13] * samsamek has joined #silverstripe
70: [09:08:18] * janneklouman-- has joined #silverstripe
71: [09:19:31] * janneklouman-- quit (Read error: Connection reset by peer)
72: [09:23:01] * janneklouman-- has joined #silverstripe
73: [09:53:30] * FrozenFire has joined #silverstripe
74: [09:53:46] * agent44 has joined #silverstripe
75: [10:45:15] <ss-helper> handleRequest() called twice in same request, $Action is different - http://stackoverflow.com/questions/41999882/handlerequest-called-twice-in-same-request-action-is-different
76: [10:48:29] * newgeek has joined #silverstripe
77: [10:48:30] <ss-helper> newgeek: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
78: [10:49:28] <newgeek> I am using CountryDropdownField for registering user on ss site, is there any StateDropdownField for ss3
79: [10:49:52] <newgeek> I need to populate state field with similar states selected in countrydropdownfield
80: [10:55:58] * UncleCheese has joined #silverstripe
81: [10:59:22] * DanaeNZ has joined #silverstripe
82: [11:00:09] * UncleCheese quit (Ping timeout: 240 seconds)
83: [11:03:35] * DanaeNZ quit (Ping timeout: 240 seconds)
84: [11:13:00] * deschebbs has joined #silverstripe
85: [11:21:54] * BackEndCoder quit (Excess Flood)
86: [11:23:46] * BackEndCoder has joined #silverstripe
87: [11:27:54] * Mike123 has joined #silverstripe
88: [11:28:12] <Mike123> Hey guys
89: [11:29:06] <Mike123> does anybody know, why isChanged() always return true ? and i dont change the value that i'm checking
90: [11:32:24] <cloph_away> do you cache the result of the isChanged then? :-)
91: [11:34:06] <Mike123> no
92: [11:35:39] <Mike123> but i do check it in onBeforeWrite, is it ok ?
93: [11:40:08] <wmk> !debug Mike123
94: [11:40:08] <ss-helper> Mike123: Maybe it's time to start xdebug and see whats going on... check out http://docs.silverstripe.org/en/developer_guides/debugging/ and http://xdebug.org/docs/
95: [11:41:15] <wmk> Mike, is it a Field?
96: [11:42:15] <wmk> db field...
97: [11:43:46] <Mike123> wmk, yes, it's float type field
98: [11:47:03] <wmk> onbeforewrite magic maybe?
99: [11:48:00] * spronk has joined #silverstripe
100: [11:49:15] <Mike123> but it is used in ss-shop module also onBeforeWrite() and it works fine
101: [11:52:00] <wmk> hard to guess from over here. xdebug is your friend Mike123
102: [12:15:19] <samsamek> wmk: is a proponent of xdebug
103: [12:15:28] <samsamek> fan*
104: [12:15:30] <samsamek> preacher*
105: [12:15:44] <wmk> samsamek, how did you know?
106: [12:15:47] <samsamek> :D
107: [12:15:56] <wmk> debugging evangelist
108: [12:15:59] <wmk> *G*
109: [12:16:03] <samsamek> :’D
110: [12:16:18] <samsamek> can I be honest with you? I’m actually not that great fan of xdebug
111: [12:16:22] <wmk> why?
112: [12:16:42] <samsamek> well okay, I did just a few runs to check it out, it’s not fair to judge it yet
113: [12:17:01] <wmk> did you ever use a step debugger with another programming language?
114: [12:17:41] <samsamek> I’ve seen ReSharper IDE in action for C3
115: [12:17:43] <samsamek> c#*
116: [12:17:48] <wmk> samsamek, https://speakerdeck.com/wernerkrauss/debug-silverstripe-like-a-pro
117: [12:17:53] <wmk> seen !== used
118: [12:17:56] <samsamek> I’ve bookmarked that link
119: [12:18:08] <samsamek> I watched it only halfway :$
120: [12:18:35] <wmk> well - it's a bit tricky to set up the first time. When i learned pascal in school (tm) we had an ide with with debugger built in. Easy to use and so valuable
121: [12:19:46] <wmk> with php's architecture it's a bit more tricky. With a reusable setup like vagrant it's a bit easier
122: [12:42:44] * samsamek quit (Quit: samsamek)
123: [12:47:28] * wmk quit (Ping timeout: 255 seconds)
124: [12:48:31] * DimiStripe has joined #silverstripe
125: [12:52:20] * Mike123 quit (Ping timeout: 260 seconds)
126: [13:02:11] * DanaeNZ_ has joined #silverstripe
127: [13:03:33] * janneklouman-- quit (Read error: No route to host)
128: [13:06:50] * DanaeNZ_ quit (Ping timeout: 258 seconds)
129: [13:08:39] * janneklouman-- has joined #silverstripe
130: [13:10:45] * DarjusIT has joined #silverstripe
131: [13:17:14] * wmk has joined #silverstripe
132: [13:21:58] * UndefinedOffset has joined #silverstripe
133: [13:44:21] * BackEndCoder quit (Excess Flood)
134: [13:46:47] * BackEndCoder has joined #silverstripe
135: [14:02:12] * DimiStripe quit (Quit: DimiStripe)
136: [14:04:17] * janneklouman-- quit (Ping timeout: 255 seconds)
137: [14:12:35] * wmk quit (Ping timeout: 240 seconds)
138: [14:17:58] * janneklouman-- has joined #silverstripe
139: [14:20:50] * samsamek has joined #silverstripe
140: [14:45:22] * janneklouman-- quit (Ping timeout: 264 seconds)
141: [14:51:00] * wmk has joined #silverstripe
142: [14:55:24] * spronk quit (Quit: I may need a longer sleep timer...)
143: [15:03:36] * DanaeNZ has joined #silverstripe
144: [15:06:48] * samsamek quit (Quit: samsamek)
145: [15:06:54] * DarjusIT quit (Quit: Leaving)
146: [15:07:58] * DanaeNZ quit (Ping timeout: 258 seconds)
147: [16:00:57] * samsamek has joined #silverstripe
148: [16:29:22] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
149: [16:30:22] <ss-helper> SilverStripe / GridfieldExtensions inline editing dropdownfield values - http://stackoverflow.com/questions/42007183/silverstripe-gridfieldextensions-inline-editing-dropdownfield-values
150: [16:37:44] * samsamek quit (Ping timeout: 255 seconds)
151: [16:38:48] * samsamek has joined #silverstripe
152: [16:58:04] * samsamek quit (Quit: samsamek)
153: [17:04:08] * DanaeNZ has joined #silverstripe
154: [17:04:36] * DimiStripe has joined #silverstripe
155: [17:08:42] * DanaeNZ quit (Ping timeout: 258 seconds)
156: [17:34:51] * kinglozzer quit ()
157: [17:44:49] * amistupidorsomet has joined #silverstripe
158: [17:44:50] <ss-helper> amistupidorsomet: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
159: [17:45:32] <amistupidorsomet> Hey UndefinedOffset, you're pretty knowledgeable about UserForms
160: [17:46:06] <amistupidorsomet> Why am I getting an error saying the method 'fields' either doesn't exist or isnt public on UserDefinedForm_Controller
161: [17:46:20] <amistupidorsomet> It both exists and is public, obviously lol
162: [17:49:49] <UndefinedOffset> amistupidorsomet: hmm that is very odd, no customizations to it?
163: [17:50:17] <amistupidorsomet> fresh install of everything
164: [17:52:03] <UndefinedOffset> only thing i can think of is that maybe for some reason the UserFormFieldEditorExtension isn't being added to the UserDefinedForm class
165: [17:53:53] <UndefinedOffset> also if you're using 3.x make sure you do not use master of userforms I believe they've started making it 4.x compatible. Instead make sure you use a branch compatible with your SS release
166: [17:54:11] <UndefinedOffset> branch or stable release of userforms*
167: [17:54:30] <amistupidorsomet> stable?
168: [17:54:37] <amistupidorsomet> Let me clear out all my stuff and do it again
169: [17:56:49] <UndefinedOffset> https://github.com/silverstripe/silverstripe-userforms/releases
170: [18:09:22] * agent44 quit (Quit: zzz)
171: [18:09:48] * gelignite has joined #silverstripe
172: [18:10:05] * agent44 has joined #silverstripe
173: [18:10:24] * agent44 quit (Client Quit)
174: [18:11:06] <amistupidorsomet> Ok, let's see what happens, I just did a fresh install of 3.5.2 via composer.
175: [18:12:52] <amistupidorsomet> Same thing.
176: [18:13:01] <amistupidorsomet> This is really weird.
177: [18:13:21] <amistupidorsomet> [User Error] Uncaught Exception: Object->__call(): the method 'fields' does not exist on 'UserDefinedForm_Controller', or the method is not public.
178: [18:13:27] <UndefinedOffset> very weird, what version of user forms are you using? also the obvious question you did run dev/build?flush=1
179: [18:13:42] <amistupidorsomet> did the build and refresh, and I just did 4.1.0
180: [18:14:08] <UndefinedOffset> super weird, could try opening an issue on github see what they say could be a bug
181: [18:22:13] * deschebbs quit (Quit: Konversation terminated!)
182: [18:36:30] * newgeek quit (Ping timeout: 260 seconds)
183: [20:32:08] * micmania1 has joined #silverstripe
184: [20:34:19] * janneklouman-- has joined #silverstripe
185: [20:39:09] * janneklouman-- quit (Ping timeout: 258 seconds)
186: [20:41:24] * Isaac_ has joined #silverstripe
187: [20:41:49] <Isaac_> hey guys, has anyone attempted to plug graph databases (https://neo4j.com) with silverstripe?
188: [20:44:01] * DanaeNZ has joined #silverstripe
189: [20:44:13] <Isaac_> yo danae you know stuff
190: [20:44:31] <Isaac_> have you guys at silverstripe plugged graph databases into silverstripe before? https://neo4j.com
191: [20:54:18] <amistupidorsomet> hey, UndefinedOffset, I am in fact very stupid.
192: [20:54:28] <amistupidorsomet> I neglected to do a flush
193: [20:54:32] <wmk> socratic...
194: [20:57:07] <DanaeNZ> Hi
195: [20:57:32] <DanaeNZ> Isaac_: welp I don't work at silverstripe lel
196: [20:57:34] <DanaeNZ> but
197: [20:57:41] <DanaeNZ> also I haven't plugged graphs in before
198: [20:57:44] <DanaeNZ> Sorry
199: [20:57:44] <DanaeNZ> haha
200: [20:57:53] <Isaac_> all good
201: [20:57:58] <Isaac_> looks like theres a php wrapper for it
202: [20:58:15] <DanaeNZ> Hey, does anyone know what the config setting is to force Images to resample?
203: [20:58:33] <DanaeNZ> If you upload one at the same dimension as the Fill or whatever it doesn't resample
204: [20:58:47] <DanaeNZ> You can upload a 1MB image and it won't give a shit
205: [20:59:41] <DanaeNZ> ok it is Image: force_resample
206: [20:59:44] <DanaeNZ> that was obvious
207: [21:09:08] * UndefinedOffset quit (Quit: Leaving.)
208: [21:10:48] * micmania1 quit (Quit: micmania1)
209: [21:12:09] * micmania1 has joined #silverstripe
210: [21:14:16] <wmk> DanaeNZ, that was huge, it's true
211: [21:15:07] <wmk> http://www.everysecondcounts.eu/
212: [21:17:29] <DanaeNZ> wmk: hah ai get it
213: [21:18:40] * Isaac_ quit (Ping timeout: 260 seconds)
214: [21:33:12] * UndefinedOffset has joined #silverstripe
215: [21:41:34] * samsamek has joined #silverstripe
216: [21:46:52] * UndefinedOffset quit (Quit: Leaving.)
217: [22:23:38] * filisko quit (Ping timeout: 240 seconds)
218: [22:29:58] * wmk quit (Read error: Connection reset by peer)
219: [22:55:47] * samsamek quit (Quit: samsamek)
220: [23:00:02] * ss-helper quit (Remote host closed the connection)
221: [23:00:14] * ss-helper has joined #silverstripe
222: [23:17:24] * Azure has joined #silverstripe
223: [23:31:11] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
224: [23:33:50] * micmania1 quit (Quit: micmania1)
225: [23:43:44] * samsamek has joined #silverstripe
226: [23:59:41] * samsamek quit (Quit: samsamek)

These logs were automatically created by ss-log on irc.freenode.net.