IDempiere/FullMeeting20150218

From WikiQSS

Table of Contents | Full Meeting Minutes | Full Meeting 2015-02-18

CarlosRuiz: Good Morning - greetings from Quito
JanThielemann: hi
JanThielemann: CarlosRuiz, do you know a way to display a new window from within an eventhandler or singleton which is started on login?
JanThielemann: from within my editor i can access AEnv.getDesktop() and add it there like i described in my latest google groups post
CarlosRuiz: I haven't tried that
JanThielemann: the thing is: in my event handlers login event, i start up my asterisk server listener. This one get's notified about all incoming and outgoing calls. when a new callis incoming, i want to show the same popup i can show from my editor when i make the call
JanThielemann: but inthe editor i already have the desktop available so i can add my window easily
JanThielemann: how to do that in an not component class? :/
CarlosRuiz: JanThielemann, don't know the details but maybe you can make it similar to how broadcasting message works
CarlosRuiz: I think is created on top of hazelcast messaging
JanThielemann: but broadcast is in the core i think
JanThielemann: i don't want to modify the core :)
CarlosRuiz: I mean create something similar in the plugin
CarlosRuiz: would be great if an incoming call can trigger some BP Information about the caller
JanThielemann: thats what i'm trying to do :/
JanThielemann: when a call comes in i want to show a windwo. also i can add osgi extension points here so other plugins could also do something with the information
JanThielemann: i don't understand why SessionManager.getAppDesktop() and AEnv.getDesktop() return null
CarlosRuiz: I remember hengsin helped me to solve something similar - it was something related to Executions.getCurrent if I recall correctly
JanThielemann: trying in this second :D
JanThielemann: but i think it will also be null
JanThielemann: because i played with this in my editor already
JanThielemann: and there it was always null
JanThielemann: (depending on where i used it=
JanThielemann: yep it's null in my listener
CarlosRuiz: looking AbstractComponent.checkDetach
CarlosRuiz: they have an exception "You cannot access a desktop other than an event listener"
JanThielemann: but how could i send events if i don't have a desktop to schedule them to xD
CarlosRuiz: maybe our desktop must be an event listener?
JanThielemann: hieplq, ayt? any ideas :(
JanThielemann: i already wasted 3 hours to find a solution :/
CarlosRuiz: JanThielemann, if you can set up some test plugin scenario - just a few lines to do what you're trying with a dummy window
CarlosRuiz: I can try to research it later
JanThielemann: i'll do it
CarlosRuiz: today I have a flight wait :)
JanThielemann: :)
hieplq: yes. with your test plug-in it's easy to try solution and give you correct advice
JanThielemann: but it will be hard to test if you don't have asterisk telephony xD
JanThielemann: you cat get notifications :(
JanThielemann: it seems that in the event handler, there IS a desktop and exections.getcurrent()
JanThielemann: is it legit to store the session together with the desktop in a hashtable?
ocurieles: Hi Jan, I am with Carlos Ruiz and tells me about your plugin Asterisk, I can help you test
CarlosRuiz: I don't have asterisk - so I think a dummy plugin code that tries to open the window as you want
ocurieles: I have asterisk to test
JanThielemann: i will try one more thing and if it does not work i'll try to create a testplugin for you guys. anyway, i will post my experience on google groups
JanThielemann: ocurieles, great, i will send you the plugin as soon as it is done or i fail again. :)
ocurieles: do you have a public repository ?? to check this?
JanThielemann: yes, will upload it later
JanThielemann: AD_Session stores a "websession" string
ocurieles: Ok, ready, my skype is orcsistemas if you need
JanThielemann: can i get this string from the context?
JanThielemann: added you
CarlosRuiz: Jan, you have the #AD_Session_ID in context
JanThielemann: ok. already thought that i would have to use this to load the sessipon
CarlosRuiz: going out for breakfast - will be back in half hour
JanThielemann: guten hunger
CarlosRuiz: JanThielemann, I'm back
JanThielemann: wb
JanThielemann: i got to go now
JanThielemann: but i managed to at least display my window
JanThielemann: by storing the desktop from within my eventhandler into a hashmap with the session
JanThielemann: then i can get the desktop via the session and use it to send events
CarlosRuiz: so, problem solved?
JanThielemann: in onEvent i can finally add the windows sind AEnv.getDesktop is not null in onEvent
norbertbede: hi @all
CarlosRuiz: Hi norbertbede
norbertbede: just want to share. we are running production version 3 allready 4 weeks succesfully. mainly gui issues are reported ongoing
norbertbede: i mean version with zk7 and jetty
CarlosRuiz: excellent news
ocurieles: Hi @nobertbede i will pass my production Server to 3.0 this week, thanks for sharing
norbertbede: we are running 3 companies on this server
norbertbede: most problems we have with zk outstanding behaves
norbertbede: like column width
norbertbede: but generally we are happy
norbertbede: will rollout next 30 users and monthly 5000 invoices in 6 weeks
norbertbede: then next feedbacks comming again
norbertbede: so if possible pls help fix anybody reported zk7 issues
norbertbede: ocurieles we can share experiences
ocurieles: sure
mhernandezve: Hello partners!
CarlosRuiz: Hi Miguel
ocurieles: Mr. Hernandez :D
mhernandezve: Hi CarlosRuiz ocurieles
Fafali: hi
Fafali: anybody here?
CarlosRuiz: Hi Fafali
Fafali: how r u Carlos?
CarlosRuiz: fine here - and you?
Fafali: great
Fafali: I started learning Adempiere at my boss"s request 3days ago and i am completely at sea...
Fafali: yet the pressure grows as the days go by
Fafali: who wld be kind enough to help explain a few things
CarlosRuiz: bad news you're learning obsolete system
CarlosRuiz: you must learn iDempiere :)
Fafali: what's the latest then
Fafali: oh ok
Fafali: but he"s bent on the Adempiere tho
Fafali: wld u be king enough to walk me through
Fafali: ???
Fafali: *kind
CarlosRuiz: I'm wondering how did you arrive at this IRC channel?
Fafali: well i was looking around for people who could help
CarlosRuiz: cos every day we receive a soul lost in adempiere - even some had came recently blaming (rudely) us because adempiere has not a release in last 2 years :)
CarlosRuiz: so, wondering where did you find the link to this IRC channel
CarlosRuiz: don't misunderstand me :) we're happy you arrived here - just wondering
Fafali: lol
Fafali: i googled
Fafali: i am actually glad i found someone here
CarlosRuiz: we use to meet wednesdays to chat about tickets and technical things - so today is crowded
Fafali: i want to learn everything but i don't know where to start
hieplq: maybe we must re-name :D, i see many people come here to ask for adempiere
Fafali: lol
CarlosRuiz: :)
Fafali: so no help on Adempiere?
CarlosRuiz: Fafali, we usually recommend to total newbies to try the Bayu's book - adempiere 3.4
CarlosRuiz: is still maybe 90% compatible with adempiere in the functional terms
CarlosRuiz: I mean, most of what you find in the book is valid still in idempiere
CarlosRuiz: just a few things we have improved - i.e. we dropped cash journals (which is mentioned in the book) - in favour of payment window
CarlosRuiz: if you're skilled enough you can try to install it locally for your tests - but many people complain is not that easy to install (it requires some technical knowledge to overcome common issues)
CarlosRuiz: if you prefer to go straight you can use on of the demo/test sites to play
Fafali: i installed it on ubuntu
Fafali: with much trouble i might add
CarlosRuiz: but seriously - better play with idempiere - don't waste your time with adempiere
Fafali: i"ll prep another server then
CarlosRuiz: if you don't believe me - try the adempiere IRC and forums :-)
Fafali: i do believe u until u give me a reason not to
Fafali: i will take ur word and try it
Fafali: i am very grateful
Fafali: i really am
CarlosRuiz: there is an ubuntu installer you can try
hieplq: @CarlosRuiz wdyt about my new shortcut handle in IDEMPIERE-2112. it's not complete but i will take time to improve it's accepted
CarlosRuiz: hieplq, that's a big patch - thanks for working on that
CarlosRuiz: in principle I haven't tested but looking at the code seems like a good approach to allow it configurable
CarlosRuiz: how is it configured - via a properties file? or a theme file?
hieplq: to configuration, default it map with current shortcut. i will make a new form for configuration.
CarlosRuiz: it can be a theme thing maybe
hieplq: i think it should store configuration in database and per user.
CarlosRuiz: not sure end-user configuration of keyboard is the best in an ERP
CarlosRuiz: firstly we are a lot restricted by the browser - a keyboard shortcut can work in a browser and be restricted in other
CarlosRuiz: and many shortcuts don't work because the browser uses it at first
hieplq: because, let end-user test it in his prefer browse.
norbertbede: one note here: osx checking system wide shortcuts display "!" user cant save it
CarlosRuiz: some of those configurable things can be corporate - defined by the implementor or IT
norbertbede: but understand general appraoch.
norbertbede: just FYI
CarlosRuiz: or we can allow corporate - and if the implementor wants to give freedom to users then allow it on some installations
norbertbede: in this case i agree with carlos because could be wired…
CarlosRuiz: same thinking about theme that norbertbede raised recently in forums
norbertbede: this could be useful around CRM i mean
CarlosRuiz: some implementors would prefer to make it "implementor standard" - others want to allow a user to change it
norbertbede: because sales people are important and lazy :)
norbertbede: and CRMs quite open in this way
CarlosRuiz: there is also another reason - for IT support
CarlosRuiz: supporting one theme - is easier than supporting 10 themes selectable by users
CarlosRuiz: same with shortcuts
hieplq: ok. configuration is extend part because will make interface to other can easy code by his method.
CarlosRuiz: I'm ok with user-configurable things - just advising that we need to think also on implementors that want to disable such user-configurability and force i.e. one theme
hieplq: ok will do as that.
hieplq: please also help me review IDEMPIERE-2389. i'm tested patch from Deepak and it's work for me.
hieplq: remain some layout error report norbert, will fix when you merged it to core (just for don't confused my code)
CarlosRuiz: ok, will try to check it
norbertbede: a question related to csv import
norbertbede: can i import e.g. products with 2 colunns 1. value 2. productcategoryvalues
norbertbede: with update option /key will be search key of product
norbertbede: dont want update all columns
norbertbede: wdyt
CarlosRuiz: if I understood correctly that's the idea of update option
CarlosRuiz: you want a file to update the product category searching by product value
norbertbede: yep
norbertbede: but want manipulate only 2 columns
CarlosRuiz: yes
norbertbede: ah i see. thanks
CarlosRuiz: that's the idea of update
CarlosRuiz: for merge you need to have at least all mandatory columns without default - but for update is just the columns you need to update and the key
norbertbede: ok.
norbertbede: thanks well goint to test
aguerra: Hello Carlos
CarlosRuiz: Hi Alejandro