#441 Packin is not uploading properly the files v3.6 WebUI

open
Carlos Ruiz
None
3
2010-11-25
2010-11-24
pedro rozo
No

Using an Adempiere 3.6 build from the trunk with patches and migation scripts uptodate, postgre 8 and CentoS.

1. Whith the webui(zk) When you specifiy a 2pack file to import within the window: Packin - Import a Package, for example : FestivosColombia_2006_2010.zip
2. Adempiere upload the file to the temporary directory, /tmp in my case (CentOs), (OK) and leaves this temporary filename in the field:package source: /tmp/adempiere_6734872014213835192_FestivosColombia_2006_2010.zip
3. when you push the button Packin, it fails with this error message: FillMandatory - Package Source

Workaround : if you upload manually with FTP the packin file (.zip file) to the /tmp folder or any other server folder, and you manually write the path in the field package source , the import works without any problem, so something is missing during the upload process.

4. Here the log file.

-----------> GridTable.saveWarning: FillMandatory - Package Source
[13]

Host = localhost : 10199 (null)

Database = localhost : 5432 / adempiere361
Schema = adempiere
User/Contact = System
Role = System Administrator
Client = System
Organization = *
Date = 2010-11-24 09:23:42
Printer =
Implementation Vendor = ${ADEMPIERE_VENDOR}
Implementation Version = ${ADEMPIERE_VERSION} 20101123-0713
AdempiereHome = /smartjsp/apps/adempiere361
AdempiereProperties = /smartjsp/apps/adempiere361/Adempiere.properties
Language=[English,Locale=en_US,AD_Language=en_US,DatePattern=MM/DD/YYYY,DecimalPoint=true]
MClient[0-SYSTEM]
Multi Lingual Documents = true
BaseLanguage = true/true
Java HotSpot(TM) Server VM 17.0-b16
java.io.tmpdir=/tmp
Linux 2.6.18-194.17.1.el5 unknown
Max Heap = 494M
Allocated Heap = 257M
Free Heap = 119M
Active Threads = 75
=== Environment === -1006591153
ADempiere(r) 3.6.0LTS+P20101105_2010-06-14 -Smart Suite ERP,CRM and SCM- (c) 1999-2010 ADempiere(r); Implementation: ${ADEMPIERE_VERSION} 20101123-0713 - ${ADEMPIERE_VENDOR}
cl-t056-411cl.privatedns.com/72.55.164.244
localhost{localhost-adempiere361-adempiere} adempiere@jdbc:postgresql://localhost:5432/adempiere361?encoding=UNICODE
-
DB_PostgreSQL[null]
AppsServerOK=true, DatabaseOK=true

