<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://globalqss.com/wiki/index.php?action=history&amp;feed=atom&amp;title=IDempiere%2FFullMeeting20121219</id>
	<title>IDempiere/FullMeeting20121219 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://globalqss.com/wiki/index.php?action=history&amp;feed=atom&amp;title=IDempiere%2FFullMeeting20121219"/>
	<link rel="alternate" type="text/html" href="https://globalqss.com/wiki/index.php?title=IDempiere/FullMeeting20121219&amp;action=history"/>
	<updated>2026-04-05T20:06:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://globalqss.com/wiki/index.php?title=IDempiere/FullMeeting20121219&amp;diff=213&amp;oldid=prev</id>
		<title>CarlosRuiz: full meeting</title>
		<link rel="alternate" type="text/html" href="https://globalqss.com/wiki/index.php?title=IDempiere/FullMeeting20121219&amp;diff=213&amp;oldid=prev"/>
		<updated>2012-12-19T15:49:23Z</updated>

		<summary type="html">&lt;p&gt;full meeting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- breadcrumb --&amp;gt;&lt;br /&gt;
&amp;lt;font size=-2&amp;gt;&lt;br /&gt;
&amp;amp;lArr;&lt;br /&gt;
[[IDempiere|Table of Contents]] |&lt;br /&gt;
[[IDempiere/Full Meeting Minutes|Full Meeting Minutes]] |&lt;br /&gt;
Full Meeting 2012-12-19&lt;br /&gt;
&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''''CarlosRuiz''''': Good Morning&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': Bonjour&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': how're things going Nicolas?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': Well, nearly in holidays ;)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': ah yes - same here - next week I'll be on vacations&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': so, everything's fine !&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': will try to disconnect completly, at least for some days&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': and will be back in 2013 to rule the world using idempiere :))&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': trying to plan some vacations activities and found skydive close to where I'll be  :-)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': travelling ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': yep - going to the caribbean&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': great !&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': have fun&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': motivated to work on some tickets today ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': as always  :-)   reading your comments on IDEMPIERE-526&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': yes, i think i'm close to the solution, but i'm missing something&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': in your example B is summary - and A,C,D are leafs?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': yes&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': ah I see - using &amp;quot;move item here&amp;quot; behaves different than dropping&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': yep&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': &amp;quot;move item&amp;quot; method (which i called cut/paste) seems to work properly&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': back to AdempiereTreeModel - saveChangedNodes&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Daarestiet!&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': seems that the &amp;quot;to.getChildCount()&amp;quot; retrieves a false value ; that's why the from node is updated twice&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': hi thomas&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Did not Jens say he implemented lazy trees? Is this in the tree already? It might be that this bug goes away if he reworked the tree code.&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': ...in the trunk..&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i don't think that the trunk was updated with lazy trees&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': This bug seems to be very old&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': IDEMPIERE-531 &amp;quot;Lazy Loading Trees&amp;quot; - you should look there if you work on it&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': I think JanThielemann&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i don't work on it ; Jan did it for a customer and was ready to share this feature if his customer agreed&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': No code there. JanThielemann, is there a contribution?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Nicolas&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': in the case of drop the to has the moved node twice&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': He should tell if he agrees you will repair the c&amp;amp;p-Bug for him. ;-)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': :))&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': So his customer will understand the principles of open source&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': Carlos, do you see a reason ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': seems like with the cut/paste the cut removes the node from the tree and then insert it again&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': meanwhile the drop is not removing it first&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i've try to play with VTReeTransferHAndler_importData&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': where there is a if statement dedicated to d&amp;amp;d ; to remove the node ; but was not succesful&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': where is the &amp;quot;move item&amp;quot; event captured?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': in VTreeTransferHandler, no ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': VTreePanel line 789&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i see it&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': so - according to that the solution would be that the drop event removes the node from the old position before calling save&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': when this 'remove' is done ? and where ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': haven't found&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': d&amp;amp;d and move should arrive to a same class/method ? the only difference is in VtreeTransferHandler.importData, nope ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Nicolas&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': I'm trying this one&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': diff -r db4bbc33f63a org.adempiere.ui.swing/src/org/compiere/grid/tree/VTreeTransferHandler.java&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': --- a/org.adempiere.ui.swing/src/org/compiere/grid/tree/VTreeTransferHandler.java Wed Dec 19 18:18:26 2012 +0800&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': +++ b/org.adempiere.ui.swing/src/org/compiere/grid/tree/VTreeTransferHandler.java Wed Dec 19 08:58:12 2012 -0500&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': @@ -97,6 +97,7 @@&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':     if (from == to)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':      return false;&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':  &amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': +   model.removeNodeFromParent(from);&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':     index = dl.getChildIndex();&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':     if ( index == -1 )&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':      index = 0;  // insert as first child&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': but the parent is not removing the children&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': I mean - the line that I'm adding must remove the A org when dropping it - but it's not - troubleshooting why&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': ok&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': CarlosRuiz, could it also be related to the window used  ? APanel or VTreeMaintenance ???&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': as I see the item is removed from the node - but from a different MTreeNode object&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': that would explain the problem ; where do you see it ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': on the line I added&amp;lt;br&amp;gt;&lt;br /&gt;
'''''a42niem''''': hi all&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': if you navigate inside the removeNodeFromParent - the parent GW has a different id than the from out &amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Hi Dirk&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Daarestiet, Dirk!&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': Hi Dirk&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i'm looking&amp;lt;br&amp;gt;&lt;br /&gt;
'''''a42niem''''': buenos dias Carlos, guten tag Thomas, bonjour Nicolas :)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Hi Jens&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Hi Jens&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': CarlosRuiz, I want to look at IDEMPIERE-454 (import/export). Is there anything new you are working on but is not yet released?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': HI CarlosRuiz&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': Hi tbayen&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Thomas - we have been working with Juan trying to define how to mark the keycolumns on the csv header&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': and the action to take with such keys&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': our agreement until now is to use&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''':     /KI   /KM   /KU   annotations after the columnname&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': for insert / update or merge operations over the key&amp;lt;br&amp;gt;&lt;br /&gt;
'''''a42niem''''': hallo Jens&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': You annotate this in the header - not for every key? So the whole file is an insert or a update file?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': yes - I think action is per file&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': Jens - struggling today with nmicoud  trying to catch a bug on treepanel&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': http://jira.idempiere.com/browse/IDEMPIERE-526&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': nmicoud, I have an ugly patch - but seems is working  :-)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': great !&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': we'll try to make it nice ina 2nd time&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': uploaded - can you please test it?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': yep, i'll do it&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': Exception in thread &amp;quot;AWT-EventQueue-0&amp;quot; java.lang.IllegalArgumentException: node does not have a parent. in organization window, try to move fertilizer&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': tbayen, integrated the pull-request 53&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': thanks &amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': :-)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': CarlosRuiz, the importer is not implemented in Swing, isn't it?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': nope - just zk at this moment&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': but implementing the button on swing must be easy&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': I looked into AExport.java how it was done. (I am not used to this code part yet.) Would'nt it be better to call a process (and open the standard process parameter window)?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': AExport opens two question-windows one after each other. In zk it looks nicer (like the parameter input of process).&amp;lt;br&amp;gt;&lt;br /&gt;
'''''buildmaster''''': Project iDempiere build #611: SUCCESS in 8 min 28 sec: http://jenkins.idempiere.com/job/iDempiere/611/&amp;lt;br&amp;gt;&lt;br /&gt;
'''''buildmaster''''': * Carlos Ruiz &amp;lt;carg67@gmail.com&amp;gt;: Merged in tbayen/idempiere (pull request #53: IDEMPIERE-428, IDEMPIERE-81, equinox launcher version independence in adempiere-client.sh)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''buildmaster''''': * hg: use of the equinox launcher is version independent&amp;lt;br&amp;gt;&lt;br /&gt;
'''''buildmaster''''': * tbayen: Merge with cf39fc7edafa6439d3e44e564c20e1c869cab0b6&amp;lt;br&amp;gt;&lt;br /&gt;
'''''buildmaster''''': * tbayen: Script did not work with actual plugin version. Enhancement for calling with VM args&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': tbayen, the idea is to export content from the window&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': I understand: The process has no direct access to the window, right?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': nmicoud, you're right - patch is behaving very badly&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': yes tbayen - no access to window info&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': and it worked for you ? at least once ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Hmmm.... thinking.... why should the export/import be dependend from a window? We could use it in scripts later for automatic importing.&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': it worked from within eclipse when I was playing&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': after I logged out and in - it's showing now the error you said&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': i've tried it within eclipse the 1st time&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': it throws this error&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': It may be dependend from the definition of a window (which means from a given window ID). Perhaps you could give a &amp;quot;preferred&amp;quot; tab (and use the frontmost for that). But I should not depend on an opened window.&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': nmicoud, &amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': reading aboud DnD&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': http://docs.oracle.com/javase/tutorial/uiswing/dnd/intro.html&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': what I think is that the class didn't implement properly the drag event - just the drop&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': the drag event must behave like the cut&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': CarlosRuiz: our file looks different by now...&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': maybe implementing exportAsDrag ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': ah - interesting - if Jens sources changes this - maybe we better wait for your code&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': yep&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': is that related to lazy trees ?&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': nmicoud: yes&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': i just attached that one file here: http://jira.idempiere.com/browse/IDEMPIERE-526&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': dont know, if this works for idempiere as well, or if something is missing&amp;lt;br&amp;gt;&lt;br /&gt;
'''''jmpiloq''''': we still need to clean up a bit, since we have lots of other changes all over the place...&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': ok thanks, i'll have a look at it&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': CarlosRuiz, some month ago we talked about JasperReports. I wanted them to reflect the active window. I wanted to get information about filter and order of the current window into the process. I did not solve this at this time (it is still on m list). This seems similar: Export looks like a process for me but it could use some information about GUI state.&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': nmicoud, I don't have time to test it - but I think maybe implementing exportAsDrag to behave as cut can do the trick&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': ok carlos, i will have a look at last patch from Jens. And then have a look a exportAsDrag&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': will update ticket with test results&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': thanks&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': gtg now - c u then&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': bye bye&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': cu&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': thanks for the meeting&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': may the FOSS be with you  :-)&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': ah - by the way&amp;lt;br&amp;gt;&lt;br /&gt;
'''''CarlosRuiz''''': happy new year!!   I think I'm not going to attend next meeting (vacations) - so wishing you all a great 2013 - if world survives the mayan prophecy  :-D&amp;lt;br&amp;gt;&lt;br /&gt;
'''''nmicoud''''': :))&amp;lt;br&amp;gt;&lt;br /&gt;
'''''tbayen''''': Hapy new year too... First thing will do to adjust adempiere calendars to the new mayan age... Seems like a kind of the Y2K problem&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>CarlosRuiz</name></author>
		
	</entry>
</feed>