IDempiere/FullMeeting20130626

From WikiQSS
Revision as of 14:24, 26 June 2013 by CarlosRuiz (talk | contribs) (full meeting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Table of Contents | Full Meeting Minutes | Full Meeting 2013-06-26

JanThielemann: hi carlosruiz
JanThielemann: can you help me? i created a toolbar button for webui but if i enter @AD_Table_ID@=318 as the display logic, the button never shows up
CarlosRuiz: Hi JanThielemann
JanThielemann: button should only be visible on sales order and invoice windoww
nmicoud: did you have last sources ?
nmicoud: it has been corrected on monday i think
JanThielemann: maybe from monday
JanThielemann: ah ok^^
JanThielemann: i'll check
nmicoud: https://bitbucket.org/idempiere/idempiere/commits/2c061f4edd7b6255838d114a7cd0ccabb1080c29
CarlosRuiz: JanThielemann, is @AD_Table_ID@ in the context?
JanThielemann: it's shown in the help menu
AlexYang: Hi everyone
CarlosRuiz: I don't see AD_Column_ID in the context when opening sales order
CarlosRuiz: Hi AlexYang
nmicoud: Hi Alex
JanThielemann: CarlosRuiz: it's actually like this: 1|0|_TabInfo_AD_Table_ID == 259
CarlosRuiz: I see AD_Window_ID and AD_Window_UU - but seems like those context are wrongly named
CarlosRuiz: in such case maybe @0|_TabInfo_AD_Table_ID@=259 as display logic? but that will show it just on first tab
CarlosRuiz: you can do that also adding the button as a window toolbar button
JanThielemann: how would i do this?
nmicoud: and why not using "@AD_Window_UU@ = 'blablabla' | @AD_Window_UU@ = 'tototototototo'" ?
CarlosRuiz: like this Jan -> http://wiki.idempiere.org/en/NF001_WindowTabToolbarButton
JanThielemann: thx
AlexYang: I found a bug about org.adempiere.report.jasper.webapp
AlexYang: you can't export the fragment based on this plugin, detail here: https://groups.google.com/forum/?fromgroups#!topic/idempiere/5yHjI5BfgWo
CarlosRuiz: Good morning everybody
PedroRozo: Hi everyone ...
nmicoud: Bonjour !
AlexYang: could you kindly check?
JanThielemann: @AD_Window_ID@ does a good job
CarlosRuiz: JanThielemann, but I think that context variable name is bad
JanThielemann: why? it's the actual window id
JanThielemann: thats even better than table id
JanThielemann: since c_invoice has two windows
JanThielemann: c_order as well
CarlosRuiz: I mean the name AD_Window_ID - it will collide if the window has a field named AD_Window_ID
nmicoud: should be equals, no ?
AlexYang: Pedro, what's your smartpos status now? will it convert to idempiere 1.0?
nmicoud: oops, i say nothing...
CarlosRuiz: i.e. table & column window - that variable must be broken
nmicoud: then, means that all context variables are badly names no ? eg: AD_Tab_ID
AlexYang: Hi Jan, I see your tutorials in wiki about feature project. I have a question to ask you
CarlosRuiz: there is no AD_Tab_ID -> is _TabInfo_AD_Tab_ID
CarlosRuiz: the prefix is to avoid the collision
nmicoud: actually i use @AD_Tab_ID@ ; i should use _TabInfo_AD_Tab_ID ; right ?
JanThielemann: AlexYang: feel fre to ask
CarlosRuiz: yep - I think there is no AD_Tab_ID in the context
CarlosRuiz: so - I would propose to change those three variables WindowName, AD_Window_ID and AD_Window_UU - to have the prefix _TabInfo
AlexYang: can you include all your customized plugin and fragments in a single feature project?
JanThielemann: yes
AlexYang: including your own plugins and fragments, and the official plugins and fragment that you have modified, such like org.adempiere.base, org.adempiere.ui.zk?
JanThielemann: never modify core plugins :)
JanThielemann: luckily for you, i just creatd a new tutorial
JanThielemann: i think the "good to know" section will help you a lot
AlexYang: let me check :)
AlexYang: do you mean this one? http://wiki.idempiere.org/en/Developing_Plug-Ins_-_Create_a_Feature-Project_to_export_Plug-Ins_and_Fragments
hengsin: carlos, that should be _WindowInfo instead of _TabInfo
CarlosRuiz: _WinInfo
CarlosRuiz: yep - looking that "WindowName" has some additional impact elsewhere
CarlosRuiz: AlexYang, sorry - we were not ignoring your question - just that we were on the middle of another :-)
CarlosRuiz: but I don't know the answer for your forum post
AlexYang: Carlos, what do you mean?
AlexYang: are you talking about: PS: I have tried export fragment for "org.adempiere.ui.zk" the same, it can exported successfully. So I guess it's a bug for "org.adempiere.report.jasper.webapp".
CarlosRuiz: yep - I would need to do the tests to reproduce that, but don't have the scenario
CarlosRuiz: I think nmicoud was testing something similar - fragment over jasper?
nmicoud: yes
nmicoud: but my pb was with the image
AlexYang: Carlos, i can sent my code to you including my plugin and fragment
CarlosRuiz: yes AlexYang - I think it will be ok to open a jira ticket and upload your case as attachment
AlexYang: Hengsin, do you have any update for the issue I reported?
AlexYang: Carlos, I'll create a jira for sure
AlexYang: Another question, how to let zk cell to get focus after loaded? any hit
AlexYang: also a forum thread for detail: https://groups.google.com/forum/?fromgroups#!topic/idempiere/Wz4JiFAj_uI
CarlosRuiz: nope - I've never tried that
AlexYang: Yes, I know it's not common. :)
AlexYang: Just to show the capability that we can achieve this.
AlexYang: But after struggled several days, I didn't find a good solution
PedroRozo: quick answer for AlexYang question regarding SmartPOS 2.0 (plugin for Idempiere 1.0) is still under heavy development and testing this and the next week .. but hope to have a pre-release soon for testers ...
AlexYang: Cool. thanks Pedro for your update
PedroRozo: because it is our first "serious migration to idempiere" there are many topics to fix and standarized in our practices ...
PedroRozo: BTW: Thanks Jan for your tutorials ... we are usign them as references and good rpactices to speed up some our development workflows ...
CarlosRuiz: everybody's using Jan's tutorials - I used to check LCO migration
CarlosRuiz: great docs JanThielemann !!!!
ci-idempiere-org: Project iDempiere build #1246: SUCCESS in 5 min 19 sec: http://ci.idempiere.org/job/iDempiere/1246/
ci-idempiere-org: globalqss: IDEMPIERE-234 Configurable Toolbar / Prefix _WinInfo_ for context variables AD_Window_UU, AD_Window_ID and WindowName
AlexYang: Definitely, nice tutorials
AlexYang: have any idea to let zk grid cell to get focus? :)
hengsin: Alex, can you elaborate in more detail what you are trying to achieve here ?
AlexYang: Sure, hengsin
AlexYang: I have asked two questions tonight:)
nmicoud: Carlos, WDYT of the patch suggested for http://jira.idempiere.com/browse/IDEMPIERE-1033 ? i think that should work, no ?
AlexYang: first, I found that my fragment can't be exported. It said "org.adempiere.report.jasper.webapp" can't be identified.
AlexYang: I have sent my code to your gmail already
AlexYang: second, i have a window with detailpane, i want the first cell of the first line of the detailpane get focues after end user open this zk window. But i don't know how to achieve this.
AlexYang: Hengsin, is it clear enough? ^_^
AlexYang: here is the detail for fragment issue: https://groups.google.com/forum/?fromgroups#!topic/idempiere/5yHjI5BfgWo
AlexYang: detail for zk cell focus issue: https://groups.google.com/forum/?fromgroups#!topic/idempiere/Wz4JiFAj_uI
Edwin_Ang: hi everyone
Edwin_Ang: wussup :)
nmicoud: hi Edwin
CarlosRuiz: Hi Edwin_Ang
Edwin_Ang: hi nicolas
Edwin_Ang: hi Carlos
nmicoud: trying to answer questions of Alex : https://groups.google.com/forum/?fromgroups#!topic/idempiere/5yHjI5BfgWo & https://groups.google.com/forum/?fromgroups#!topic/idempiere/Wz4JiFAj_uI
CarlosRuiz: nmicoud, I'll take a look to IDEMPIERE-1033 after release
nmicoud: ok
CarlosRuiz: I've planned to do release between today and tomorrow
nmicoud: oh ! good news !
Edwin_Ang: great! :)
CarlosRuiz: 1.0c - candidate - and open maintenance branch for 1.0c - so in some way this is the definite release
CarlosRuiz: but first of all I need to check the IDEMPIERE-1104 - there are some loose ends to fix there
nmicoud: yes, i guess it depends of the size of the organization which is running idempiere
PedroRozo: quick question: how will the process to release/apply patches be for idempiere in the future ? I have
hengsin: probably maintenance release and you can apply that from a hosted p2 repo
CarlosRuiz: yep - most probably we'll set up jenkins to compile against the maintenance branch too - so is just using update.sh against that p2
PedroRozo: let´s me validate if I udnersatnd correctly, let´s assume that we have an idempiere prod environment (no development resources around) ... just using that update.sh script (update.bat in windows I assume) we will be able to apply the changes/patches from the p2 repository ? do we need to have the server down as adempiere before, or due to the dynamic way of OSG container can be performed with the server up ?
CarlosRuiz: I've always applied with the server down - specially as usually I need to apply migration scripts
CarlosRuiz: don't know if it works with the server up
PedroRozo: Thta is ok ...Carlos .. do you have a suggested URL or example about the usage of this update.sh script ? I am tring to target a quick transition to production for of our first smartpos customer soon, but I want to be familiar with this patching processes soon ...
CarlosRuiz: I stop the server - change to idempiere home
CarlosRuiz: and run
CarlosRuiz: sh update.sh http://ci.idempiere.org/job/iDempiere/ws/buckminster.output/org.adempiere.server_1.0.0-eclipse.feature/site.p2/
CarlosRuiz: apply the migration scripts with a script like this one
CarlosRuiz: https://bitbucket.org/CarlosRuiz_globalqss/idempiere-stuff/src/tip/script_to_sync_db/syncApplied.sh
CarlosRuiz: and that's all - start again idempiere
PedroRozo: great .. is there any side impact to have in mind during/after this process ?
CarlosRuiz: as usual - first try that in a test env, test, test, test, and then do it in prod
PedroRozo: sure ... thanks fo your tip ...
ci-idempiere-org: Project iDempiere build #1247: SUCCESS in 5 min 10 sec: http://ci.idempiere.org/job/iDempiere/1247/
ci-idempiere-org: * hengsin: Merge e3ba7855a947
ci-idempiere-org: * hengsin: IDEMPIERE-729 Firefox becomes very slow randomly after working on zkwebui. Reduce timeout and GC cycle for xmlhttprequest.
PedroRozo: performance & tuning question ... which tool do you guys use to analyze memory leaks with adempiere/idempiere ....
hengsin: eclipse mat
hengsin: works great to identify memory leak for me.
PedroRozo: do you generate JVM dumps ? an analize them with visualVm or mat ? any other approach ...
hengsin: the more tricky one is to identify client side memory leak ( javascript ), still struggling on that ...
hengsin: yes, generate jvm dumps and analize with mat
hengsin: we also auto capture jvm dump from demo.idempiere.com when it crash
hengsin: i uses jmap to capture jvm dump
PedroRozo: thanks Hengsin ..
hengsin: -XX:-HeapDumpOnOutOfMemoryError to auto generate heap dump for OutOfMemoryError
PedroRozo: yes we already java that JVM parameter in environments .. now: Integration question: our web services tests to integrate Android devices with adempeir/idempiere did´t have good results in the past (due to android restrictions for security and web services support).....
PedroRozo: we are evaluating a nice new protocol called: MQTT supported in android and also available with activeMQ ... have you guys eprformed something similar, any other "ligth" approach (different to web services) to integrate with adempiere/idempiere
AlexYang: have to go now. have a good day!
xolali:
AlexCR: buen dia a todos
ci-idempiere-org: Project iDempiere build #1248: SUCCESS in 5 min 46 sec: http://ci.idempiere.org/job/iDempiere/1248/
ci-idempiere-org: hengsin: IDEMPIERE-1012 Missing fields on detail when open for edition. Apply fix to url field.
CarlosRuiz: Hola AlexCR
AlexCR: carlos hay algun manual que me muestre como correr idempiere desde mi eclipse
CarlosRuiz: está para ubuntu - pero se de quienes lo han aplicado en windows y funciona
CarlosRuiz: http://www.globalqss.com/wiki/index.php/IDempiere
AlexCR: muchas gracias
ci-idempiere-org: Project iDempiere build #1249: SUCCESS in 5 min 25 sec: http://ci.idempiere.org/job/iDempiere/1249/
ci-idempiere-org: hengsin: DEMPIERE-1113 Make standard processes more extensible by plugin
ci-idempiere-org: Project iDempiere build #1250: SUCCESS in 5 min 14 sec: http://ci.idempiere.org/job/iDempiere/1250/
ci-idempiere-org: hengsin: minor footer height adjustment.
ci-idempiere-org: Project iDempiere build #1251: SUCCESS in 5 min 45 sec: http://ci.idempiere.org/job/iDempiere/1251/
ci-idempiere-org: globalqss: IDEMPIERE-1104 Payments all get the same accounting date as the reconciling bank statement regardless of transaction date / IDEMPIERE-480