#silverstripe IRC Log

IRC log for 27 April 2017

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:18] * ss-helper has joined #silverstripe
3: [02:49:01] * agent44 has joined #silverstripe
4: [02:54:16] * agent44 quit (Ping timeout: 260 seconds)
5: [04:36:45] * agent44 has joined #silverstripe
6: [04:41:33] * agent44 quit (Ping timeout: 240 seconds)
7: [04:56:12] * Shrike_Finland has joined #silverstripe
8: [05:45:35] * silverstriper has joined #silverstripe
9: [05:46:32] <silverstriper> Hey all, I have been struggling for a few hours with dev/tests.. I am getting unit tests successfully via phpunit on terminal but just cant get my tests to show up in the browser.. Any pointers ?
10: [06:00:13] <silverstriper> Face-palm moment !! for anyone stuck at this issue.. Please note, dev/build?flush=1 is different to dev/tests?flush=1, worked like a charm after the manifest was created with the new tests
11: [06:24:56] * agent44 has joined #silverstripe
12: [06:29:47] * agent44 quit (Ping timeout: 258 seconds)
13: [07:39:46] * Shrike_Finland quit (Quit: Leaving.)
14: [07:44:55] * Shrike_Finland has joined #silverstripe
15: [07:56:51] * deschebbs has joined #silverstripe
16: [08:11:57] * kinglozzer has joined #silverstripe
17: [08:13:08] * agent44 has joined #silverstripe
18: [08:17:28] * agent44 quit (Ping timeout: 255 seconds)
19: [08:19:30] <Audlex> anyone see an issue with this/know of a better way? i can't figure out why it has just stopped working
20: [08:19:31] <Audlex> UserDefinedForm_Controller::create($this->Parent()->Parent()->owner->EnquiryForm())->Form();
21: [08:22:50] * filisko has joined #silverstripe
22: [08:34:37] * samsamek has joined #silverstripe
23: [08:38:35] * silverstriper quit (Ping timeout: 260 seconds)
24: [08:48:17] * agent44 has joined #silverstripe
25: [09:02:15] * saiyan_ has joined #silverstripe
26: [09:04:38] * saiyan quit (Ping timeout: 255 seconds)
27: [09:04:39] * saiyan_ is now known as saiyan
28: [09:05:08] * cloph_away is now known as cloph
29: [09:31:55] * samsamek quit (Quit: samsamek)
30: [09:45:43] * agent44 quit (Quit: zzz)
31: [09:45:57] * agent44 has joined #silverstripe
32: [09:53:20] <deschebbs> hi, on a silverstripe 3.4 project i would like to use betterbuttons module. Does anybody know, which version ist best for this version of ss?
33: [09:57:26] <kinglozzer> deschebbs: ^1.3
34: [10:04:26] <deschebbs> thanks, i thought so. though i dont really understand. 3.0 seems do be a dead branch?
35: [10:05:24] <kinglozzer> Yeah that's the SS 3.0 compatible version, I'm not sure why it has a higher version number though :P
36: [11:01:37] * samsamek has joined #silverstripe
37: [11:19:05] * deschebbs quit (Ping timeout: 240 seconds)
38: [12:10:50] * Shrike_Finland quit (Quit: Leaving.)
39: [12:10:57] * Shrike_Finland has joined #silverstripe
40: [12:16:17] * samsamek quit (Quit: samsamek)
41: [12:16:39] * samsamek has joined #silverstripe
42: [12:25:46] * UndefinedOffset has joined #silverstripe
43: [13:00:02] * filisko quit (Quit: Leaving)
44: [13:03:21] * r5v3rb_ has joined #silverstripe
45: [13:03:43] <r5v3rb_> ullo
46: [13:04:23] <r5v3rb_> kinglozzer: https://gist.github.com/mspacemedia/d59b07aafea5d8c1f891d4a0d8d4ecd2 << why does saving the dataobject not store my two properties in the $db fields :|
47: [13:04:43] <r5v3rb_> getting well and truely facked off today :P
48: [13:04:59] <r5v3rb_> truly*
49: [13:07:48] <kinglozzer> r5v3rb_: Both fields have the same name, but one is a has_one (and should presumably be PropertyFieldID) and one is a has_many/many_many ?
50: [13:08:40] <r5v3rb_> PropertyField isn’t the one being stored… well only until onBeforeWrite its the two defined in $db that don’t seem to store their records
51: [13:09:05] <r5v3rb_> PropertyField is a temp variable to pass through some data
52: [13:10:16] <kinglozzer> r5v3rb_: If you inspect the actual database schema, is the enum set up correctly?
53: [13:10:38] <kinglozzer> I usually define mine like "Enum(array('Sales', 'Lettings', 'Both'), 'Sales')"
54: [13:10:56] <kinglozzer> I *think* it should work your way too, just worth checking
55: [13:11:58] <r5v3rb_> it appears as (type)ENUM (values) 'Single Property','All Properties','Message'
56: [13:15:02] <r5v3rb_> ok, first save works, but changes don’t
57: [13:15:57] <r5v3rb_> subsequent saves do not make any changes to any fields in the newsletter - it’s as if the system isn’t recognising changes
58: [13:18:24] <r5v3rb_> arh, its the ‘Temporary’ field stopping the write
59: [13:25:55] * r5v3rb has joined #silverstripe
60: [13:27:04] * r5v3rb_ quit (Ping timeout: 260 seconds)
61: [14:04:26] <r5v3rb> if i have an arraylist with arraydata inside whats the simplest way to create a nested JSON string ->toJSON doesn’t function now JSONDataFormatter - is it really a loop and lots of string concatenation still?
62: [14:05:44] * UndefinedOffset quit (Quit: Leaving.)
63: [14:06:08] <kinglozzer> r5v3rb: json_encode($arrayList->toNestedArray()); ?
64: [14:06:38] <r5v3rb> tried that just got { ‘ClassName’: ‘ArrayData’ throughout the string returned
65: [14:07:31] * UndefinedOffset has joined #silverstripe
66: [14:07:38] <kinglozzer> That's... not right
67: [14:07:45] <r5v3rb> jeez, and now this time it works sod’s bloody law!
68: [14:07:51] <kinglozzer> :D
69: [14:07:56] <r5v3rb> Nope not funny!
70: [14:07:58] <kinglozzer> I cast a spell from here
71: [14:08:09] <r5v3rb> its that magic norwich brewing!
72: [14:14:06] <r5v3rb> i think i may have hit the Text field limit though! 102 properties json_encoded from the Zoopla API is quite a large dataset!
73: [14:14:18] <r5v3rb> for a single field string
74: [14:15:07] <r5v3rb> nope it should store it all …
75: [14:17:38] <kinglozzer> You're storing all that in one db field?! D:
76: [14:18:55] <r5v3rb> yup!
77: [14:19:10] * r5v3rb = living on the edge
78: [14:34:40] * deschebbs has joined #silverstripe
79: [14:37:38] * UndefinedOffset quit (Quit: Leaving.)
80: [14:44:19] * UndefinedOffset has joined #silverstripe
81: [14:54:40] * r5v3rb quit (Ping timeout: 240 seconds)
82: [14:57:47] * r5v3rb has joined #silverstripe
83: [15:06:21] <r5v3rb> any idea where I saw a function that takes ‘Content’ and then uses a RenderWith to populate the template in the Newsletter module?
84: [15:06:28] * r5v3rb asks his brain
85: [15:09:44] * Shrike_Finland quit (Quit: Leaving.)
86: [15:16:16] <r5v3rb> kinglozzer: ever seen anything like that ( ‘Content’ => $data->renderWith(‘Template’) ) ??? I’m sure I saw some sminnee code doing that recently but can’t remember where I saw it?
87: [15:25:01] <r5v3rb> fond it
88: [15:25:04] <r5v3rb> u*
89: [15:50:07] * r5v3rb quit (Quit: r5v3rb)
90: [16:17:00] * deschebbs quit (Quit: Konversation terminated!)
91: [16:30:23] * kinglozzer quit ()
92: [16:49:42] * gelignite has joined #silverstripe
93: [17:07:57] * agent44 quit (Quit: zzz)
94: [17:25:30] * samsamek quit (Quit: samsamek)
95: [17:50:12] * samsamek has joined #silverstripe
96: [19:25:34] * webdoc has joined #silverstripe
97: [19:26:17] <webdoc> Hi can anybody help how can i translate the fulltext searchform in ss3.x
98: [19:34:28] * UndefinedOffset quit (Quit: Leaving.)
99: [19:35:09] * DimiStripe quit (Quit: DimiStripe)
100: [19:36:48] <webdoc> Hi can anybody help how can i translate the fulltext searchform in ss3.x
101: [19:38:09] * UndefinedOffset has joined #silverstripe
102: [19:43:06] <webdoc> Hi can anybody help how can i translate the fulltext searchform in ss3.x
103: [19:45:25] <ss-helper> Silverstripe 3.5.1/PHP - Subtract 1 year within GroupedList loop - http://stackoverflow.com/questions/43666525/silverstripe-3-5-1-php-subtract-1-year-within-groupedlist-loop
104: [20:18:44] <webdoc> Hi can anybody help how can i translate the fulltext searchform in Silverstripe 3.x
105: [20:27:14] * UndefinedOffset quit (Quit: Leaving.)
106: [21:07:35] * webdoc quit (Ping timeout: 260 seconds)
107: [21:59:38] * samsamek quit (Read error: Connection reset by peer)
108: [22:15:02] * gamma quit (Ping timeout: 240 seconds)
109: [22:16:04] <ss-helper> Re: [silverstripe-dev] Re: New developer(s) required for PHPstorm SilverStripe plugin. - https://groups.google.com/d/msg/silverstripe-dev/d-uaYWg4uSY/dz7SLLWmGwAJ
110: [22:29:28] * gamma has joined #silverstripe
111: [22:33:35] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
112: [23:01:06] <ss-helper> Re: [silverstripe-dev] Re: New developer(s) required for PHPstorm SilverStripe plugin. - https://groups.google.com/d/msg/silverstripe-dev/d-uaYWg4uSY/aBQ6OsepGwAJ
113: [23:31:07] <ss-helper> Re: [silverstripe-dev] Re: New developer(s) required for PHPstorm SilverStripe plugin. - https://groups.google.com/d/msg/silverstripe-dev/d-uaYWg4uSY/ICvqB-6qGwAJ

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