#idempiere IRC log for Tuesday, 2015-08-18

Not-8b5f[iDempiere2.1] jenkins built #280 completed (success) http://ci.idempiere.org/job/iDempiere2.1/280/00:08
Not-8b5f[iDempiere] CarlosRuiz_globalqss pushed 2 commits to release-2.1 [+0/-0/±4] https://bitbucket.org/idempiere/idempiere/commits/01:12
Not-8b5f[iDempiere] globalqss 978afa1 - more refactoring IDEMPIERE-1132 foreign key management for ticket IDEMPIERE-2745 - do not create FK if same already exists in DB01:12
Not-8b5f[iDempiere] globalqss ed5c457 - IDEMPIERE-2745 2Pack is not creating foreign keys - foreign key processing needs to be done at the end as the primary keys of related tables can be inexistent when processing columns01:12
*** CarlosRuiz has quit IRC01:17
Not-8b5f[iDempiere2.1] jenkins built #281 completed (success) http://ci.idempiere.org/job/iDempiere2.1/281/01:36
Not-8b5f[iDempiere2.1Daily] jenkins built #126 completed (success) http://ci.idempiere.org/job/iDempiere2.1Daily/126/04:38
*** a42niem has joined #idempiere04:46
*** KermitTheFragger has joined #idempiere06:14
*** norbertbede has joined #idempiere09:21
norbertbedehi all09:21
norbertbedeim looking for a solution - when docaction - complete ask user e.g. y/n09:22
norbertbedei remember something around Jan Thielman, accidentally cant find this09:22
norbertbedehe made solution around enter currency… to field09:22
*** norbertbede has quit IRC09:28
*** norbertbede has joined #idempiere09:41
*** norbertbede1 has joined #idempiere10:05
*** norbertbede has quit IRC10:08
*** norbertbede has joined #idempiere10:18
*** norbertbede1 has quit IRC10:19
*** CarlosRuiz has joined #idempiere12:12
*** ChanServ sets mode: +o CarlosRuiz12:12
*** norbertbede has quit IRC12:42
*** norbertbede has joined #idempiere12:43
*** CarlosRuiz has quit IRC13:03
*** CarlosRuiz has joined #idempiere13:04
*** ChanServ sets mode: +o CarlosRuiz13:04
norbertbedehi CarlosRuiz13:31
CarlosRuizHi norbertbede13:31
norbertbedei have a quick question13:31
CarlosRuizyep?13:32
norbertbedewe found today a critical issue - something like validator running twice - validator which extends abstract event handler13:32
norbertbedeany experience ? we running 3.013:33
norbertbedelocal enviroment running properly13:33
norbertbedewe are in phase identifying trouble13:33
norbertbedeany idea would be helpful13:34
CarlosRuizit happened to me13:35
CarlosRuizwhen playing with a validator13:35
CarlosRuizfrom OSGi console13:35
CarlosRuizI stopped the validator - and then started again13:35
CarlosRuizI was trying the validator to reprocess the 2pack13:35
CarlosRuizand I found that the validator was registered twice13:35
CarlosRuizseems like in start is registered - but on stop is not unregistered13:36
CarlosRuizso if you start it again - it's registered two times - and if you restart it - three times - and so on13:36
norbertbedestop in osgi by command or felix13:36
CarlosRuizI did it in console - but it must be the same on felix13:36
CarlosRuizthat's a possible cause13:37
CarlosRuizthe other cause can be that your validator is registering at wrong place13:37
CarlosRuizI remember I fixed something about replication that was registering the validator on each login13:37
CarlosRuizah yes - here   https://idempiere.atlassian.net/browse/IDEMPIERE-235413:38
norbertbedeyes remember13:39
norbertbedethis was reported by tomassvikruha13:40
norbertbedewe will check it13:40
norbertbedewe have review the log now13:40
norbertbedeand really looks all validators are twoce13:40
norbertbede*twice13:40
norbertbedeprobably we lost this patch meantime13:40
norbertbedethanks for follow up, going to troubleshootiing13:42
*** tsvikruha has joined #idempiere13:43
CarlosRuizyw13:43
tsvikruhaHi CarlosRuiz, I'm sitting here with norbertbede13:44
CarlosRuizhi Tomas13:44
tsvikruhaThat patch for IDEMPIERE-2354 is solving only replication validators..13:44
tsvikruhanow we are checking logs which are generated when server starts13:45
tsvikruhain each validator we have log like "VALIDATOR IS NOW INITIALIZED" in initialize method (validators extends AbstractEventHandler)13:46
tsvikruhaand logs are duplicated - that means that validators are initialized two times13:47
tsvikruhabut only on production envioronment - when running from eclipse everything is fine13:48
tsvikruhait's really strange, i can't fine why there are initialised two times…13:48
tsvikruhamaybe plugins with validators are not correcly generated? can be something in MANIFEST or build.properties files?13:52
CarlosRuizyou can check if it can be replicated with one of the community plugins on test14:00
Not-8b5f[iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/14:19
Not-8b5f[iDempiere] globalqss ffc4bd5 - IDEMPIERE-1328 Change tab name dynamically / implement format and indirect for title logic too (it was working for recent items) / refresh recent item on buttons14:19
Not-8b5f[IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-132814:19
Not-8b5f[IDEMPIERE] [~allgood], [~nmicoud], I made some improvements with commit https://bitbucket.org/idempiere/idempiere/commits/ffc4bd5 Can you please test it?14:19
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-132814:19
Not-8b5f[iDempiere2.1] jenkins built #282 completed (success) http://ci.idempiere.org/job/iDempiere2.1/282/14:36
*** tsvikruha has left #idempiere15:20
*** KermitTheFragger has quit IRC15:26
*** norbertbede has quit IRC15:29
*** mhernandezve has joined #idempiere15:36
*** egil_ has joined #idempiere16:17
egil_Hi @CarlosRuiz16:17
egil_how are you16:17
CarlosRuizHi egil_16:34
egil_i am very well thank you16:43
CarlosRuiz:D16:43
CarlosRuizhow was your flight?16:43
egil_you know i am debuging the order problem. result that the behavior is expected if you create a payment manually16:44
egil_my flight excelent16:44
egil_did not whan to return to panama. Panamian woman make me sad16:44
egil_jeje16:44
egil_I write just this code to solve if the Morder.paymentrule is cash16:46
egil_if (getPaymentRule().compareTo(MOrder.PAYMENTRULE_Cash)==0){ MPayment payment=new Query(getCtx(), MPayment.Table_Name, "C_Invoice_ID=?",get_TrxName()) .setParameters(invoice.getC_Invoice_ID()).first(); if (payment.reverseCorrectIt()) { payment.setDocStatus(MPayment.DOCSTATUS_Reversed); info.append(" ").append(payment.getDocumentNo()); } else { m_processMsg = "Could not reverse Payment " +16:46
egil_Because i think if the payment is created automaticaly it should be reverseIt in same way16:47
egil_and i wanted to ask you first16:47
egil_if you are agree with that16:47
CarlosRuizdon't remember the case - can you please open a JIRA ticket (if is still not open) and attach your patch there?16:49
egil_Yes of course i will do it and explain what i sugges is a change in invoice reverse and not only for order.16:52
egil_i opened a jira ticket in past days16:53
egil_https://idempiere.atlassian.net/browse/IDEMPIERE-276616:53
*** norbertbede has joined #idempiere16:55
*** egil_ has quit IRC17:35
Not-8b5f[IDEMPIERE] carlosruiz_globalqss created IDEMPIERE-2774 Record_ID button not working from detail tab17:36
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-277417:36
Not-8b5f[iDempiere] CarlosRuiz_globalqss pushed 2 commits to release-2.1 [+2/-0/±12] https://bitbucket.org/idempiere/idempiere/commits/17:39
Not-8b5f[iDempiere] globalqss 74a17cc - IDEMPIERE-2774 Record_ID button not working from detail tab17:39
Not-8b5f[iDempiere] globalqss 1097018 - IDEMPIERE-2771 Improve 2pack tracing for errors / make 2pack more traceable: (1) added link between ad_package_imp and ad_package_imp_proc, added tab on Pack In to see the detail when processed, make the detail zoomable and show zoomable objects on Package Maintenance17:39
Not-8b5f[iDempiere2.1] jenkins built #283 completed (success) http://ci.idempiere.org/job/iDempiere2.1/283/18:06
*** a42niem has quit IRC19:54
*** mhernandezve has quit IRC20:24
*** aguerra has joined #idempiere20:28
Not-8b5f[IDEMPIERE] carlosruiz_globalqss updated IDEMPIERE-2774 status set to "Resolved" -resolution set to "Fixed"20:37
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-277420:37
aguerrahi people!!! Help me pls!!!!20:44
aguerrasimple question for fast answer ...20:44
aguerrai don't know how i do to print to console when i use method public Query(Properties ctx, MTable table, String whereClause, String trxName)20:45
aguerraregards.20:45
*** egil_ has joined #idempiere21:23
*** aguerra has quit IRC21:30
Not-8b5f[iDempiere] CarlosRuiz_globalqss pushed 1 commit to release-2.1 [+0/-0/±1] https://bitbucket.org/idempiere/idempiere/commits/21:39
Not-8b5f[iDempiere] globalqss 55dcf6c - IDEMPIERE-2745 2Pack is not creating foreign keys / fix lock21:39
*** norbertbede has quit IRC22:01
Not-8b5f[iDempiere2.1] jenkins built #284 completed (success) http://ci.idempiere.org/job/iDempiere2.1/284/22:07
Not-8b5f[IDEMPIERE] egil0902 updated IDEMPIERE-2766 Attachment set to "MInvoice.patch"22:37
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-276622:37
Not-8b5f[IDEMPIERE] egil0902 updated IDEMPIERE-276622:39
Not-8b5f[IDEMPIERE] Hi [~carlosruiz_globalqss]arlosRuiz. Attach i put the a patch for your evaluation to solve the problem when reverse orders with payment rule cash. There was really 2 problems all of them was in MInvoice: 1. The system did not controled that the payment was created automatically and void the allocation related to the invoice and payment but not reverse the payment. 2. When the reversal document is created22:39
Not-8b5fapply the same rule if paymentRule was cash create a payment and also create an allocation with the original document and the reversal document, allocating twice the reversal document. [^MInvoice.patch]22:39
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-276622:39
Not-8b5f[IDEMPIERE] egil0902 updated IDEMPIERE-276622:39
Not-8b5f[IDEMPIERE] Hi [~carlosruiz_globalqss]. Attach i put the a patch for your evaluation to solve the problem when reverse orders with payment rule cash. There was really 2 problems all of them was in MInvoice: 1. The system did not controled that the payment was created automatically and void the allocation related to the invoice and payment but not reverse the payment. 2. When the reversal document is created apply the22:39
Not-8b5fsame rule if paymentRule was cash create a payment and also create an allocation with the original document and the reversal document, allocating twice the reversal document. [^MInvoice.patch]22:39
Not-8b5f[IDEMPIERE] http://idempiere.atlassian.net/browse/IDEMPIERE-276622:39
egil_Hi. Ready the patch for your evaluation22:40
egil_https://idempiere.atlassian.net/browse/IDEMPIERE-276622:40

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