#silverstripe IRC Log

IRC log for 30 May 2015

All timestamps are in UTC.

1: [00:05:50] * babak quit (Quit: Connection closed for inactivity)
2: [00:36:41] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
3: [00:38:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
4: [00:43:23] * joelpittet has joined #silverstripe
5: [00:44:34] * adrexia_ has joined #silverstripe
6: [01:01:37] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
7: [01:01:57] * adrexia_ has joined #silverstripe
8: [01:04:11] * adrexia_ quit (Client Quit)
9: [01:10:45] * adrexia_ has joined #silverstripe
10: [01:22:17] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11: [01:25:23] * UncleCheese has joined #silverstripe
12: [01:25:42] * UncleCheese quit (Client Quit)
13: [01:26:03] * UncleCheese has joined #silverstripe
14: [01:34:38] * ajmitch_ quit (Ping timeout: 258 seconds)
15: [01:35:57] * adrexia_ has joined #silverstripe
16: [02:02:38] * babak has joined #silverstripe
17: [02:11:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18: [02:13:28] * veb quit (Quit: veb-irc: &)
19: [02:30:38] * veb has joined #silverstripe
20: [02:33:45] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21: [02:34:01] * joelpittet quit (Remote host closed the connection)
22: [02:34:55] * adrexia_ has joined #silverstripe
23: [02:35:15] * joelpittet has joined #silverstripe
24: [02:38:06] * adrexia_ quit (Client Quit)
25: [02:39:42] * joelpittet quit (Ping timeout: 264 seconds)
26: [02:52:21] * ccburns has joined #silverstripe
27: [02:54:56] <ccburns> Hey guys I am trying to upload multiple files to a DataObject using the has_many() static but I get an error saying - No has_one found on class 'File', the has_many relation from 'EnrolmentApplication' to 'File' requires a has_one on 'File'
28: [02:56:08] <ccburns> Do I need to extend File and add a has_one() to it? or am I just doing something wrong… I am trying to use _unclecheese_ Silverstripe-dropzone module for an Enrolment Application form
29: [03:11:03] * bemusedrat has joined #silverstripe
30: [03:12:24] <micmania1> ccburns: you need to use the config system to add the has_one relation to the Image class
31: [03:12:35] <micmania1> Image:
32: [03:12:40] <micmania1> has_one:
33: [03:12:52] <micmania1> - ‘EnrolmentApplication'
34: [03:15:12] <ccburns> thanks micmania1 I’ll give it a go
35: [03:16:02] <micmania1> ccburns That last line should actually be EnrolmentApplication: ‘EnrolmentApplication’ I *think*
36: [03:16:24] <ccburns> I’ll give them a go now
37: [03:24:59] <ccburns> The second option has solved that but now I’m getting some sort of mysql error when I save the DO in ModelAdmin…
38: [03:25:22] <ccburns> ---
39: [03:25:22] <ccburns> Name: EnrolmentApplication
40: [03:25:24] <ccburns> After: 'framework/*','cms/*'
41: [03:25:25] <ccburns> ---
42: [03:25:26] <ccburns> File:
43: [03:25:27] <ccburns> has_one:
44: [03:25:28] <ccburns> EnrolmentApplication: 'EnrolmentApplication'
45: [03:25:31] <ccburns> That’s what I ended up using
46: [03:31:24] * UncleCheese has joined #silverstripe
47: [03:31:49] <ccburns> Awesome just the person I was looking for… UncleCheese :)
48: [03:31:54] <UncleCheese> hi
49: [03:32:00] <UncleCheese> dude
50: [03:32:06] <UncleCheese> what country are you in these days?
51: [03:32:56] <ccburns> I’m using your Dropzone module and I have a DO set up and a ModelAdmin and the file dropzone is rendering and seeming to behave correctly but the files just aren’t uploading… even if I click the Upload files button… No JS errors that i can see
52: [03:33:16] <ccburns> We’re back in Oz (Gold Coast)… but trying desparately to immigrate to Canada
53: [03:33:25] * ss-helper quit (Remote host closed the connection)
54: [03:33:37] * ss-helper has joined #silverstripe
55: [03:33:38] <ccburns> Life licing in a Ski Resort is irresistable :)
56: [03:33:55] <ccburns> NZ life seems to be treating you well :)
57: [03:43:26] <UncleCheese> are you the one I've been chatting with in the forum?
58: [03:45:19] <UncleCheese> ccburns http://www.silverstripe.org/community/forums/form-questions/show/102439#post402374 ?
59: [03:45:41] <ccburns> Nope - just found the module this morning
60: [03:45:47] <UncleCheese> oh ok
61: [03:45:51] <ccburns> Let me see if that helps
62: [03:45:54] <UncleCheese> are you seeing the "undefined" XHR as well?
63: [03:45:59] <UncleCheese> that's what he's reporting
64: [03:46:02] <UncleCheese> and i'm not able to replicate
65: [03:51:50] <ccburns> haven’t looked at that yet - was just checking the data-config
66: [03:51:52] <ccburns> data-config="{&quot;url&quot;:&quot;admin\/enrolment\/EnrolmentApplication\/EditForm\/field\/EnrolmentApplication\/item\/1\/ItemEditForm\/field\/ApplicationFile\/upload&quot;,&quot;maxFilesize&quot;:2,&quot;uploadMultiple&quot;:false,&quot;clickable&quot;:&quot;.dropzone-select&quot;,&quot;params&quot;:{&quot;SecurityID&quot;:&quot;e656ee1e9e4940b5c7c3314f2ebe39ccc34dd257&quot;},&quot;thumbnailsDir&quot;:&quot;dropzone\/images\/file-icons\/64px&quot;
67: [03:51:53] <ccburns> ot;thumbnailWidth&quot;:64,&quot;thumbnailHeight&quot;:64,&quot;maxFiles&quot;:1,&quot;urlSelectDialog&quot;:&quot;admin\/enrolment\/EnrolmentApplication\/EditForm\/field\/EnrolmentApplication\/item\/1\/ItemEditForm\/field\/ApplicationFile\/select&quot;}"
68: [03:52:08] <ccburns> Let me look for the undefined issue
69: [03:53:13] <UncleCheese> that doesn't look right
70: [03:53:20] <UncleCheese> output should not be escaped
71: [03:53:27] <UncleCheese> that JSON won't parse
72: [03:53:39] * praveen_ has joined #silverstripe
73: [03:54:53] * praveen_ quit (Client Quit)
74: [03:57:12] <ccburns> This is my DO http://www.sspaste.com/paste/show/5569350a34a4c
75: [03:58:51] <ccburns> This is my ModelAdmin for it - http://www.sspaste.com/paste/show/5569356dee8fc
76: [03:59:37] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
77: [03:59:49] <ccburns> The only other thing is the config to link the has_one() http://www.sspaste.com/paste/show/5569359fbc8a4
78: [04:10:18] * UncleCheese has joined #silverstripe
79: [04:13:40] * UncleCheese quit (Client Quit)
80: [04:16:48] * UncleCheese has joined #silverstripe
81: [04:25:50] * babak quit (Quit: Connection closed for inactivity)
82: [04:25:56] <ccburns> I’ve just added the field to a frontend form and the data-config isn’t escaped but it’s still not uploading…
83: [04:25:57] <ccburns> data-config="{"url":"\/pastoral-care\/enrolment-portal\/EnrolmentApplicationForm\/field\/ApplicationFile\/upload","maxFilesize":2,"uploadMultiple":false,"clickable":".dropzone-select","params":{"SecurityID":"e656ee1e9e4940b5c7c3314f2ebe39ccc34dd257"},"thumbnailsDir":"dropzone\/images\/file-icons\/64px","thumbnailWidth":64,"thumbnailHeight":64,"maxFiles":1}"
84: [04:35:33] <UncleCheese> ccburns can you check the XHR? there should be one to that URL when you upload
85: [04:36:05] <UncleCheese> ccburns yikes, is this 2.4?
86: [04:36:13] <ccburns> nope
87: [04:36:22] <ccburns> maybe just doing things old school thought
88: [04:36:25] <ccburns> though*
89: [04:36:31] <UncleCheese> yeah
90: [04:36:37] <UncleCheese> lots of public statics happening
91: [04:37:55] <ccburns> https://www.dropbox.com/s/xlqr6x7qjf9prq8/Screen%20Shot%202015-05-30%20at%201.55.05%20pm.png?dl=0
92: [04:38:55] <ccburns> in the DO? just change to private static…?
93: [04:39:12] <ccburns> that’s the XHR response
94: [04:41:44] <ccburns> BTW the field in the admin is no longer escaping the data
95: [04:41:48] <ccburns> data-config="{"url":"admin\/enrolment\/EnrolmentApplication\/EditForm\/field\/EnrolmentApplication\/item\/1\/ItemEditForm\/field\/ApplicationFile\/upload","maxFilesize":2,"uploadMultiple":false,"clickable":".dropzone-select","params":{"SecurityID":"e656ee1e9e4940b5c7c3314f2ebe39ccc34dd257"},"thumbnailsDir":"dropzone\/images\/file-icons\/64px","thumbnailWidth":64,"thumbnailHeight":64,"maxFiles":1,"urlSelectDialog":"admin\/enrolment\/EnrolmentApplicati
96: [04:41:48] <ccburns> EditForm\/field\/EnrolmentApplication\/item\/1\/ItemEditForm\/field\/ApplicationFile\/select"}"
97: [04:43:59] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
98: [05:10:04] * joelpittet has joined #silverstripe
99: [05:14:19] * micmania1 quit (Quit: micmania1)
100: [05:27:58] * babak has joined #silverstripe
101: [05:34:32] * Error404NotFound has joined #silverstripe
102: [05:51:59] * veb quit (Quit: veb-irc: &)
103: [06:11:37] * bemusedrat quit (Quit: Leaving)
104: [06:34:16] * veb has joined #silverstripe
105: [06:58:06] * ajmitch has joined #silverstripe
106: [07:16:33] * Eliseth has joined #silverstripe
107: [07:17:20] * Eliseth quit (Client Quit)
108: [07:19:42] * ccburns quit (Quit: ccburns)
109: [07:24:36] * joelpittet quit (Remote host closed the connection)
110: [07:32:31] * ccburns has joined #silverstripe
111: [07:32:33] * ccburns has left #silverstripe
112: [07:51:06] * UncleCheese has joined #silverstripe
113: [08:03:46] * ss-helper quit (Remote host closed the connection)
114: [08:04:02] * ss-helper has joined #silverstripe
115: [08:40:28] * veb quit (Quit: veb-irc: &)
116: [08:50:25] * veb has joined #silverstripe
117: [08:56:14] * sealan has joined #silverstripe
118: [09:30:16] * TombL quit (Ping timeout: 255 seconds)
119: [09:33:46] * micmania1 has joined #silverstripe
120: [09:43:00] * micmania1 quit (Quit: micmania1)
121: [10:33:55] * veb quit (Quit: veb-irc: &)
122: [10:37:45] * Err404NotFound has joined #silverstripe
123: [10:37:45] * Error404NotFound quit (Disconnected by services)
124: [10:42:01] * Err404NotFound quit (Max SendQ exceeded)
125: [10:42:33] * Err404NotFound has joined #silverstripe
126: [10:48:58] * veb has joined #silverstripe
127: [11:48:02] * benjhocking quit (Read error: Connection reset by peer)
128: [11:50:29] * benjhocking has joined #silverstripe
129: [12:00:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
130: [12:01:36] * sealan quit (Remote host closed the connection)
131: [12:05:11] * sealan has joined #silverstripe
132: [12:14:53] * sealan quit (Remote host closed the connection)
133: [12:22:02] * sealan has joined #silverstripe
134: [12:48:25] * ss-helper quit (Ping timeout: 264 seconds)
135: [12:52:33] * benjhocking quit (Read error: Connection reset by peer)
136: [12:53:23] * veb quit (Read error: Connection reset by peer)
137: [12:53:26] * veb_ has joined #silverstripe
138: [12:54:53] * benjhocking has joined #silverstripe
139: [13:01:33] * sealan quit (Remote host closed the connection)
140: [13:01:47] * sealan has joined #silverstripe
141: [13:05:38] * ss-helper has joined #silverstripe
142: [13:10:42] * benjhocking quit (Read error: Connection reset by peer)
143: [14:03:43] * sealan quit (Read error: No route to host)
144: [14:04:17] * sealan has joined #silverstripe
145: [14:15:18] * DimiStripe has joined #silverstripe
146: [14:30:02] * sealan quit (Remote host closed the connection)
147: [14:31:10] * sealan has joined #silverstripe
148: [14:37:52] * sealan quit (Remote host closed the connection)
149: [14:59:29] * sealan has joined #silverstripe
150: [15:00:14] * sealan quit (Remote host closed the connection)
151: [15:00:27] * sealan has joined #silverstripe
152: [15:28:05] * veb_ quit (Quit: veb-irc: &)
153: [15:35:02] * CodeTrap has joined #silverstripe
154: [15:53:25] * joelpittet has joined #silverstripe
155: [15:59:30] * wmk quit (Ping timeout: 264 seconds)
156: [16:19:18] * joelpittet quit (Remote host closed the connection)
157: [16:31:42] * sealan quit (Remote host closed the connection)
158: [16:32:18] * sealan has joined #silverstripe
159: [17:20:43] * ss-helper quit (Remote host closed the connection)
160: [17:20:59] * ss-helper has joined #silverstripe
161: [17:23:03] * sealan_ has joined #silverstripe
162: [17:27:14] * sealan quit (Ping timeout: 272 seconds)
163: [17:31:16] * guci0 quit (Ping timeout: 246 seconds)
164: [18:14:57] * sealan_ quit ()
165: [18:27:15] * Err404NotFound quit (Ping timeout: 256 seconds)
166: [19:47:14] * mobiusnz has joined #silverstripe
167: [19:53:18] * mobiusnz1 has joined #silverstripe
168: [19:53:45] * mobiusnz quit (Read error: Connection reset by peer)
169: [19:54:20] * mobiusnz1 quit (Client Quit)
170: [20:49:19] * UncleCheese has joined #silverstripe
171: [21:04:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
172: [21:10:28] * veb has joined #silverstripe
173: [21:10:42] * DimiStripe quit (Quit: DimiStripe)
174: [21:29:48] * SphereSilver quit (Ping timeout: 272 seconds)
175: [21:30:12] * SphereSilver has joined #silverstripe
176: [21:40:29] * veb_ has joined #silverstripe
177: [21:43:30] * CodeTrap quit (Ping timeout: 265 seconds)
178: [21:43:58] * veb quit (Read error: Connection reset by peer)
179: [21:44:24] * veb has joined #silverstripe
180: [21:47:11] * UncleCheese has joined #silverstripe
181: [21:48:48] * veb_ quit (Ping timeout: 272 seconds)
182: [21:57:19] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
183: [22:04:33] * ss-helper quit (Ping timeout: 240 seconds)
184: [22:08:42] * veb quit (Max SendQ exceeded)
185: [22:10:22] * ss-helper has joined #silverstripe
186: [22:13:01] * veb has joined #silverstripe
187: [22:26:55] * UncleCheese has joined #silverstripe
188: [22:35:51] * babak quit (Quit: Connection closed for inactivity)
189: [22:52:49] * veb quit (Quit: veb-irc: &)
190: [22:55:18] * veb has joined #silverstripe
191: [22:56:46] * veb quit (Client Quit)
192: [23:07:29] * babak has joined #silverstripe

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