#idempiere IRC log for Wednesday, 2016-06-08

*** a42niem has quit IRC00:04
*** a42niem_ has quit IRC00:08
*** xapiens has joined #idempiere00:28
*** xapiens has quit IRC03:39
*** xapiens has joined #idempiere04:03
*** xapiens has quit IRC04:36
*** a42niem has joined #idempiere05:48
*** nmicoud has joined #idempiere06:46
*** ngordon7000 has joined #idempiere07:14
*** a42niem has quit IRC07:28
*** JanThielemann has joined #idempiere07:38
JanThielemanngood day everyone07:38
JanThielemannlong time not seen07:38
nmicoudHi Jan !07:38
JanThielemannHey nicolas07:39
nmicoudhow are you ?07:39
JanThielemanngood07:39
JanThielemannbut to be hones, it's freezing cold in australia07:39
nmicoudstill in the other side of the world ?07:39
JanThielemannyep07:39
nmicoudgreat07:39
JanThielemannworking as a developer right now xD07:39
nmicoudyou found a job there ?07:39
JanThielemannyes, beeing in perth for about 2 month and working for over one month after we traveled south east asia till we ran out of money07:40
JanThielemannnow we need to save as much as we can before we go on traveling by the end of the year07:40
nmicoudyou want to return to Germany ?07:41
JanThielemannnoooo, we will go to newzealand07:41
JanThielemannand south america07:41
JanThielemannI have a question any maybe you have an idea: I have several devices sending me messages on a socket07:41
JanThielemannsome of the messages are json like {firstname:john, lastname:doe}07:41
JanThielemannsome are xml like <person><firstname>john</firstname></person>07:42
JanThielemannsome are completely different like [AKKS828100SHHH29]07:42
JanThielemannor even lkj12ljkösldjf98189u23oihas07:42
nmicoudpeople there have weird names :D07:43
JanThielemannxD07:44
JanThielemannI need a way to parse these messages into objects07:44
JanThielemannMy first thought was do implement a factory design like idempiere does for it's plugins07:44
JanThielemannso everytime a new device comes into the play, I just create another factory07:44
JanThielemannand then when a message comes in, let all the factories decide if they can parse the message to an object07:45
JanThielemannthe second thought was: isnt there a library which could do that by feeding it with regular expressions and the corresponding object types?07:45
JanThielemann(and probably a mapping of how to map fields from the regex to the objects fields)07:46
nmicoudprobably someone else was confronted to this issue07:46
nmicoudand maybe he publish his work07:46
JanThielemannI'm searching for a while but I probably use the wrong terms because I only get thousands of pages saying how to either deserialize xml or json07:47
nmicoudthinking...07:48
nmicouddid you try to search project on sf.net ?07:49
JanThielemannI'll try07:50
JanThielemannbut I'm not even sure what to search07:50
JanThielemanngeneric deserializer07:50
JanThielemann?07:50
nmicoudyes, or json deserializer ?07:51
nmicoudjson2object ?07:52
JanThielemannthe thing is, its not always a json07:54
JanThielemannit can be a json, a xml or some other freaky string07:54
nmicoudperhaps try to post the question on stackoverflow, there may be a good soul that can help - because i have no idea07:56
*** JanThielemann has quit IRC08:19
*** nmicoud has quit IRC09:47
Not-be5d[IDEMPIERE] pshepetko updated IDEMPIERE-309410:15
Not-be5d[IDEMPIERE] Hi Hieplq, Can you check it? I added one line to class InfoPanel and it work as we need: ------------- @Override public void onEvent(Event event) throws Exception { ProcessModalDialog processModalDialog = (ProcessModalDialog)event.getTarget(); if (DialogEvents.ON_BEFORE_RUN_PROCESS.equals(event.getName())){ + recordSelectedData.clear();//#IDEMPIERE-3094 updateListSelected(); // store in T_Selection table10:15
Not-be5dselected rows for Execute Process that retrieves from T_Selection in code. DB.createT_SelectionNew(pInstanceID, getSaveKeys(getInfoColumnIDFromProcess(processModalDialog.getAD_Process_ID())), null); -------------10:15
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309410:15
*** a42niem_ has joined #idempiere10:20
*** druiz has joined #idempiere10:55
*** ngordon7000 has quit IRC12:53
*** HideakiHagiwara has joined #idempiere12:58
*** Deepak_ has joined #idempiere13:01
Deepak_Good Morning13:01
*** hieplq has joined #idempiere13:02
*** ocurieles has joined #idempiere13:03
ocurielesGood morning13:03
*** pkirwa has joined #idempiere13:13
*** red1 has joined #idempiere13:22
*** ChanServ sets mode: +o red113:22
red1Good night all from the jungle in Vietnam here13:22
Deepak_Good Evening red113:23
red1Hi Deepak_13:23
Deepak_How is your trip going?13:24
*** red1 has quit IRC13:27
Not-be5d[IDEMPIERE] hieplq updated IDEMPIERE-309413:27
Not-be5d[IDEMPIERE] hi [~pshepetko] like i mean on prev comment, i worry your fix will get break IDEMPIERE-2230. did you test it? or you just don't use this feature? my patch already fix your issue with no break anything. if you still get issue when apply my patch, please point out me with your test case, so i can improve my patch.13:27
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309413:27
*** hieplq has quit IRC13:27
*** hieplq has joined #idempiere13:28
*** aguerra has joined #idempiere13:38
*** hieplq has quit IRC13:43
*** ocurieles has quit IRC13:49
pkirwaHi People13:54
*** hieplq has joined #idempiere13:55
pkirwaWe deploying Idempiere  in one of the goverment departments here in Kenya, will update the community on how it goes13:55
*** nmicoud has joined #idempiere13:55
*** HideakiHagiwara has quit IRC13:59
*** red1 has joined #idempiere14:01
*** ChanServ sets mode: +o red114:01
red1sorry was disc14:01
*** red1 has quit IRC14:25
*** hieplq has quit IRC14:37
*** norbertbede1 has joined #idempiere14:51
*** pkirwa has quit IRC14:51
*** norbertbede1 has quit IRC15:10
*** CarlosRuiz has joined #idempiere15:12
Not-be5d[IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-309415:17
Not-be5d[IDEMPIERE] Hi [~hieplq] and [~pshepetko], my 2c: - remember selection during pagination is ok and a nice improvement - but remember selection after running process is something different. I see value in some processes if you want to run the next process with the same set of selected records, then preserve the selection But there are processes that can update or delete those selected records, or insert new in a way15:17
Not-be5dthat the selection changes (I guess the records are refreshed after running the process?) So, for the second option I would think the safest is to not-remember, but the best is probably to make it configurable, maybe in the table ad_infoprocess add a flag to "remember selection", so developer can uncheck that flag when the process affects the selected records in a way that destroys the selection. WDYT?15:17
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309415:17
*** Deepak_ has quit IRC15:21
*** a42niem_ has quit IRC15:45
Not-be5d[IDEMPIERE] d_ruiz created IDEMPIERE-3124 Multiple errors on Tree Windows15:52
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-312415:52
*** Deepak_ has joined #idempiere16:19
*** druiz has quit IRC16:38
*** Deepak_ has quit IRC16:54
*** nmicoud has quit IRC17:02
Not-be5d[IDEMPIERE] jaimegarciaduque@gmail.com updated IDEMPIERE-309719:16
Not-be5d[IDEMPIERE] What happened with this bug? An answer is required19:16
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309719:16
Not-be5d[IDEMPIERE] jaimegarciaduque@gmail.com created IDEMPIERE-3125 Some Bugs in POS GUI19:29
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-312519:29
Not-be5d[IDEMPIERE] ocurieles updated IDEMPIERE-309720:32
Not-be5d[IDEMPIERE] Hi Mr. Jaime On first place this is a OpenSource Project, maybe you need read about that http://www.catb.org/esr/faqs/smart-questions.html Second place: this bug is not in the iDempiere core is for LCO Plugin from Carlos Ruiz, you need report in the google groups idempiere. Regards20:32
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309720:32
Not-be5d[IDEMPIERE] hieplq updated IDEMPIERE-309423:32
Not-be5d[IDEMPIERE] Hi [~carlosruiz_globalqss], remember selection is old behavior, i just want remain it when development "remember selection during pagination" configurable is ok. make it flexible. about your concern about sync selection after run process. yes, records is refresh after running process. for new insert record, it out of selection, because we manual select, it's issue when we choose by filter (define some23:32
Not-be5dcategory to filter). for update and delete record, it's ok if we don't change viewID column, just get trouble when change viewID column other big issue, we have to implement function syncSelectedAfterRequery. i not yet implement it by worry about performance. current each time refresh records, just current page and some buffer page is loaded, if sync selection, maybe have to load all result record. just think about23:32
Not-be5dnew way to sync selection, just compare key of all result record, so not need load complete record, just viewKey data, so performance can acceptable. i still curious how [~pshepetko] can redo his issue after my patch, it's importance to improve code to cover all case.23:32
Not-be5d[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-309423:32
*** a42niem has joined #idempiere23:42

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!