#idempiere IRC log for Tuesday, 2015-06-16

Not-604a[IDEMPIERE] norbert.bede updated IDEMPIERE-2283 status set to "Reopened" -resolution set to "None"00:41
Not-604a[IDEMPIERE] i found some issues - would be nice to fix. 1. xls export doesnt handle sysconfig values - original behaviour 2. scheduler doesnt handle sysconfig values - original behaviour (pdf)00:41
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-228300:41
*** hieplq has joined #idempiere01:39
*** PabloValdivia has joined #idempiere05:45
*** red1 has joined #idempiere06:16
*** ChanServ sets mode: +o red106:16
Not-604a[IDEMPIERE] tbayen created IDEMPIERE-2683 exchange jar-files through OSGi packages from repositories06:20
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268306:20
Not-604a[IDEMPIERE] tbayen updated IDEMPIERE-268306:25
Not-604a[IDEMPIERE] The process of exchanging a jar file has several steps. As an example I replaces the jasperreports library. It is included in the plugin org.adempiere.report.jasper.libraries. # identify an OSGi plugin in a repository. The best guess is to look at http://mvnrepository.com. I found an actual library file here: http://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/5.6.1 . To check if this is06:25
Not-604aOSGi-capable you can download the jar-file and see if we have a file "META-INF/MANIFEST.MF". If you look into that you see if that is an OSGi bundle definition. # Add a search path to the rmap of our Buckminster06:25
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268306:25
*** a42niem has joined #idempiere06:27
*** nmicoud has joined #idempiere06:27
Not-604a[IDEMPIERE] tbayen updated IDEMPIERE-268306:41
Not-604a[IDEMPIERE] The process of exchanging a jar file has several steps. As an example I replaces the jasperreports library. It is included in the plugin org.adempiere.report.jasper.libraries. # identify an OSGi plugin in a repository. The best guess is to look at http://mvnrepository.com. I found an actual library file here: http://mvnrepository.com/artifact/net.sf.jasperreports/jasperreports/5.6.1 . To check if this is06:41
Not-604aOSGi-capable you can download the jar-file and see if we have a file "META-INF/MANIFEST.MF". If you look into that you see if that is an OSGi bundle definition. # Add a search path to the rmap of our Buckminster installation You can open the file "org.adempiere.sdk-feature/adempiere.rmap" and add one or two entries: One is a general locator that maps from a plugin name to a repository using a regex: {code}06:41
Not-604a<rm:locator pattern="^net\.sf\.jasperreports(\..+)?" searchPathRef="bundles.maven"/> {code} Please note that the maven central repository is already configured (later in the file). It is represented through the "bundles.maven" reference. After that we need a mapping to translate a plugin name into the artifactId and groupId of the maven central repository: {code} <maven:entry artifactId="jasperreports"06:41
Not-604agroupId="net.sf.jasperreports" name="net.sf.jasperreports.engine"/> {code} In our case the OSGi plugin name is a bit different from the maven name (it ends with the word "engine". The mapping alllows to translate that. _(I dont know if this entry is needed if the naming scheme is more standard.)_ # remove the dependency to the jar file Remove the jar file from the classpath in the MANIFEST.MF. And remove it from the06:41
Not-604aEclipse classpath. Then you can delete the jar file in the trunk. # create a new dependency from our plugin to the OSGi plugin In the file org.adempiere.report.jasper.library/META-INF/MANIFEST.MF you should add an entry to the Require-Bundle section like that: {code} Require-Bundle: net.sf.jasperreports.engine;bundle-version="5.6.1" {code} You can not do this step in the Eclipse manifest editor but you have to do it06:41
Not-604ain the text editor. (If someone can improve my workflow to make that easie please comment!) # restart the buckminster initialization This is the same procedure that you did when you installed your workspace the first time. After that you better clean and rebuild the whole workspace.06:41
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268306:41
*** KermitTheFragger has joined #idempiere06:44
Not-604a[IDEMPIERE] tbayen updated IDEMPIERE-268306:50
Not-604a[IDEMPIERE] I want here to give a link to http://wiki.idempiere.org/en/Decrease_Idempiere_Repository06:50
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268306:50
*** is-mw has joined #idempiere07:11
Not-604a[IDEMPIERE] tbayen updated IDEMPIERE-169807:13
Not-604a[IDEMPIERE] Our new plugin had some issues in the actual trunk version. Some changes in the trunk over the last year make it impossible (again) to deinstall the old plugin. We thought again about the whole issue and now we think that it might be good to be able to use both plugins at the same time (to make the transition easier). The technical problem with that is that both plugins need to use one common interface07:14
Not-604aclass (JRViewerProvider) and one common JasperReports library. We solved that in the way that our new plugin uses these things from the old plugin. That works well and allows to mix both. If we are later sure that our plugin is much better and we do not need the old one any more we can think about moving these both things either to the new plugin or to org.adempiere.base (or even to a new plugin of its own).07:14
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-169807:14
Not-604a[IDEMPIERE] hieplq updated IDEMPIERE-268307:43
Not-604a[IDEMPIERE] Hi [~tbayen]. about07:43
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268307:43
Not-604a[IDEMPIERE] hieplq updated IDEMPIERE-268307:58
Not-604a[IDEMPIERE] Hi [~tbayen]. about avoid jar file in truck, have two solution 1. same as zk library in 3.0 2. as i description at https://groups.google.com/d/msg/idempiere/jRcEziAV7dI/Ls8tStFbv7EJ about your above description: + with rmap. all file after download will go to targetPlatform not in your plug-in folder. when you change dependency in plug-in you must update rmap file, so it will don't standard for extend07:58
Not-604aplug-in + about <maven:entry artifactId="jasperreports" groupId="net.sf.jasperreports" name="net.sf.jasperreports.engine"/> "name" is for resolver material but it's also name for library dependency. so it must is name of bundle. other you can material but can't compiler or compiler but can't material.07:58
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268307:58
*** nmicoud has left #idempiere07:58
*** posde has quit IRC08:03
*** PabloValdivia1 has joined #idempiere08:03
*** posde has joined #idempiere08:04
*** PabloValdivia has quit IRC08:05
*** hieplq has quit IRC08:14
*** KermitTheFragger has quit IRC09:17
*** KermitTheFragger has joined #idempiere09:21
*** red1 has quit IRC09:33
*** red1 has joined #idempiere09:34
*** ChanServ sets mode: +o red109:34
*** red1 has quit IRC09:36
*** red1 has joined #idempiere09:36
*** ChanServ sets mode: +o red109:36
*** hieplq has joined #idempiere10:23
Not-604a[IDEMPIERE] d_ruiz created IDEMPIERE-2684 JASPER_STARTER_CLASS is hard coded in ProcessUtil10:42
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268410:42
Not-604a[IDEMPIERE] d_ruiz updated IDEMPIERE-2684 Attachment set to "IDEMPIERE-2684.patch"10:54
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268410:54
*** hieplq has quit IRC12:13
*** druiz has joined #idempiere12:34
*** druiz has quit IRC13:00
*** nmicoud has joined #idempiere13:24
*** CarlosRuiz has joined #idempiere13:26
*** ChanServ sets mode: +o CarlosRuiz13:26
*** norbertbede has joined #idempiere13:30
*** CarlosRuiz has quit IRC13:41
*** mhernandezve has joined #idempiere13:43
*** mhernandezve has quit IRC13:46
Not-604a[IDEMPIERE] alan.lesc1 updated IDEMPIERE-203613:59
Not-604a[IDEMPIERE] I'm not trying to change the way RMA works. But the logic, currently, is not correct. A part of code (mostly) assumes the product UOM and part (minority) of the shipment/invoice/order line UOM. And it should be corrected to work either product UOM or line UOM. Bellow topics explain why I think it's better to use product UOM: - When there is not an option to select a UOM (RMA doesn't allows the selection13:59
Not-604aof one), it should be used the product UOM. This is a concept we can see in other parts of iDempiere. And a company may sell in 6-pack but may accept returns in minimum unit (each). - There is a lot of work in code to work with product UOM. Ex: at present, beforeSave on RMA line (call to checkQty()) allows adjusting qty to max product UOM. But calculated price is using entered UOM. This is a logic mistake. At13:59
Not-604apresent, creating RMA/Returns with different UOM, create documents with wrong amounts.13:59
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-203613:59
*** mhernandezve has joined #idempiere14:02
*** ocurielesIngeint has joined #idempiere14:03
*** CarlosRuiz has joined #idempiere14:12
*** ChanServ sets mode: +o CarlosRuiz14:12
*** red1_ has joined #idempiere14:37
*** ChanServ sets mode: +o red1_14:37
*** red1 has quit IRC14:40
*** druiz has joined #idempiere14:52
CarlosRuizHi druiz - tbayen14:52
druizHi14:53
druiz@CarlosRuiz14:53
CarlosRuizas you were interested in postgresql performance some days ago14:53
tbayenHi14:53
CarlosRuizI just noticed that c3p0 released a new version14:53
CarlosRuizhttps://github.com/swaldman/c3p0/blob/master/src/dist-static/CHANGELOG14:53
CarlosRuizc3p0-0.9.5.114:53
CarlosRuizthis comment called my attention14:54
CarlosRuiz"Added a forceSynchronousCheckins config param, which can be a significant performance boost"14:54
CarlosRuizso maybe can be worthy to give it a try for your test case stressing postgresql14:54
druizOk, Thx14:57
*** druiz has quit IRC14:58
*** red1_ has quit IRC14:58
*** red1 has joined #idempiere14:58
*** ChanServ sets mode: +o red114:58
Not-604a[IDEMPIERE] nmicoud created IDEMPIERE-2685 Jasper process field should be visible only for Advanced roles15:21
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268515:21
*** red1_ has joined #idempiere15:31
*** ChanServ sets mode: +o red1_15:31
*** red1 has quit IRC15:33
*** ocurielesIngeint has quit IRC15:35
*** red1_ has quit IRC15:41
*** red1 has joined #idempiere15:41
*** ChanServ sets mode: +o red115:41
*** red1_ has joined #idempiere15:44
*** ChanServ sets mode: +o red1_15:44
*** norbertbede has quit IRC15:46
*** red1 has quit IRC15:47
*** hieplq has joined #idempiere15:48
*** red1_ has quit IRC15:51
*** red1 has joined #idempiere15:51
*** ChanServ sets mode: +o red115:51
*** KermitTheFragger has quit IRC15:52
*** hieplq has quit IRC16:04
Not-604a[IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2684 labels set to "+Patch"16:07
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268416:07
*** norbertbede has joined #idempiere16:18
*** red1_ has joined #idempiere16:22
*** ChanServ sets mode: +o red1_16:22
*** red1_ has quit IRC16:23
*** red1_ has joined #idempiere16:24
*** ChanServ sets mode: +o red1_16:24
*** red1 has quit IRC16:26
*** nmicoud has quit IRC17:15
*** nmicoud has joined #idempiere17:18
*** norbertbede has quit IRC17:34
*** nmicoud has quit IRC17:36
*** nmicoud has joined #idempiere18:02
Not-604a[IDEMPIERE] nmicoud updated IDEMPIERE-2685 Attachment set to "IDEMPIERE-2685.patch"18:09
Not-604a[IDEMPIERE] Hi [~carlosruiz_globalqss] This patch set 2 columns that points to Jasper Reports process (in Print format and Financial Report) in ReadOnly mode when the role is not 'Advanced'. Regards, Nicolas18:09
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268518:09
Not-604a[IDEMPIERE] nmicoud updated IDEMPIERE-2685 status set to "Peer Review Queue"18:09
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268518:09
Not-604a[IDEMPIERE] nmicoud updated IDEMPIERE-2685 labels set to "+Patch"18:09
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268518:09
Not-604a[IDEMPIERE] nmicoud updated IDEMPIERE-2685 assignee set to "Carlos Antonio Ruiz Gomez"18:09
Not-604a[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-268518:09
*** nmicoud has quit IRC18:31
*** norbertbede has joined #idempiere19:19
*** red1 has joined #idempiere19:24
*** ChanServ sets mode: +o red119:24
*** red1_ has quit IRC19:28
*** red1 has quit IRC19:54
*** red1 has joined #idempiere19:54
*** ChanServ sets mode: +o red119:54
*** red1 has quit IRC19:59
*** red1 has joined #idempiere20:03
*** ChanServ sets mode: +o red120:03
*** red1 has quit IRC20:04
*** red1 has joined #idempiere20:04
*** ChanServ sets mode: +o red120:04
*** CarlosRuiz has quit IRC20:04
*** norbertbede has quit IRC20:16
*** norbertbede has joined #idempiere20:21
*** norbertbede has quit IRC20:44
*** norbertbede has joined #idempiere20:51
*** norbertbede has quit IRC21:11
*** norbertbede has joined #idempiere21:19
*** norbertbede has quit IRC21:20
*** norbertbede has joined #idempiere21:21
*** mhernandezve has quit IRC21:29
*** mhernandezve has joined #idempiere21:47
*** mhernandezve has quit IRC22:24
*** mhernandezve has joined #idempiere22:41
*** a42niem has quit IRC22:58
*** mhernandezve has quit IRC23:33

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