=== Context ===
#AD_Client_ID == 0
#AD_Client_Name == System
#AD_Language == en_US
#AD_Org_ID == 0
#AD_Org_Name == *
#AD_PrintColor_ID == 100
#AD_PrintFont_ID == 130
#AD_PrintPaper_ID == 100
#AD_PrintTableFormat_ID == 100
#AD_Role_ID == 0
#AD_Role_Name == System Administrator
#AD_SearchDefinition_ID == 50000
#AD_Session_ID == 1000038
#AD_User_ID == 0
#AD_User_Name == System
#C_ConversionType_ID == 114
#C_Country_ID == 100
#C_Region_ID == 142
#C_UOM_ID == 100
#Date == 2010-11-24 09:23:42
#IsLiberoEnabled == Y
#LanguageName == English
#Locale == en_US
#SalesRep_ID == 0
#ShowAcct == N
#ShowAdvanced == Y
#ShowTrl == Y
#StdPrecision == 2
#SysAdmin == Y
#User_Level == S
#YYYY == Y
1|0|AD_Client_ID == 0
1|0|AD_Org_ID == 0
1|0|AD_Override_Dict == N
1|0|AD_Package_Dir == /tmp
1|0|AD_Package_Imp_Proc_ID == 1000000
1|0|AD_Package_Source ==
1|0|AD_Package_Source_Type == File
1|0|Created == 2010-11-22 22:18:02
1|0|CreatedBy == 0
1|0|IsActive == Y
1|0|Processing == N
1|0|Updated == 2010-11-22 22:18:02
1|0|UpdatedBy == 0
1|0|_TabInfo_AD_Tab_ID == 50008
1|0|_TabInfo_AD_Table_ID == 50008
1|0|_TabInfo_AccessLevel == 4
1|0|_TabInfo_KeyColumnName == AD_Package_Imp_Proc_ID
1|0|_TabInfo_Name == PackIn
1|0|_TabInfo_SQL == SELECT AD_Client_ID,AD_Org_ID,AD_Package_Source_Type,AD_Package_Source,AD_Package_Dir,AD_Override_Dict,Processing,IsActive,AD_Package_Imp_Proc_ID,Created,CreatedBy,Updated,UpdatedBy FROM AD_Package_Imp_Proc WHERE AD_Package_Imp_Proc.AD_Client_ID=0 AND AD_Package_Imp_Proc.AD_Org_ID=0 AND AD_Package_Imp_Proc.AD_Package_Imp_Proc_ID NOT IN ( SELECT Record_ID FROM AD_Private_Access WHERE AD_Table_ID = 50008 AND AD_User_ID <> 0 AND IsActive = 'Y' ) ORDER BY Created
1|0|_TabInfo_TabLevel == 0
1|AD_Client_ID == 0
1|AD_Org_ID == 0
1|AD_Override_Dict == N
1|AD_Package_Dir == /tmp
1|AD_Package_Imp_Proc_ID == 1000000
1|AD_Package_Source_Type == File
1|AutoCommit == N
1|AutoNew == N
1|BaseTable_ID == 50008
1|Created == 2010-11-22 22:18:02
1|CreatedBy == 0
1|IsActive == Y
1|IsSOTrx == Y
1|Processing == N
1|Updated == 2010-11-22 22:18:02
1|UpdatedBy == 0
1|WindowName == PackIn - Import a package
AutoCommit == N
AutoNew == N
Login.RememberMe == Y
P103|Type == S
P189|DataType == S
P53004|AD_Org_ID == 0
P53005|Action == C
P53032|AD_Org_ID == 0
P53034|AD_Org_ID == 0
P53035|AD_Org_ID == 0
P53044|C_DocType_ID == 115
P53046|A_Entry_Type == TRN
P53046|C_DocType_ID == 115
P53047|A_Entry_Type == DIS
P53047|C_DocType_ID == 115
P53051|A_Entry_Type == SPL
P53051|C_DocType_ID == 115
P53051|GL_Category_ID == 108
P53053|A_Entry_Type == DEP
P53053|C_DocType_ID == 115
P53055|A_Entry_Type == NEW
P53055|C_DocType_ID == 115
org.compiere.model.DefaultRole == MRole[0,System Administrator,UserLevel=S ,AD_Client_ID=0,AD_Org_ID=0]
org.compiere.util.CLogErrorBuffer.errors == []
org.compiere.util.CLogErrorBuffer.history == []
org.compiere.util.CLogErrorBuffer.issueError == true
org.compiere.util.CLogErrorBuffer.logs == [java.util.logging.LogRecord@10ec3f3]
org.compiere.util.CLogger.lastWarning == Package Source

servlet.sessionId == 167443584A870992ED6814DA33869E2E

