#silverstripe IRC Log

IRC log for 30 April 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:42:49] * BrewNaked quit (Remote host closed the connection)
4: [00:48:14] * gelignite quit (Ping timeout: 244 seconds)
5: [00:48:59] * chillu_23 has joined #silverstripe
6: [00:58:12] * chillu_23 quit (Quit: chillu_23)
7: [01:31:51] * cloph is now known as cloph_away
8: [01:59:34] * TRB143 quit (Ping timeout: 260 seconds)
9: [02:07:10] * TRB143 has joined #silverstripe
10: [02:11:28] * Stomach has joined #silverstripe
11: [02:15:22] * Stomach quit (Client Quit)
12: [02:17:09] * Stomach has joined #silverstripe
13: [02:17:45] * Stomach quit (Client Quit)
14: [02:22:29] <Firesphere> Hello world.
15: [02:23:12] <Firesphere> Admonish: Errr, you might want to read up on basic coding. Singleton returns a singleton of an instance.
16: [02:27:59] <zlinux> Admonish, https://en.wikipedia.org/wiki/Singleton_pattern
17: [02:28:12] <zlinux> Hello Firesphere
18: [02:31:39] * BrewNaked has joined #silverstripe
19: [02:32:52] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
20: [02:36:10] * BrewNaked quit (Ping timeout: 252 seconds)
21: [03:50:29] * Admonish has joined #silverstripe
22: [04:11:41] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
23: [04:20:30] * BrewNaked has joined #silverstripe
24: [04:25:02] * BrewNaked quit (Ping timeout: 260 seconds)
25: [05:05:36] * Admonish has joined #silverstripe
26: [05:05:36] * Admonish quit (Client Quit)
27: [05:54:54] * Newbie has joined #silverstripe
28: [05:55:15] <Newbie> hello
29: [05:55:20] <Newbie> ??
30: [05:55:36] <Newbie> anybody here?
31: [06:04:22] * Newbie quit (Ping timeout: 250 seconds)
32: [06:09:32] * BrewNaked has joined #silverstripe
33: [06:14:39] * BrewNaked quit (Ping timeout: 276 seconds)
34: [06:20:15] * spronk has joined #silverstripe
35: [06:29:36] * zlinux quit (Ping timeout: 276 seconds)
36: [07:03:43] * marvanni has joined #silverstripe
37: [07:44:20] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
38: [07:49:40] * zlinux has joined #silverstripe
39: [07:52:28] * gelignite has joined #silverstripe
40: [07:58:39] * BrewNaked has joined #silverstripe
41: [08:02:45] * BrewNaked quit (Ping timeout: 244 seconds)
42: [09:00:03] * eightythree has joined #silverstripe
43: [09:00:13] * fb3rasp has joined #silverstripe
44: [09:08:12] * zlinux quit (Ping timeout: 276 seconds)
45: [09:12:45] * Firesphere quit (Quit: Bye now)
46: [09:19:35] * Eliseth has joined #silverstripe
47: [09:25:35] * fb3rasp quit (Quit: Be back later ...)
48: [09:46:44] <marvanni> Can I set a form to react on ValidationException from MyDataObject::validate() ?
49: [09:47:08] <marvanni> i can set a try catch block on the submit method, but it feels like bit redundant.
50: [09:47:32] * BrewNaked has joined #silverstripe
51: [09:51:46] * BrewNaked quit (Ping timeout: 252 seconds)
52: [10:01:25] <eightythree> Hi fellas, I would like to make dropdown in DataObject to fetch data from another DataObject. Both are in the same page. It’s just simple anchor link functionality (a href and ID). I’ve got this code: http://www.sspaste.com/paste/show/5724812836f49 , and it seems to work fine since I get proper number of “First DataObjects”, but labels in my dropdown are blank. Why is that?
53: [10:05:16] <marvanni> $KnowHow->map('AnchorMenuItem__Label', 'Select an anchor');
54: [10:05:30] <marvanni> You can only map with fields from the dataobject
55: [10:05:49] <marvanni> $KnowHow->map(‘ID’,’AnchorMenuItem__Label');
56: [10:06:05] <marvanni> DropdownField->setEmptyString(‘ 'Select an anchor'’);
57: [10:07:25] <eightythree> Umm, AnchorMenuItem__Label is a field from DataObject
58: [10:14:12] <marvanni> yes, but this is not : Select an anchor
59: [10:14:28] <marvanni> see the method DataObject->map();
60: [10:14:52] <marvanni> no i mean DataList->map(); since that is wat is returned from DataObject::get
61: [10:15:29] <eightythree> Owww, I get it now
62: [10:15:42] <eightythree> Right on, thanks marvanni :)
63: [10:28:08] <marvanni> Those weird unreadable errorprone fieldnames will work against you in the future
64: [10:28:22] <marvanni> why not use Title
65: [10:29:13] <marvanni> this is a default value in Silverstripe, so if not defined in summary fields, or map() Silverstripe will look for a Title fields
66: [10:29:35] <marvanni> so you could just do $myDatalist->map(); // ID, Title is default
67: [10:30:28] <marvanni> and double __ or single _ who knows when having a slight unreadable font type
68: [10:40:04] <eightythree> Hmm, it's just a habit but yea you could be right tho, I look forward to it thanks for your insight
69: [10:45:43] * spronk quit (Quit: I may need a longer sleep timer...)
70: [11:10:48] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
71: [11:36:00] * BrewNaked has joined #silverstripe
72: [11:38:21] * Azure quit (Ping timeout: 276 seconds)
73: [11:39:27] * Firesphere has joined #silverstripe
74: [11:39:47] * Azure has joined #silverstripe
75: [11:40:40] * BrewNaked quit (Ping timeout: 252 seconds)
76: [11:54:47] <Firesphere> Hello world. I forgot to restart my bouncer
77: [11:54:54] <Firesphere> Hey, ss23 you here?
78: [11:58:11] * DimiStripe quit (Quit: DimiStripe)
79: [12:59:57] * marvanni quit (Quit: marvanni)
80: [13:24:57] * BrewNaked has joined #silverstripe
81: [13:29:52] * BrewNaked quit (Ping timeout: 260 seconds)
82: [13:49:38] * Firesphere quit (Quit: Bye now)
83: [15:05:05] * DimiStripe has joined #silverstripe
84: [15:10:04] * arnhoe has joined #silverstripe
85: [15:13:46] * BrewNaked has joined #silverstripe
86: [15:18:28] * BrewNaked quit (Ping timeout: 252 seconds)
87: [15:47:11] * arnhoe quit ()
88: [17:02:40] * BrewNaked has joined #silverstripe
89: [17:07:54] * BrewNaked quit (Ping timeout: 276 seconds)
90: [17:38:44] * slievr_ quit (Ping timeout: 260 seconds)
91: [17:42:27] * Azure quit (Ping timeout: 244 seconds)
92: [17:49:18] * Azure has joined #silverstripe
93: [17:54:04] * marvanni has joined #silverstripe
94: [18:00:53] * Azure quit (Remote host closed the connection)
95: [18:06:08] * Liquide has joined #silverstripe
96: [18:08:28] * eightythree quit (Ping timeout: 250 seconds)
97: [18:15:42] * zlinux has joined #silverstripe
98: [18:51:33] * BrewNaked has joined #silverstripe
99: [18:56:38] * BrewNaked quit (Ping timeout: 276 seconds)
100: [20:02:11] * cloph_away is now known as cloph
101: [20:19:23] * DimiStripe quit (Quit: DimiStripe)
102: [20:19:46] * DimiStripe has joined #silverstripe
103: [20:35:50] * zlinux_ has joined #silverstripe
104: [20:38:51] * zlinux quit (Ping timeout: 246 seconds)
105: [20:40:25] * BrewNaked has joined #silverstripe
106: [20:45:10] * BrewNaked quit (Ping timeout: 252 seconds)
107: [21:05:05] * eightythree has joined #silverstripe
108: [21:19:39] * phorloop has joined #silverstripe
109: [21:37:47] * Stomach has joined #silverstripe
110: [21:43:40] * Azure has joined #silverstripe
111: [21:55:13] * Stomach quit (Quit: zzz)
112: [21:58:53] * DimiStripe quit (Quit: DimiStripe)
113: [22:05:23] * Stomach has joined #silverstripe
114: [22:07:11] * DimiStripe has joined #silverstripe
115: [22:29:22] * BrewNaked has joined #silverstripe
116: [22:32:34] * Stomach quit (Quit: zzz)
117: [22:33:53] * BrewNaked quit (Ping timeout: 250 seconds)
118: [22:38:00] * eightythree quit (Ping timeout: 250 seconds)
119: [22:58:24] * Firesphere has joined #silverstripe
120: [23:14:09] * zlinux_ quit (Ping timeout: 260 seconds)
121: [23:19:04] * marvanni quit (Quit: marvanni)
122: [23:44:53] * codegy quit (Quit: Page closed)

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