#silverstripe IRC Log

IRC log for 18 February 2016

All timestamps are in UTC.

1: [00:02:22] * Stomach quit (Quit: zzz)
2: [00:06:41] <Hailwood> So, does $SomeDataObject->hasMethod('Abc') return true if we have relationship for Abc? or is there another method to check for that?
3: [00:10:22] <DanaeNZ> Hailwood: yeah I believe it does return true
4: [00:10:41] <DanaeNZ> But are you checking if there are objects in the relation or if there is a relation at all?
5: [00:11:43] <Hailwood> DanaeNZ, at this stage I simply want to know that if I call $this->{$key}() it's not gonna throw a fit
6: [00:12:04] <DanaeNZ> that should be all good then _v
7: [00:12:05] <DanaeNZ> b
8: [00:12:07] <DanaeNZ> fuck
9: [00:12:08] <DanaeNZ> _b
10: [00:12:41] <Hailwood> Another question, if I have a method "getSomeThing(){...}" do I $this->hasMethod('getSomeThing') or $this->hasMethod('SomeThing')? since SS handles a call to either..
11: [00:16:04] <DanaeNZ> use getSomeThing
12: [00:16:27] * Stomach has joined #silverstripe
13: [00:21:20] * darjusIT quit (Read error: Connection reset by peer)
14: [00:22:56] <Hailwood> DanaeNZ, hmm, must look into how summary_fields works then, e.g. if I have a getDescription(){} method I can get away with just putting 'Description' => 'Product Description' in my summary fields. Need to emulate that, I wonder if it just blindly calls the methods then?
15: [00:24:53] <DanaeNZ> Hailwood: There's a method somewhere
16: [00:24:58] <DanaeNZ> I think it's in Object
17: [00:25:09] <DanaeNZ> but there's also some when it gets summary_fields
18: [00:25:27] <DanaeNZ> it checks if it's a Method, and then also adds "get" to the front and checks again
19: [00:25:31] <DanaeNZ> I found it once
20: [00:25:50] * spronk quit (Quit: I may need a longer sleep timer...)
21: [00:28:16] * Scott17021 quit (Quit: This computer has gone to sleep)
22: [00:28:57] * spronk has joined #silverstripe
23: [00:45:03] <ss-helper> Adding Sort to Group Members - http://stackoverflow.com/questions/35470637/adding-sort-to-group-members
24: [00:57:14] * joelpittet quit ()
25: [01:04:20] <DanaeNZ> haaaaa php installed on server without zip enabled
26: [01:04:22] <DanaeNZ> noooo
27: [01:04:32] <DanaeNZ> i really need to get some vagrant up in this bitch seriously
28: [01:05:01] <Firesphere> What'ya need for Vagrant?
29: [01:05:46] <DanaeNZ> can php extensions be installed after the fact? fuck
30: [01:07:26] * camfindlay has joined #silverstripe
31: [01:09:04] <Firesphere> Sure you can install stuff after setting it up. Just module install thingy
32: [01:13:21] <DanaeNZ> one millions functions have been disabled for security reasones
33: [01:13:22] <DanaeNZ> yay
34: [01:20:56] * Scott17021 has joined #silverstripe
35: [01:24:02] * BrewNaked has joined #silverstripe
36: [01:39:22] * BrewNaked quit (Remote host closed the connection)
37: [01:43:36] <DanaeNZ> is it home time yet?
38: [01:43:42] <DanaeNZ> inb4 it's hometime somewhere
39: [01:43:46] <ss23> IT's home time whenever you're ready
40: [01:43:51] <ss23> If you don't mind getting FIRED :O
41: [01:44:23] <Blacklite> it may not be home time, but at least it's pretty much beer o'clock
42: [01:48:32] <helenclarko> DanaeNZ: IM READY!!!!!!
43: [01:48:38] <helenclarko> to go home.
44: [01:53:45] * spronk quit (Quit: I may need a longer sleep timer...)
45: [01:54:26] * spronk has joined #silverstripe
46: [01:59:05] * spronk was born readty
47: [02:01:34] <helenclarko> I was born ready to go home.
48: [02:03:43] <spronk> AYEEEEE
49: [02:29:36] * Scott17021 quit (Quit: This computer has gone to sleep)
50: [02:37:10] * Scott17021 has joined #silverstripe
51: [02:45:10] <ss-helper> Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/QgKPWtI2AQAJ
52: [03:00:10] <ss-helper> Re: [silverstripe-dev] Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/dLUdozs3AQAJ
53: [03:00:10] <ss-helper> Re: [silverstripe-dev] Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/wwtTLh03AQAJ
54: [03:00:30] * Phlunk3 quit (Quit: Leaving)
55: [03:02:04] * Scott17021 quit (Quit: This computer has gone to sleep)
56: [03:06:38] <DanaeNZ> I could probably just leave
57: [03:06:41] <DanaeNZ> haha
58: [03:06:57] <helenclarko> DanaeNZ: Not like you will get fired.
59: [03:07:12] <DanaeNZ> or
60: [03:07:13] <DanaeNZ> will i
61: [03:07:17] <helenclarko> I MADE THIS PLACE WHAT IT IS!
62: [03:07:19] <DanaeNZ> dundundun
63: [03:07:39] <helenclarko> "WITHOUT ME YOU HAVE NOTHING!"
64: [03:09:08] <helenclarko> Remind them where their place is. Directly under you and your throne of awesome!
65: [03:12:55] * Hailwood quit (Remote host closed the connection)
66: [03:26:17] * leomeloxp has joined #silverstripe
67: [03:26:58] * Hailwood has joined #silverstripe
68: [03:28:12] * BrewNaked has joined #silverstripe
69: [03:30:11] <ss-helper> Re: [silverstripe-dev] Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/Hh7aPE85AQAJ
70: [03:30:26] * helenclarko quit (Read error: Connection reset by peer)
71: [03:30:33] <DanaeNZ> thank god for alcohol
72: [03:30:38] <DanaeNZ> cider time
73: [03:32:43] * BrewNaked quit (Ping timeout: 250 seconds)
74: [03:33:43] * spronk quit (Quit: I may need a longer sleep timer...)
75: [03:34:22] <Hailwood> Hey guys, are abstract dataobjects valid? basically I have a ProductAttribute DataObject that isn't a complete object, they should always be extended, but the idea is that I can just say ProductVariant - has_one - ProductAttribute and not worry about the subclasses.
76: [03:34:47] <Hailwood> Of course since ProductAttribute isn't designed to be used directly it makes sense for it to be abstract, but I'm just wondering if SS will cry
77: [03:36:54] <camfindlay> Firesphere: hey, just planning next wellington SilverStripe meetup… want to do a talk? ;)
78: [03:51:47] <Firesphere> camfindlay: I can, I don't have anything interesting right now though. Need to think of something :)
79: [03:52:16] <camfindlay> Come up with a title and short abstract and I’ll book you! :P
80: [03:52:32] <camfindlay> 16th March is the date
81: [03:52:51] * Scott17021 has joined #silverstripe
82: [03:53:16] <Firesphere> I'll get back to you around beginning next week-ish, that ok?
83: [03:56:26] * priyashantha has joined #silverstripe
84: [03:56:26] <ss-helper> priyashantha: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
85: [03:59:39] <priyashantha> Hello
86: [03:59:40] * Firesphere quit (Ping timeout: 268 seconds)
87: [04:00:49] <priyashantha> Can anyone have a look on this issue https://github.com/silverstripe/silverstripe-framework/issues/5040#issuecomment-184398694 please?
88: [04:05:35] * Firesphere has joined #silverstripe
89: [04:05:41] <Firesphere> Jep, my RPi is broken :X
90: [04:11:57] <Firesphere> That kinda sucks. Now I need to get me a new one, another 20 euro :(
91: [04:19:23] * DanaeNZ quit (Quit: TIME TO FEED)
92: [04:36:35] <camfindlay> Firesphere: there was a few Rpi’s around silverstripe hq, ask Ingo
93: [04:37:04] <Firesphere> No, it's my RPi in the serverrack in the Netherlands. It's been crashing a lot lately, so I guess it's card needs replacement ;)
94: [04:37:14] <Firesphere> But for at home, a new Pi would be nice too :)
95: [04:43:45] * Tanger has joined #silverstripe
96: [04:45:13] <ss-helper> Re: [silverstripe-dev] Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/LkOrRhI9AQAJ
97: [04:48:19] * camfindlay quit (Quit: camfindlay)
98: [04:52:36] * MichalKleiner quit ()
99: [04:53:59] * Stomach quit (Ping timeout: 240 seconds)
100: [05:02:57] * MichalKleiner has joined #silverstripe
101: [05:15:15] <ss-helper> Re: Laravel style config system? - https://groups.google.com/d/msg/silverstripe-dev/wTIpjSeXIVE/T4RIZcU-AQAJ
102: [05:16:43] * Firesphere quit (Ping timeout: 250 seconds)
103: [05:17:26] * BrewNaked has joined #silverstripe
104: [05:21:33] * BrewNaked quit (Ping timeout: 240 seconds)
105: [05:24:37] * Scott17021 quit (Quit: This computer has gone to sleep)
106: [05:24:52] * Stomach has joined #silverstripe
107: [05:25:23] * Kingy[a] quit (Ping timeout: 248 seconds)
108: [05:26:06] * Scott17021 has joined #silverstripe
109: [05:27:21] * Scott17021 quit (Client Quit)
110: [05:29:01] * Kingy[a] has joined #silverstripe
111: [05:41:40] <Hailwood> Hey, does anyone here have an issue where ya end up running "composer require" from say the level above your httpdocs directory?
112: [05:46:19] * Kingy[a] quit (Ping timeout: 255 seconds)
113: [05:46:32] * Kingy[a] has joined #silverstripe
114: [05:59:30] * Hailwood quit (Remote host closed the connection)
115: [06:00:16] <ss-helper> Re: Lightweight Alternative Search Solutions for SilverStripe? - https://groups.google.com/d/msg/silverstripe-dev/GFEK8c9y7ag/YKmoZp9BAQAJ
116: [06:01:48] * priyashantha quit (Ping timeout: 252 seconds)
117: [06:29:51] * Shrike_Finland has joined #silverstripe
118: [06:34:58] * Stomach quit (Quit: zzz)
119: [06:46:45] <nontgor> is it possible to use GridField with the results from an SQL Query?
120: [07:06:04] * BrewNaked has joined #silverstripe
121: [07:10:46] * BrewNaked quit (Ping timeout: 265 seconds)
122: [07:15:45] * Mike123 has joined #silverstripe
123: [07:25:57] * TRB143 quit (Remote host closed the connection)
124: [07:28:59] * TRB143 has joined #silverstripe
125: [07:32:21] * lerni has joined #silverstripe
126: [07:40:43] * wmk has joined #silverstripe
127: [07:45:19] <ss-helper> Re: [silverstripe-dev] Re: Lightweight Alternative Search Solutions for SilverStripe? - https://groups.google.com/d/msg/silverstripe-dev/GFEK8c9y7ag/qrRi7yJHAQAJ
128: [07:51:58] * spronka has joined #silverstripe
129: [08:17:54] * arnhoe has joined #silverstripe
130: [08:22:25] * Stomach has joined #silverstripe
131: [08:38:46] * Mike123_ has joined #silverstripe
132: [08:41:18] * Mike123 quit (Ping timeout: 252 seconds)
133: [08:43:08] * Mike123_ quit (Ping timeout: 252 seconds)
134: [08:47:53] * jand has joined #silverstripe
135: [08:51:51] * Firesphere has joined #silverstripe
136: [08:52:06] <Firesphere> Hello world. Blargh, stupid ZNC crashing.
137: [08:55:09] * BrewNaked has joined #silverstripe
138: [08:59:28] * BrewNaked quit (Ping timeout: 250 seconds)
139: [09:02:49] <wmk> hey Firesphere
140: [09:04:45] <Firesphere> Hey wmk
141: [09:06:29] <wmk> ZNC?
142: [09:08:32] <jand> hi, for new project's testing I want to use the site tree importer module. However, the import format is YML with JSON components. Any hints how to author the content in Excel and convert to YML then?
143: [09:09:05] <wmk> use a csv importer instead?
144: [09:09:06] <Firesphere> Bouncer thingy.
145: [09:11:44] <jand> Is there a csv importer silverstripe module that can generate a sitetree?
146: [09:12:10] <wmk> well, csv and tree is a bit difficult
147: [09:12:28] <wmk> yml is also a tree, csv is pretty flat
148: [09:12:35] <wmk> but there should be some importers
149: [09:13:23] <jand> exactly :( I found some converters CSV -> YML. But the JSON part is hard. The module allows:
150: [09:13:27] <jand> Home About {"URLSegment": "about-us", "MetaDescription": "About our company"} Contact {"URLSegment": "contact-us"}
151: [09:14:25] <nontgor> jand: JSON to YAML should be straightforward to convert using likes of Ruby
152: [09:18:58] * elgabbu has joined #silverstripe
153: [09:19:48] <jand> ok, thanks
154: [09:27:55] <Firesphere> Blargh.
155: [09:34:54] <Firesphere> Can someone turn off the wind?
156: [09:37:57] * Firesphere_ has joined #silverstripe
157: [09:38:58] <wmk> jand, yml IS json
158: [09:38:59] * Firesphere quit (Ping timeout: 240 seconds)
159: [09:39:07] * Firesphere_ is now known as Firesphere
160: [09:39:23] <wmk> or vice versa?
161: [09:43:20] <nontgor> wmk: YML superior as it can have comments ;)
162: [09:43:48] <wmk> of course
163: [09:43:56] * Tanger quit (Quit: Tanger)
164: [09:43:59] <wmk> but jand this json syntax can be written in yml
165: [09:44:03] <wmk> so
166: [09:44:11] <wmk> Foo: {bar: 'baz'}
167: [09:44:13] <wmk> is the same like
168: [09:44:15] <wmk> Foo:
169: [09:44:24] <wmk> bar: baz
170: [09:47:38] * Stomach quit (Quit: zzz)
171: [09:56:15] <jand> yes, but it is the fastest thing to write the content in Excel. And this cannot export yml / json
172: [10:00:00] <nontgor> jand: How would you represent the data in Excel?
173: [10:00:13] <ss-helper> how to compare two rows in a table in silverstripe - http://stackoverflow.com/questions/35478010/how-to-compare-two-rows-in-a-table-in-silverstripe
174: [10:00:24] <nontgor> jand: Have a blank cell on a row for indentation?
175: [10:11:06] <Firesphere> That actually sounds terrible :X
176: [10:11:21] <Firesphere> Export to XML and convert the XML I guess? (for excel to json)
177: [10:14:34] * xyphoid quit (Ping timeout: 240 seconds)
178: [10:15:01] <nontgor> work in progress, detecting spammy users, with respect to comments http://imgur.com/a/U4TnR
179: [10:16:10] <nontgor> second screen is scaffolding, perhaps some charts and a 'THIS USER IS A SPAMMER' required
180: [10:16:30] <nontgor> and then finally do the actually bulk deletion, bulk spamming and blacklisting of a user
181: [10:23:58] * mento has joined #silverstripe
182: [10:25:41] <jand> nontgor: yes, using this empty cells is terrible but the fastest way to get a basic content setup ;)
183: [10:29:00] <jand> wmk: ah, I have to try this "json in yml" with the importer module. Would make things easier somehow.
184: [10:29:41] <wmk> jand, seems to be something module specific, not just yml
185: [10:37:54] * swaiba has joined #silverstripe
186: [10:43:47] * BrewNaked has joined #silverstripe
187: [10:48:16] * BrewNaked quit (Ping timeout: 265 seconds)
188: [10:50:29] * xyphoid has joined #silverstripe
189: [11:04:03] * xyphoid quit (Ping timeout: 248 seconds)
190: [11:06:04] * Firesphere quit (Ping timeout: 240 seconds)
191: [11:15:29] <ss-helper> Re: Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/x-0hYBRSAQAJ
192: [11:18:23] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
193: [11:21:17] * xyphoid has joined #silverstripe
194: [11:29:21] * xyphoid quit (Ping timeout: 244 seconds)
195: [11:40:47] * xyphoid has joined #silverstripe
196: [11:40:48] * BetterBert has joined #silverstripe
197: [11:44:23] * BetterBert quit (Client Quit)
198: [11:49:15] * ss32noob has joined #silverstripe
199: [11:50:35] * DimiStripe has joined #silverstripe
200: [11:50:37] <ss32noob> hi guys.. have a question.. if i have NewsPage pagetype and i have an option in the admin on which template to render.. NewsPage.ss and NewsPageA.ss how can i render NewsPageA.ss when the user choose it? because technically it will get the NewsPage right? ive tried the renderWith inside the init() but doesnt seem to work
201: [11:50:43] <ss32noob> anyone have any idea about this?
202: [12:11:41] * lerni quit (Remote host closed the connection)
203: [12:17:24] * lerni has joined #silverstripe
204: [12:32:53] * BrewNaked has joined #silverstripe
205: [12:33:14] <wmk> ss32noob, public fuction index() { return $this->renderWith($template);}
206: [12:34:20] * lerni quit (Remote host closed the connection)
207: [12:35:01] * wmk quit (Quit: nice to meet you ;))
208: [12:35:39] * lerni has joined #silverstripe
209: [12:35:49] * lerni quit (Remote host closed the connection)
210: [12:36:15] * lerni has joined #silverstripe
211: [12:37:23] * BrewNaked quit (Ping timeout: 248 seconds)
212: [12:38:10] * mento quit (Ping timeout: 252 seconds)
213: [12:39:38] * _n8 quit (Ping timeout: 252 seconds)
214: [12:40:46] * lerni quit (Ping timeout: 255 seconds)
215: [13:20:07] * Audlex has joined #silverstripe
216: [13:26:36] * lerni has joined #silverstripe
217: [13:26:54] * UndefinedOffset has joined #silverstripe
218: [13:27:30] * lerni quit (Remote host closed the connection)
219: [13:27:36] * lerni has joined #silverstripe
220: [13:36:12] <elgabbu> hin since moving to 3.3rc1 when calling sql() on a datalist the query shows ? instead of the actual value .... any other way to see the actually query that will be executed?
221: [13:49:40] * ss32noob quit (Ping timeout: 252 seconds)
222: [13:50:08] * Shrike_Finland quit (Quit: Leaving.)
223: [13:59:16] <UndefinedOffset> elgabbu joys of the parameterized queries introduced in 3.2, there was a change merged into master i think to make ?showqueries=1 show the parameters. I've been able to back-port that to 3.2 with success https://github.com/silverstripe/silverstripe-framework/commit/ee639deedbc3330ea419ee20a6bcd6a04e576bd2
224: [13:59:56] <UndefinedOffset> sadly its only in master it didn't get merged into 3.3
225: [14:21:34] * BrewNaked has joined #silverstripe
226: [14:26:11] * BrewNaked quit (Ping timeout: 250 seconds)
227: [14:29:25] * cloph_away is now known as cloph
228: [14:34:48] <elgabbu> what a pity thanks for checking
229: [15:12:25] * Shrike_Finland has joined #silverstripe
230: [15:21:48] * r3v3rb has joined #silverstripe
231: [15:21:59] <r3v3rb> hi, is this even possible in a template? <% with $Children.Sort("RAND()").Limit(1) %>
232: [15:22:42] <r3v3rb> or am I hallucinating
233: [15:31:04] <swaiba> r3v3rb - I'd say it looks right - but only if you drop the double quotes
234: [15:31:30] <swaiba> or maybe singel quotes - sorry
235: [15:31:40] <swaiba> <% loop $Children.Filter('School', 'College').Sort(Score, DESC) %>
236: [15:31:45] <swaiba> from https://docs.silverstripe.org/en/3.2/developer_guides/templates/syntax/
237: [15:32:05] <r3v3rb> hmm, tried that get no output. if I use <% with $Children.First %> that produces output but I need a random item from the possible set
238: [15:32:05] <swaiba> it might get confused with the () in the "param"
239: [15:32:25] <swaiba> sometimes, you just have to use the controller...
240: [15:32:35] <r3v3rb> swaiba: I know I know!
241: [15:33:00] <r3v3rb> it’s looking that way
242: [15:33:47] <r3v3rb> interestingly : ORDER BY "RAND" ASC LIMIT 1 Unknown column 'RAND' in 'field list'
243: [15:33:49] <r3v3rb> ta da!
244: [15:33:58] <r3v3rb> so its a big fat no then!
245: [15:34:35] <swaiba> can anyone 'elp with this...
246: [15:35:08] <swaiba> $searchable_fields ... HasManyRel.ManyManyRel.SomeField
247: [15:35:15] <swaiba> and I get
248: [15:35:16] <swaiba> [User Error] Uncaught LogicException: relation can't be called on an UnsavedRelationList.
249: [15:35:16] <r3v3rb> nice!
250: [15:35:39] <r3v3rb> I had all sorts of issues with searchable fields yesterday :/
251: [15:35:48] <swaiba> I was sure this works out of the box... as in I'm trying to filter the object by a "distant" and complex relationship
252: [15:36:05] <swaiba> any pointers ont eh above then r3v3rb ?
253: [15:36:11] <r3v3rb> heh, i was trying on the result of a function in the class!
254: [15:36:44] <r3v3rb> but it requires a field to scaffold from not the return value of a function as ’text’
255: [15:37:19] <r3v3rb> swaiba: i’m not sure SS can filter more than a single depth of relation
256: [15:37:30] <r3v3rb> in searchable_fields anyway
257: [15:38:42] <swaiba> Well it doesn't complain at the level of setting it... it's complaining that it might be unsaved...
258: [15:40:39] <r3v3rb> true
259: [15:40:59] <r3v3rb> maybe because no relations exist yet?
260: [15:41:15] <r3v3rb> who knows
261: [15:42:23] <swaiba> the relationships exist and there are many objects for it to search
262: [15:42:44] <swaiba> besides even if there was no data - this is a searchable fields scaffolding the fields - no even processing yet
263: [15:43:03] <swaiba> all the relating code in thecomments lists similar siatuations...
264: [15:43:05] <swaiba> eg: Parent.Child.Child.FieldName
265: [15:43:40] <r3v3rb> let me try this charity thing has a has_many->manyMany setup I can test for you
266: [15:44:02] <swaiba> r3v3rb much appreciated
267: [15:45:24] <r3v3rb> swaiba: same error ‘Unsaved Relation'
268: [15:45:27] <r3v3rb> :(
269: [15:45:35] <swaiba> you said it sad face
270: [15:45:39] <swaiba> anyone else?
271: [15:46:08] <r3v3rb> who’d have thought the modeladmin/ORM can’t handle a template type call
272: [15:46:45] <r3v3rb> I get: public function relation() {
273: [15:46:46] <r3v3rb> 391 throw new LogicException(__FUNCTION__ . " can't be called on an UnsavedRelationList.");
274: [15:46:47] <r3v3rb> 392 }
275: [15:47:03] <r3v3rb> in UnsavedRelationList
276: [15:47:20] * Shrike_Finland quit (Quit: Leaving.)
277: [15:48:37] <r3v3rb> happens if I try a hasmany.hasmany.field too so not just hasmany.manymany.filed
278: [15:48:40] <r3v3rb> field*
279: [15:59:37] * kinglozzer has joined #silverstripe
280: [16:00:20] <ss-helper> Disable a single link with rewrite_hash_links in silverstripe - http://stackoverflow.com/questions/35486204/disable-a-single-link-with-rewrite-hash-links-in-silverstripe
281: [16:00:27] <kinglozzer> 'lo all
282: [16:01:59] <r3v3rb> kinglozzer: \o/
283: [16:02:03] <r3v3rb> hurrah!
284: [16:02:43] <r3v3rb> swaiba: needs help - searchable_fields > hasmany.manymany.title = error unsaved relation
285: [16:03:11] <r3v3rb> happens with hasmany.hasmany.title and hasmany.hasmany or hasmany.manymany as well
286: [16:03:34] <r3v3rb> have you come across that ?
287: [16:05:21] <kinglozzer> Nope, haven't seen that before :/
288: [16:10:06] * jand quit (Ping timeout: 252 seconds)
289: [16:10:29] * BrewNaked has joined #silverstripe
290: [16:10:40] <swaiba> kinglozzer ban you confirm that it *should* work though?
291: [16:10:59] <swaiba> comments in the code seem to suggest its expected
292: [16:11:11] <swaiba> and that was "can" not "ban" :)
293: [16:15:04] * BrewNaked quit (Ping timeout: 244 seconds)
294: [16:22:23] <kinglozzer> swaiba: Not sure off the top of my head... where are you filtering? GridField, ModelAdmin?
295: [16:22:58] <swaiba> its the $searchable_fields of a DataObject with a plain ModelAdmin
296: [16:23:05] <swaiba> kinglozzer ^^
297: [16:23:28] <kinglozzer> And you get the error when you use the ModelAdmin search form? Or on load?
298: [16:30:06] * r_hector has joined #silverstripe
299: [16:30:45] <swaiba> on load kinglozzer
300: [16:30:51] * arnhoe quit ()
301: [16:31:31] <swaiba> http://snag.gy/Tj6K0.jpg <--- stack trace goodness kinglozzer
302: [16:33:32] <kinglozzer> Hmm, yeah I can't see how that can work for has_many or many_many :/
303: [16:33:48] <kinglozzer> singleton($this->modelClass)->getDefaultSearchContext() - so it's a singleton, hence why it's using UnsavedRelationList :(
304: [16:35:58] * WebDevB has joined #silverstripe
305: [16:35:59] <ss-helper> WebDevB: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
306: [16:37:24] <WebDevB> Hey guys.
307: [16:38:37] * Shrike_Finland has joined #silverstripe
308: [16:39:17] <r3v3rb> kinglozzer: good spot ^^
309: [16:40:49] <swaiba> kinglozzer - this sort of thing was defo in 2.4 and the comments in the code make it clear that (quote) "Parent.Child.Child.FieldName" is an example
310: [16:41:45] * joelpittet has joined #silverstripe
311: [16:41:46] <WebDevB> Has anyone else got this message before?
312: [16:41:51] <WebDevB> *525 FastCGI sent in stderr: "PHP message: PHP Fatal error: Couldn't run query:
313: [16:42:29] <kinglozzer> swaiba: Yeah but those are has_ones
314: [16:42:46] <kinglozzer> DataObject::relObject() looks like it would support hasmany/manymany if it weren't called on a singleton
315: [16:42:59] <kinglozzer> But ModelAdmin isn't set up like that :/
316: [16:43:08] <kinglozzer> Don't really know how I'd even approach trying to fix that
317: [16:46:49] <swaiba> what is the relationship name was converted to the object name?
318: [16:47:15] <swaiba> oh manybe not
319: [16:49:46] * BrewNaked has joined #silverstripe
320: [16:53:31] <WebDevB> Any ideas guys?
321: [16:56:46] <WebDevB> Expression #1 of SELECT list is not in GROUP BY clause and contains no...
322: [17:07:23] * lerni quit (Remote host closed the connection)
323: [17:15:38] <WebDevB> Can anyone tell me where SilverStripe stores it's providers?
324: [17:16:00] * Shrike_Finland quit (Quit: Leaving.)
325: [17:21:15] * TRB143 quit (Ping timeout: 250 seconds)
326: [17:24:04] * kinglozzer quit ()
327: [17:39:29] * WebDevB quit (Ping timeout: 240 seconds)
328: [17:51:13] * swaiba quit (Remote host closed the connection)
329: [17:51:32] * Stomach has joined #silverstripe
330: [17:52:21] * r_hector quit (Remote host closed the connection)
331: [17:59:23] * Stomach quit (Quit: zzz)
332: [18:00:27] <UndefinedOffset> WebDevB: what providers?
333: [18:14:16] * joelpittet quit (Remote host closed the connection)
334: [18:27:24] * joelpittet has joined #silverstripe
335: [18:27:37] * TRB143 has joined #silverstripe
336: [18:30:26] * r3v3rb quit (Quit: r3v3rb)
337: [18:32:34] * DimiStripe quit (Quit: DimiStripe)
338: [18:40:12] * Stomach has joined #silverstripe
339: [18:43:08] * Stomach quit (Client Quit)
340: [18:48:57] * BrewNaked quit ()
341: [19:00:21] * gelignite has joined #silverstripe
342: [19:07:11] * Stomach has joined #silverstripe
343: [19:09:49] * Firesphere has joined #silverstripe
344: [19:14:25] * Firesphere quit (Ping timeout: 240 seconds)
345: [19:16:36] * Phlunk3 has joined #silverstripe
346: [19:27:27] * Firesphere has joined #silverstripe
347: [19:43:22] * Stomach quit (Quit: bye)
348: [19:50:04] * Firesphere quit (Ping timeout: 240 seconds)
349: [19:56:32] * Stomach has joined #silverstripe
350: [19:58:17] * jules0x has joined #silverstripe
351: [20:04:34] * DanaeNZ has joined #silverstripe
352: [20:05:24] <DanaeNZ> morning party people
353: [20:06:57] * helenclarko has joined #silverstripe
354: [20:07:04] * Firesphere has joined #silverstripe
355: [20:07:17] <helenclarko> Morning
356: [20:08:15] * joelpittet quit (Remote host closed the connection)
357: [20:10:21] * Stomach_ has joined #silverstripe
358: [20:12:04] * leomeloxp quit (Ping timeout: 255 seconds)
359: [20:12:05] * Stomach quit (Ping timeout: 255 seconds)
360: [20:21:30] * scott1702 has joined #silverstripe
361: [20:23:35] * Hailwood has joined #silverstripe
362: [20:24:27] <Hailwood> So er... Why would I not be able to restore archived pages when logged in as admin? I'm getting "Action "restore" not allowed on controller (Class: CMSPageEditController)"
363: [20:26:12] * spronk has joined #silverstripe
364: [20:29:26] <Hailwood> anyone have any ideas?
365: [20:29:48] <DanaeNZ> noope
366: [20:33:46] <spronk> WHY IS IT FRIDAY
367: [20:34:21] <helenclarko> Hailwood: Does function "restore" exist on CMSPageEditController?
368: [20:34:39] <Hailwood> Ok, I lie, turns out I was logged in as a content author, just tried as admin and that works, so next question, why can my content authors not restore a draft page when the "can view draft content" box is ticked?
369: [20:34:46] <Hailwood> helenclarko, it's built into SS
370: [20:36:48] <Hailwood> Right... So to restore an archived page they need the "edit any page" permission. The heck.
371: [20:40:28] <helenclarko> Hailwood: hmmm, odd. Sorted now?
372: [20:41:12] <Hailwood> helenclarko, it's workable, I don't think restore should be tied to that permission though
373: [20:41:29] <Hailwood> Especially since content authors can archive pages without that permission
374: [20:41:56] <helenclarko> Yeah, doesnt seem right.
375: [20:42:01] <helenclarko> FRIDAY!
376: [20:42:12] * spronk quit (Ping timeout: 240 seconds)
377: [20:44:27] * spronk has joined #silverstripe
378: [20:45:26] <spronk> bahbahbah
379: [20:45:51] <helenclarko> Too tired for this week!
380: [20:55:34] <spronk> https://soundcloud.com/flightfacilities/sets/the-decade-mixes-1
381: [20:55:35] <spronk> there you go
382: [20:55:35] <spronk> fixed
383: [20:55:44] <spronk> 1970s and 1980s recommended for uplifting DISKO
384: [20:59:31] * joelpittet has joined #silverstripe
385: [21:00:19] * helenclarko quit (Read error: Connection reset by peer)
386: [21:00:50] <ss-helper> Re: Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/Tlk0ygxyAQAJ
387: [21:13:24] * Firesphere quit (Ping timeout: 276 seconds)
388: [21:15:50] <ss-helper> Re: [silverstripe-dev] Re: Addon Namespace Prefix - https://groups.google.com/d/msg/silverstripe-dev/LETVpT9FbuY/h4-O9dNyAQAJ
389: [21:24:30] <DanaeNZ> why would the password reset link redirect me to the login page omg
390: [21:25:15] <DanaeNZ> oh i know why
391: [21:25:26] <DanaeNZ> it's cos I'm retarded and didn't copy the link properly
392: [21:54:07] <Stomach_> !!!
393: [21:54:16] <spronk> bitch pleeaase
394: [21:57:32] * helenclarko has joined #silverstripe
395: [22:00:08] <jules0x> morning all.
396: [22:00:10] <helenclarko> spronk: YOU DID IT!
397: [22:00:15] <spronk> i did?
398: [22:00:22] <spronk> wait
399: [22:00:23] <spronk> what did i do?
400: [22:00:27] <helenclarko> that soundcloud link
401: [22:00:33] <spronk> oh
402: [22:00:34] <spronk> :D
403: [22:01:04] * Stomach_ quit (Ping timeout: 240 seconds)
404: [22:01:07] <jules0x> If I have child pages that I want to render (think page parts), how do I retrieve the finished rendered child pages?
405: [22:01:47] <jules0x> I can't just use <% loop $Children %> as the children contain shortcodes [thing,id=2]\
406: [22:02:15] <spronk> old school disco, always gets me going
407: [22:02:17] <jules0x> So i need to retrieve the rendered output of that page, to include on my parent page template.
408: [22:02:31] * joelpittet quit (Remote host closed the connection)
409: [22:03:23] * joelpittet has joined #silverstripe
410: [22:03:57] <helenclarko> spronk: Digging it.
411: [22:14:39] * scott1702 quit (Quit: This computer has gone to sleep)
412: [22:14:45] * UndefinedOffset quit (Quit: Leaving.)
413: [22:17:25] * UndefinedOffset has joined #silverstripe
414: [22:18:34] * UndefinedOffset quit (Client Quit)
415: [22:28:51] * scott1702 has joined #silverstripe
416: [22:29:40] <jules0x> trying to return an arraylist of child page data... but I want to return HTMLText for one field... how can I do this?
417: [22:30:41] <Hailwood> How deeply nested can you go with gridfields?
418: [22:31:30] <Hailwood> I am getting a 404 when I try to save a new item (Model Admin -> Item -> Grid Field -> Item -> Gridfield -> Add new Item -> [404 when clicking save??])
419: [22:32:32] <Hailwood> Context here ShopModelAdmin -> ProductItem -> AttributesGridfield-> AttributeItem -> AttributeValueGridfield -> Add New Attribute Value -> [404 on save]
420: [22:34:59] <Hailwood> Well, Actually it's ShopModelAdmin -> AttributesModelAdmin -> AttributesGridfield -> ...
421: [22:40:02] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
422: [22:43:52] * Stomach has joined #silverstripe
423: [22:48:40] * helenclark0 has joined #silverstripe
424: [22:50:34] * helenclarko quit (Ping timeout: 240 seconds)
425: [23:00:01] * ss-helper quit (Remote host closed the connection)
426: [23:00:18] * ss-helper has joined #silverstripe
427: [23:04:14] * Firesphere has joined #silverstripe
428: [23:09:04] * Firesphere quit (Ping timeout: 240 seconds)
429: [23:09:58] * Firesphere has joined #silverstripe
430: [23:28:48] * Phlunk3 quit (Remote host closed the connection)
431: [23:40:29] * Stomach quit (Quit: zzz)
432: [23:59:49] * Firesphere quit (Ping timeout: 255 seconds)

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