=== System ===
ADEMPIERE_HOME=/smartjsp/apps/adempiere361
AD_Client_ID=0
PROPERTIES_FILE=tsmx.properties
ServerApps=1
TSMX_VERSION=unknown
bind.address=localhost
catalina.base=/smartjsp/apps/adempiere361/jboss/server/adempiere
catalina.ext.dirs=/smartjsp/apps/adempiere361/jboss/server/adempiere/lib
catalina.home=/smartjsp/apps/adempiere361/jboss/server/adempiere
catalina.useNaming=false
com.arjuna.ats.arjuna.objectstore.objectStoreDir=/smartjsp/apps/adempiere361/jboss/server/adempiere/data/tx-object-store
com.arjuna.ats.jta.lastResourceOptimisationInterface=org.jboss.tm.LastResource
com.arjuna.ats.tsmx.agentimpl=com.arjuna.ats.internal.jbossatx.agent.LocalJBossAgentImpl
com.arjuna.common.util.logger=log4j_releveler
com.arjuna.common.util.logging.DebugLevel=0x00000000
com.arjuna.common.util.logging.FacilityLevel=0xffffffff
com.arjuna.common.util.logging.VisibilityLevel=0xffffffff
com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog
com.sun.faces.injectionProvider=org.jboss.web.jsf.integration.injection.JBossInjectionProvider
common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
hibernate.bytecode.provider=javassist
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.headless=true
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/smartjsp/apps/adempiere361/jboss/bin/run.jar:/smartjsp/apps/java/jdk1.6.0_21/lib/tools.jar
java.class.version=50.0
java.endorsed.dirs=/smartjsp/apps/adempiere361/jboss/lib/endorsed
java.ext.dirs=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/smartjsp/apps/java/jdk1.6.0_21/jre
java.io.tmpdir=/tmp
java.library.path=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386/server:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386:/smartjsp/apps/java/jdk1.6.0_21/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.net.preferIPv4Stack=true
java.protocol.handler.pkgs=org.jboss.net.protocol
java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader
java.rmi.server.codebase=http://localhost:18083/
java.rmi.server.hostname=localhost
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_21-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_21
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=17.0-b16
javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl
javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
jboss.bind.address=localhost
jboss.home.dir=/smartjsp/apps/adempiere361/jboss
jboss.home.url=file:/smartjsp/apps/adempiere361/jboss/
jboss.identity=98ae329bb7f94bcfx-73da942fx12c5f1fe0f1x-8000563
jboss.lib.url=file:/smartjsp/apps/adempiere361/jboss/lib/
jboss.remoting.domain=JBOSS
jboss.remoting.instanceid=98ae329bb7f94bcfx-73da942fx12c5f1fe0f1x-8000563
jboss.remoting.jmxid=cl-t056-411cl.privatedns.com_1290514881269
jboss.remoting.version=22
jboss.server.base.dir=/smartjsp/apps/adempiere361/jboss/server
jboss.server.base.url=file:/smartjsp/apps/adempiere361/jboss/server/
jboss.server.config.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/conf/
jboss.server.data.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/data
jboss.server.home.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere
jboss.server.home.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/
jboss.server.lib.url=file:/smartjsp/apps/adempiere361/jboss/server/adempiere/lib/
jboss.server.log.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/log
jboss.server.name=adempiere
jboss.server.temp.dir=/smartjsp/apps/adempiere361/jboss/server/adempiere/tmp
jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3
jgroups.bind_addr=localhost
line.separator=

mail.host=smtp.gmail.com
mail.smtp.auth=true
mail.smtp.port=587
mail.smtp.starttls.enable=true
mail.store.protocol=smtp
mail.transport.protocol=smtp
org.adempiere.server.embedded=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
org.w3c.dom.DOMImplementationSourceList=org.apache.xerces.dom.DOMXSImplementationSourceImpl
os.arch=i386
os.name=Linux
os.version=2.6.18-194.17.1.el5
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
path.separator=:
program.name=run.sh
server.loader=
shared.loader=
sun.arch.data.model=32
sun.boot.class.path=/smartjsp/apps/adempiere361/jboss/lib/endorsed/xercesImpl.jar:/smartjsp/apps/adempiere361/jboss/lib/endorsed/serializer.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/resources.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/rt.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/sunrsasign.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/jsse.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/jce.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/lib/charsets.jar:/smartjsp/apps/java/jdk1.6.0_21/jre/classes
sun.boot.library.path=/smartjsp/apps/java/jdk1.6.0_21/jre/lib/i386
sun.cpu.endian=little
sun.cpu.isalist=
sun.io.unicode.encoding=UnicodeLittle
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.management.compiler=HotSpot Tiered Compilers
sun.os.patch.level=unknown
tomcat.util.buf.StringCache.byte.enabled=true
user.country=US
user.dir=/smartjsp/apps/adempiere361/utils
user.home=/smartjsp/apps/adempiere361
user.language=en
user.name=adempiere
user.timezone=America/Montreal

Pedro.

Discussion

  • pedro rozo
    pedro rozo
    2010-11-24

    • assigned_to: nobody --> globalqss
     
  • Carlos Ruiz
    Carlos Ruiz
    2010-11-25

    Hi Pedro, there is a workaround for this:

    When the file is uploaded, you copy the complete filename (for example, you copy the /tmp/adempiere_6734872014213835192_FestivosColombia_2006_2010.zip to your clipboard).

    When you try to save it, the field is cleared, and then you can paste again the filename and save.

    I guess the problem is with the filename component on zkwebui not setting properly the editor value when returning, or something like that, I'll try to review it later, but as it has a known workaround (and documented here) I still won't consider it a stopper (that's why I'm assigning priority 3)

    Regards,

    Carlos Ruiz

     
  • Carlos Ruiz
    Carlos Ruiz
    2010-11-25

    • labels: 938090 -->
    • priority: 5 --> 3