[jira] [Closed] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang closed OFBIZ-5732. Resolution: Fixed Assignee: Wei Zhang Fix Version/s: Trunk done > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang > Fix For: Trunk > > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Roll back error, could not commit transaction, was rolled back > instead because of: Service [sendMailMultiPart] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: The following > required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The > following required parameter is missing: [IN] [sendMailMultiPart.bodyParts]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263488#comment-15263488 ] Wei Zhang commented on OFBIZ-5732: -- Hi Jacques, Yes, the OFBIZ-5732 and OFBIZ-6686 are the same one. Re. OFBIZ-3379-2.patch. I don't think it is correct and the required prameter bodyParts still missed. Regards, Wei > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Roll back error, could not commit transaction, was rolled back > instead because of: Service [sendMailMultiPart] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: The following > required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The > following required parameter is missing: [IN] [sendMailMultiPart.bodyParts]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5732) Error in sendMailHiddenInLog service
[ https://issues.apache.org/jira/browse/OFBIZ-5732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261579#comment-15261579 ] Wei Zhang commented on OFBIZ-5732: -- Should I commit my fix? > Error in sendMailHiddenInLog service > > > Key: OFBIZ-5732 > URL: https://issues.apache.org/jira/browse/OFBIZ-5732 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang > > I got the following error when calling sendMailHiddenInLog, see the errors > below. > {code} > 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ > ServiceDispatcher.java:550:ERROR] > exception report > -- > Could not commit transaction for service [sendMailHiddenInLog] call > Exception: org.ofbiz.entity.transaction.GenericTransactionException > Message: Roll back error, could not commit transaction, was rolled back > instead because of: Service [sendMailMultiPart] threw an unexpected > exception/errororg.ofbiz.service.ServiceValidationException: The following > required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The > following required parameter is missing: [IN] [sendMailMultiPart.bodyParts]) > cause > - > Exception: org.ofbiz.service.ServiceValidationException > Message: The following required parameter is missing: [IN] > [sendMailMultiPart.bodyParts] > stack trace > --- > org.ofbiz.service.ServiceValidationException: The following required > parameter is missing: [IN] [sendMailMultiPart.bodyParts] > org.ofbiz.service.ModelService.validate(ModelService.java:630) > org.ofbiz.service.ModelService.validate(ModelService.java:572) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) > org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:606) > org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) > org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) > org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) > org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) > org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > java.lang.Thread.run(Thread.java:745) > > {code} > I think we should miss the code below before line 667 in EmailServices.java > {code} > newContext.put("bodyParts", bodyParts); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-7024) Attribute 'placeholder' is not allowed to appear in element 'text'
[ https://issues.apache.org/jira/browse/OFBIZ-7024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang closed OFBIZ-7024. Resolution: Fixed Fix Version/s: Trunk > Attribute 'placeholder' is not allowed to appear in element 'text' > -- > > Key: OFBIZ-7024 > URL: https://issues.apache.org/jira/browse/OFBIZ-7024 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Fix For: Trunk > > > The placeholder attribute is not defined in widget-form.xsd -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-7024) Attribute 'placeholder' is not allowed to appear in element 'text'
Wei Zhang created OFBIZ-7024: Summary: Attribute 'placeholder' is not allowed to appear in element 'text' Key: OFBIZ-7024 URL: https://issues.apache.org/jira/browse/OFBIZ-7024 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang Assignee: Wei Zhang Priority: Minor The placeholder attribute is not defined in widget-form.xsd -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6775) Duplicated to display jGrowl error message when open a popup dialog.
[ https://issues.apache.org/jira/browse/OFBIZ-6775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang closed OFBIZ-6775. Resolution: Fixed > Duplicated to display jGrowl error message when open a popup dialog. > > > Key: OFBIZ-6775 > URL: https://issues.apache.org/jira/browse/OFBIZ-6775 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: Duplicated jGrowl Error.png > > > See the screen below. > !Duplicated jGrowl Error.png! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6775) Duplicated to display jGrowl error message when open a popup dialog.
[ https://issues.apache.org/jira/browse/OFBIZ-6775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6775: - Description: See the screen below. !Duplicated jGrowl Error.png! was:See the screen below. > Duplicated to display jGrowl error message when open a popup dialog. > > > Key: OFBIZ-6775 > URL: https://issues.apache.org/jira/browse/OFBIZ-6775 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: Duplicated jGrowl Error.png > > > See the screen below. > !Duplicated jGrowl Error.png! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6775) Duplicated to display jGrowl error message when open a popup dialog.
[ https://issues.apache.org/jira/browse/OFBIZ-6775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6775: - Attachment: Duplicated jGrowl Error.png > Duplicated to display jGrowl error message when open a popup dialog. > > > Key: OFBIZ-6775 > URL: https://issues.apache.org/jira/browse/OFBIZ-6775 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: Duplicated jGrowl Error.png > > > See the screen below. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6775) Duplicated to display jGrowl error message when open a popup dialog.
Wei Zhang created OFBIZ-6775: Summary: Duplicated to display jGrowl error message when open a popup dialog. Key: OFBIZ-6775 URL: https://issues.apache.org/jira/browse/OFBIZ-6775 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang Priority: Minor See the screen below. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6762) Show JGrowl alert when using ajax submit form
[ https://issues.apache.org/jira/browse/OFBIZ-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang closed OFBIZ-6762. Resolution: Fixed Fix Version/s: Trunk > Show JGrowl alert when using ajax submit form > - > > Key: OFBIZ-6762 > URL: https://issues.apache.org/jira/browse/OFBIZ-6762 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Fix For: Trunk > > Attachments: ajaxSubmitFormAlert.png, ajaxSubmitFormJGrowlAlert.png > > > The current alert for ajax submit form is like below > !ajaxSubmitFormAlert.png! > and the improved alert should be > !ajaxSubmitFormJGrowlAlert.png! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6762) Show JGrowl alert when using ajax submit form
[ https://issues.apache.org/jira/browse/OFBIZ-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6762: - Description: The current alert for ajax submit form is like below !ajaxSubmitFormAlert.png! and the improved alert should be !ajaxSubmitFormJGrowlAlert.png! was: The current alert is like below !! > Show JGrowl alert when using ajax submit form > - > > Key: OFBIZ-6762 > URL: https://issues.apache.org/jira/browse/OFBIZ-6762 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: ajaxSubmitFormAlert.png, ajaxSubmitFormJGrowlAlert.png > > > The current alert for ajax submit form is like below > !ajaxSubmitFormAlert.png! > and the improved alert should be > !ajaxSubmitFormJGrowlAlert.png! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6762) Show JGrowl alert when using ajax submit form
[ https://issues.apache.org/jira/browse/OFBIZ-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6762: - Attachment: ajaxSubmitFormJGrowlAlert.png ajaxSubmitFormAlert.png > Show JGrowl alert when using ajax submit form > - > > Key: OFBIZ-6762 > URL: https://issues.apache.org/jira/browse/OFBIZ-6762 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: ajaxSubmitFormAlert.png, ajaxSubmitFormJGrowlAlert.png > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6762) Show JGrowl alert when using ajax submit form
[ https://issues.apache.org/jira/browse/OFBIZ-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6762: - Description: The current alert is like below !! > Show JGrowl alert when using ajax submit form > - > > Key: OFBIZ-6762 > URL: https://issues.apache.org/jira/browse/OFBIZ-6762 > Project: OFBiz > Issue Type: Improvement > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Priority: Minor > Attachments: ajaxSubmitFormAlert.png, ajaxSubmitFormJGrowlAlert.png > > > The current alert is like below > !! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6762) Show JGrowl alert when using ajax submit form
Wei Zhang created OFBIZ-6762: Summary: Show JGrowl alert when using ajax submit form Key: OFBIZ-6762 URL: https://issues.apache.org/jira/browse/OFBIZ-6762 Project: OFBiz Issue Type: Improvement Components: framework Affects Versions: Trunk Reporter: Wei Zhang Priority: Minor -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
[ https://issues.apache.org/jira/browse/OFBIZ-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang resolved OFBIZ-6761. -- Resolution: Fixed Fix Version/s: Trunk > The action of EditExampleBackgroundSubmit form is not correct when creating a > example > - > > Key: OFBIZ-6761 > URL: https://issues.apache.org/jira/browse/OFBIZ-6761 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Fix For: Trunk > > Attachments: actionOfCreatingExample.png > > > See the wrong action in the attached screen > !actionOfCreatingExample.png! > The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
[ https://issues.apache.org/jira/browse/OFBIZ-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang closed OFBIZ-6761. > The action of EditExampleBackgroundSubmit form is not correct when creating a > example > - > > Key: OFBIZ-6761 > URL: https://issues.apache.org/jira/browse/OFBIZ-6761 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Fix For: Trunk > > Attachments: actionOfCreatingExample.png > > > See the wrong action in the attached screen > !actionOfCreatingExample.png! > The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
[ https://issues.apache.org/jira/browse/OFBIZ-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6761: - Description: See the wrong action in the attached screen !actionOfCreatingExample.png! The expected action is createExampleAjax was: See the wrong action in the attache screen !actionOfCreatingExample.png! The expected action is createExampleAjax > The action of EditExampleBackgroundSubmit form is not correct when creating a > example > - > > Key: OFBIZ-6761 > URL: https://issues.apache.org/jira/browse/OFBIZ-6761 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Attachments: actionOfCreatingExample.png > > > See the wrong action in the attached screen > !actionOfCreatingExample.png! > The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
[ https://issues.apache.org/jira/browse/OFBIZ-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6761: - Description: See the wrong action in the attache screen !actionOfCreatingExample.png! The expected action is createExampleAjax was: See the wrong action in the attache screen The expected action is createExampleAjax > The action of EditExampleBackgroundSubmit form is not correct when creating a > example > - > > Key: OFBIZ-6761 > URL: https://issues.apache.org/jira/browse/OFBIZ-6761 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Attachments: actionOfCreatingExample.png > > > See the wrong action in the attache screen > !actionOfCreatingExample.png! > The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
[ https://issues.apache.org/jira/browse/OFBIZ-6761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6761: - Attachment: actionOfCreatingExample.png > The action of EditExampleBackgroundSubmit form is not correct when creating a > example > - > > Key: OFBIZ-6761 > URL: https://issues.apache.org/jira/browse/OFBIZ-6761 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang >Priority: Minor > Attachments: actionOfCreatingExample.png > > > See the wrong action in the attache screen > The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6761) The action of EditExampleBackgroundSubmit form is not correct when creating a example
Wei Zhang created OFBIZ-6761: Summary: The action of EditExampleBackgroundSubmit form is not correct when creating a example Key: OFBIZ-6761 URL: https://issues.apache.org/jira/browse/OFBIZ-6761 Project: OFBiz Issue Type: Bug Components: specialpurpose/example Affects Versions: Trunk Reporter: Wei Zhang Assignee: Wei Zhang Priority: Minor See the wrong action in the attache screen The expected action is createExampleAjax -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (OFBIZ-6736) The attribute paginate-style of form widget dose not work
[ https://issues.apache.org/jira/browse/OFBIZ-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6736: - Comment: was deleted (was: Hi Jacques, Thanks for your prompt. It's my pleasure. Regards, Wei) > The attribute paginate-style of form widget dose not work > - > > Key: OFBIZ-6736 > URL: https://issues.apache.org/jira/browse/OFBIZ-6736 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang > Fix For: Trunk > > > If I set my paginate-style with following code > {code:xml} > paginate-target="FindExample" default-entity-name="Example" > separate-columns="true" > odd-row-style="alternate-row" header-row-style="header-row-2" > default-table-style="basic-table hover-bar" paginate-style="my-style"> > {code} > The output html code in browser is : > {code:xml} > > {code} > But the expected output should be: > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6736) The attribute paginate-style of form widget dose not work
[ https://issues.apache.org/jira/browse/OFBIZ-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037550#comment-15037550 ] Wei Zhang commented on OFBIZ-6736: -- Hi Jacques, Thanks for your prompt. It's my pleasure. Regards, Wei > The attribute paginate-style of form widget dose not work > - > > Key: OFBIZ-6736 > URL: https://issues.apache.org/jira/browse/OFBIZ-6736 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang > Fix For: Trunk > > > If I set my paginate-style with following code > {code:xml} > paginate-target="FindExample" default-entity-name="Example" > separate-columns="true" > odd-row-style="alternate-row" header-row-style="header-row-2" > default-table-style="basic-table hover-bar" paginate-style="my-style"> > {code} > The output html code in browser is : > {code:xml} > > {code} > But the expected output should be: > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6736) The attribute paginate-style of form widget dose not work
[ https://issues.apache.org/jira/browse/OFBIZ-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037549#comment-15037549 ] Wei Zhang commented on OFBIZ-6736: -- Hi Jacques, Thanks for your prompt. It's my pleasure. Regards, Wei > The attribute paginate-style of form widget dose not work > - > > Key: OFBIZ-6736 > URL: https://issues.apache.org/jira/browse/OFBIZ-6736 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang > Fix For: Trunk > > > If I set my paginate-style with following code > {code:xml} > paginate-target="FindExample" default-entity-name="Example" > separate-columns="true" > odd-row-style="alternate-row" header-row-style="header-row-2" > default-table-style="basic-table hover-bar" paginate-style="my-style"> > {code} > The output html code in browser is : > {code:xml} > > {code} > But the expected output should be: > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OFBIZ-6736) The attribute paginate-style of form widget dose not work
[ https://issues.apache.org/jira/browse/OFBIZ-6736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang resolved OFBIZ-6736. -- Resolution: Fixed Fix Version/s: Trunk > The attribute paginate-style of form widget dose not work > - > > Key: OFBIZ-6736 > URL: https://issues.apache.org/jira/browse/OFBIZ-6736 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Wei Zhang > Fix For: Trunk > > > If I set my paginate-style with following code > {code:xml} > paginate-target="FindExample" default-entity-name="Example" > separate-columns="true" > odd-row-style="alternate-row" header-row-style="header-row-2" > default-table-style="basic-table hover-bar" paginate-style="my-style"> > {code} > The output html code in browser is : > {code:xml} > > {code} > But the expected output should be: > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6736) The attribute paginate-style of form widget dose not work
Wei Zhang created OFBIZ-6736: Summary: The attribute paginate-style of form widget dose not work Key: OFBIZ-6736 URL: https://issues.apache.org/jira/browse/OFBIZ-6736 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang Assignee: Wei Zhang If I set my paginate-style with following code {code:xml} {code} The output html code in browser is : {code:xml} {code} But the expected output should be: -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6495) The filter-by-date="true" of in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956165#comment-14956165 ] Wei Zhang commented on OFBIZ-6495: -- ok, I will try myself later:) > The filter-by-date="true" of in view entity PartyExport > does not work > - > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > Fix For: 14.12.01, 13.07.03, Upcoming Branch > > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6495) The filter-by-date="true" of in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952591#comment-14952591 ] Wei Zhang commented on OFBIZ-6495: -- Hi Jacques, Sorry for the late response. I thought you have figured it out. I just changed the Summary so that it make things clear. In addition, The main changes in the SQL generated by my patch is below. {code} AND (((PCM.THRU_DATE IS NULL OR PCM.THRU_DATE > '2015-09-23 14:27:04.919') AND (PCM.FROM_DATE IS NULL OR PC M.FROM_DATE <= '2015-09-23 14:27:04.919'))) {code} Hope that make sense and please feel free to contact me if there is any other problems. Thanks, Wei > The filter-by-date="true" of in view entity PartyExport > does not work > - > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6495) The filter-by-date="true" of in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6495: - Summary: The filter-by-date="true" of in view entity PartyExport does not work (was: The tag in view entity PartyExport does not work) > The filter-by-date="true" of in view entity PartyExport > does not work > - > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6614) Error when using org.ofbiz.base.util.UtilDateTime.toTimestamp("12/30/1899 00:00:00")
[ https://issues.apache.org/jira/browse/OFBIZ-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14743073#comment-14743073 ] Wei Zhang commented on OFBIZ-6614: -- Yes, The UtilDateTime.stringToTimeStamp(String dateTimeString, TimeZone tz, Locale locale) works fine. Thanks. > Error when using org.ofbiz.base.util.UtilDateTime.toTimestamp("12/30/1899 > 00:00:00") > > > Key: OFBIZ-6614 > URL: https://issues.apache.org/jira/browse/OFBIZ-6614 > Project: OFBiz > Issue Type: Bug > Components: framework >Reporter: Wei Zhang > > The UtilDateTime.toTimestamp("12/30/1899 00:00:00") returns "1899-12-29 > 23:54:03.0". It's caused by com.ibm.icu.util.Calendar. I am not sure if we > should to use java.util.Calendar instead of -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6615) The EntityListIterator does not be closed in EntityQuery.query()
[ https://issues.apache.org/jira/browse/OFBIZ-6615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6615: - Description: The EntityListIterator at line 453 in EntityQuery.java should be closed and the code should be looks like below {code:|borderStyle=solid} private List query(EntityFindOptions efo) throws GenericEntityException { EntityFindOptions findOptions = null; if (efo == null) { findOptions = makeEntityFindOptions(); } else { findOptions = efo; } List result = null; if (dynamicViewEntity == null) { result = delegator.findList(entityName, makeWhereCondition(useCache), fieldsToSelect, orderBy, findOptions, useCache); } else { EntityListIterator it = queryIterator(); result = it.getCompleteList(); it.close(); } if (filterByDate && useCache) { return EntityUtil.filterByCondition(result, this.makeDateCondition()); } return result; } {code} was: The EntityListIterator at line 453 should be closed and the code should be looks like below {code:|borderStyle=solid} private List query(EntityFindOptions efo) throws GenericEntityException { EntityFindOptions findOptions = null; if (efo == null) { findOptions = makeEntityFindOptions(); } else { findOptions = efo; } List result = null; if (dynamicViewEntity == null) { result = delegator.findList(entityName, makeWhereCondition(useCache), fieldsToSelect, orderBy, findOptions, useCache); } else { EntityListIterator it = queryIterator(); result = it.getCompleteList(); it.close(); } if (filterByDate && useCache) { return EntityUtil.filterByCondition(result, this.makeDateCondition()); } return result; } {code} > The EntityListIterator does not be closed in EntityQuery.query() > > > Key: OFBIZ-6615 > URL: https://issues.apache.org/jira/browse/OFBIZ-6615 > Project: OFBiz > Issue Type: Bug >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > > The EntityListIterator at line 453 in EntityQuery.java should be closed and > the code should be looks like below > {code:|borderStyle=solid} > private List query(EntityFindOptions efo) throws > GenericEntityException { > EntityFindOptions findOptions = null; > if (efo == null) { > findOptions = makeEntityFindOptions(); > } else { > findOptions = efo; > } > List result = null; > if (dynamicViewEntity == null) { > result = delegator.findList(entityName, > makeWhereCondition(useCache), fieldsToSelect, orderBy, findOptions, useCache); > } else { > EntityListIterator it = queryIterator(); > result = it.getCompleteList(); > it.close(); > } > if (filterByDate && useCache) { > return EntityUtil.filterByCondition(result, > this.makeDateCondition()); > } > return result; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6615) The EntityListIterator does not be closed in EntityQuery.query()
Wei Zhang created OFBIZ-6615: Summary: The EntityListIterator does not be closed in EntityQuery.query() Key: OFBIZ-6615 URL: https://issues.apache.org/jira/browse/OFBIZ-6615 Project: OFBiz Issue Type: Bug Affects Versions: Trunk Reporter: Wei Zhang The EntityListIterator at line 453 should be closed and the code should be looks like below {code:|borderStyle=solid} private List query(EntityFindOptions efo) throws GenericEntityException { EntityFindOptions findOptions = null; if (efo == null) { findOptions = makeEntityFindOptions(); } else { findOptions = efo; } List result = null; if (dynamicViewEntity == null) { result = delegator.findList(entityName, makeWhereCondition(useCache), fieldsToSelect, orderBy, findOptions, useCache); } else { EntityListIterator it = queryIterator(); result = it.getCompleteList(); it.close(); } if (filterByDate && useCache) { return EntityUtil.filterByCondition(result, this.makeDateCondition()); } return result; } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6614) Error when using org.ofbiz.base.util.UtilDateTime.toTimestamp("12/30/1899 00:00:00")
Wei Zhang created OFBIZ-6614: Summary: Error when using org.ofbiz.base.util.UtilDateTime.toTimestamp("12/30/1899 00:00:00") Key: OFBIZ-6614 URL: https://issues.apache.org/jira/browse/OFBIZ-6614 Project: OFBiz Issue Type: Bug Components: framework Reporter: Wei Zhang The UtilDateTime.toTimestamp("12/30/1899 00:00:00") returns "1899-12-29 23:54:03.0". It's caused by com.ibm.icu.util.Calendar. I am not sure if we should to use java.util.Calendar instead of -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6533) Compiling errors
Wei Zhang created OFBIZ-6533: Summary: Compiling errors Key: OFBIZ-6533 URL: https://issues.apache.org/jira/browse/OFBIZ-6533 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang classes: [javac17] Compiling 144 source files to D:\ofbiz-clean\framework\entity\build\classes [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:1415: warning: [deprecation] storeAll(List,boolean,boolean) in Delegator has been deprecated [javac17] public int storeAll(List values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException { [javac17]^ [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:426: error: method getEntityNamesByGroup in class ModelGroupReader cannot be applied to given types; [javac17] Set entityNameSet = getModelGroupReader().getEntityNamesByGroup(groupName); [javac17] ^ [javac17] required: String,String [javac17] found: String [javac17] reason: actual and formal argument lists differ in length [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:329: warning: [deprecation] storeAll(List,boolean,boolean) in Delegator has been deprecated [javac17] delegator.storeAll(valuesToWrite, doCacheClear, createDummyFks); [javac17] ^ [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated [javac17] Configuration config = new Configuration(); [javac17]^ [javac17] D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\util\EntitySaxReader.java:498: warning: [deprecation] removeAll(List,boolean) in Delegator has been deprecated [javac17] delegator.removeAll(valuesToDelete, doCacheClear); [javac17] ^ [javac17] Note: Some input files use unchecked or unsafe operations. [javac17] Note: Recompile with -Xlint:unchecked for details. [javac17] 1 error [javac17] 4 warnings BUILD FAILED D:\ofbiz-clean\build.xml:421: The following error occurred while executing this line: D:\ofbiz-clean\build.xml:438: The following error occurred while executing this line: D:\ofbiz-clean\macros.xml:39: The following error occurred while executing this line: D:\ofbiz-clean\common.xml:91: Compile failed; see the compiler error output for details. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (OFBIZ-6362) Move js & css references from CommonDecorator(s) to themes
[ https://issues.apache.org/jira/browse/OFBIZ-6362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598918#comment-14598918 ] Wei Zhang edited comment on OFBIZ-6362 at 6/25/15 3:10 AM: --- I don't think we should hard code localization js files below to seed data {code:borderStyle=solid} {code} And there is no way to output the localization js files defined GlobalActions in framework\common\widget\CommonScreens.xml {code:borderStyle=solid} {code} was (Author: tzngvi): I don't think we should add localization js files below to seed data {code:borderStyle=solid} {code} And there is no way to output the localization js files defined GlobalActions in framework\common\widget\CommonScreens.xml {code:borderStyle=solid} {code} > Move js & css references from CommonDecorator(s) to themes > -- > > Key: OFBIZ-6362 > URL: https://issues.apache.org/jira/browse/OFBIZ-6362 > Project: OFBiz > Issue Type: Sub-task > Components: framework >Affects Versions: Trunk, Upcoming Branch >Reporter: Pierre Smits >Assignee: Adrian Crum >Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-6263-BlueLight-header.ftl.patch, > OFBIZ-6362-BizznessTime-header.ftl.patch, > OFBIZ-6362-BizznessTimeThemeData.xml.patch, > OFBIZ-6362-BlueLightThemeData.xml.patch, OFBIZ-6362-CommonScreens.xml.patch, > OFBIZ-6362-DroppingCrumbs-header.ftl.patch, > OFBIZ-6362-DroppingCrumbsThemeData.xml.patch, > OFBIZ-6362-FlatGrey-header.ftl.patch, OFBIZ-6362-FlatGreyThemeData.xml.patch, > OFBIZ-6362-Tomahawk-header.ftl.patch, OFBIZ-6362-TomahawkThemeData.xml.patch, > OFBIZ-6362-bbasic-theme.patch, OFBIZ-6362-sunrise-theme.patch, bbasic.zip, > sunrise.zip > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6495) The tag in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598930#comment-14598930 ] Wei Zhang commented on OFBIZ-6495: -- Hi Jacques, May I know when you have time to check this issue? Thanks, Wei > The tag in view entity PartyExport does not work > > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6362) Move js & css references from CommonDecorator(s) to themes
[ https://issues.apache.org/jira/browse/OFBIZ-6362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14598918#comment-14598918 ] Wei Zhang commented on OFBIZ-6362: -- I don't think we should add localization js files below to seed data {code:borderStyle=solid} {code} And there is no way to output the localization js files defined GlobalActions in framework\common\widget\CommonScreens.xml {code:borderStyle=solid} {code} > Move js & css references from CommonDecorator(s) to themes > -- > > Key: OFBIZ-6362 > URL: https://issues.apache.org/jira/browse/OFBIZ-6362 > Project: OFBiz > Issue Type: Sub-task > Components: framework >Affects Versions: Trunk, Upcoming Branch >Reporter: Pierre Smits >Assignee: Adrian Crum >Priority: Minor > Fix For: Upcoming Branch > > Attachments: OFBIZ-6263-BlueLight-header.ftl.patch, > OFBIZ-6362-BizznessTime-header.ftl.patch, > OFBIZ-6362-BizznessTimeThemeData.xml.patch, > OFBIZ-6362-BlueLightThemeData.xml.patch, OFBIZ-6362-CommonScreens.xml.patch, > OFBIZ-6362-DroppingCrumbs-header.ftl.patch, > OFBIZ-6362-DroppingCrumbsThemeData.xml.patch, > OFBIZ-6362-FlatGrey-header.ftl.patch, OFBIZ-6362-FlatGreyThemeData.xml.patch, > OFBIZ-6362-Tomahawk-header.ftl.patch, OFBIZ-6362-TomahawkThemeData.xml.patch, > OFBIZ-6362-bbasic-theme.patch, OFBIZ-6362-sunrise-theme.patch, bbasic.zip, > sunrise.zip > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6495) The tag in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587628#comment-14587628 ] Wei Zhang commented on OFBIZ-6495: -- Hi Jacques, I changed ViewEntityCondition.getWhereCondition(), ViewConditionExpr.createCondition() and ViewConditionList.createCondition() which will add additional condition of filtering by date to where clause. Please test by following steps. 1. Change the code below in GenericDAO {code:title=GenericDAO.java|borderStyle=solid} if (queryTotalTime > 150) { Debug.logTiming("Ran query in " + queryTotalTime + " milli-seconds: " + " EntityName: " + modelEntity.getEntityName() + " Sql: " + sql + " where clause:" + whereEntityConditionParams, module); } {code} to {code:title=GenericDAO.java|borderStyle=solid} if (queryTotalTime > 0) { Debug.logTiming("Ran query in " + queryTotalTime + " milli-seconds: " + " EntityName: " + modelEntity.getEntityName() + " Sql: " + sql + " where clause:" + whereEntityConditionParams, module); } {code} It will always log the sql to the log file. 2. Open https://localhost:8443/partymgr/control/ImportExport 2. Enter a valid partyId for export and click SUBMIT 3. Check ofbiz.log file under runtime folder. You should able to see the query below which contains filter data condition {code:title=SQL of PartyExport view |borderStyle=solid} SELECT PRT.PARTY_ID, PRT.STATUS_ID, PRT.PREFERRED_CURRENCY_UOM_ID, GRP.GROUP_NAME, PER.FIRST_NAME, PER.MIDDLE_NAME, PER.LAST_NAME, PR.PARTY_ID_FROM, CGRP.GROUP_NAME, PRL.ROLE_TYPE_ID, CM.CONTACT_MECH_TYPE_ID, PCP.CONTACT_MECH_PURPOSE_TYPE_ID, CM.INFO_STRING, TN.COUNTRY_CODE, TN.AREA_CODE, TN.CONTACT_NUMBER, PA.ADDRESS1, PA.ADDRESS2, PA.CITY, PA.STATE_PROVINCE_GEO_ID, PA.POSTAL_CODE, PA.COUNTRY_GEO_ID, PCM.FROM_DATE, PCM.THRU_DATE FROM (public.PARTY PRT LEFT OUTER JOIN public.PARTY_GROUP GRP ON PRT.PARTY_ID = GRP.PARTY_ID) LEFT OUTER JOIN public.PERSON PER ON PRT.PARTY_ID = PER.PARTY_ID) LEFT OUTER JOIN public.PARTY_RELATIONSHIP PR ON PRT.PARTY_ID = PR.PARTY_ID_TO AND ((PR.ROLE_TYPE_ID_FROM = 'ACCOUNT' AND PR.PARTY_RELATIONSHIP_TYPE_ID = 'EMPLOYMENT'))) LEFT OUTER JOIN public.PARTY_GROUP CGRP ON PR.PARTY_ID_FROM = CGRP.PARTY_ID) LEFT OUTER JOIN public.PARTY_ROLE PRL ON PRT.PARTY_ID = PRL.PARTY_ID) LEFT OUTER JOIN public.PARTY_CONTACT_MECH PCM ON PRT.PARTY_ID = PCM.PARTY_ID AND (((PCM.THRU_DATE IS NULL OR PCM.THRU_DATE > '2015-06-15 13:21:30.157') AND (PCM.FROM_DATE IS NULL OR PCM.FROM_DATE <= '2015-06-15 13:21:30.157' LEFT OUTER JOIN public.POSTAL_ADDRESS PA ON PCM.CONTACT_MECH_ID = PA.CONTACT_MECH_ID) LEFT OUTER JOIN public.CONTACT_MECH CM ON PCM.CONTACT_MECH_ID = CM.CONTACT_MECH_ID) LEFT OUTER JOIN public.TELECOM_NUMBER TN ON PCM.CONTACT_MECH_ID = TN.CONTACT_MECH_ID) LEFT OUTER JOIN public.PARTY_CONTACT_MECH_PURPOSE PCP ON PCM.CONTACT_MECH_ID = PCP.CONTACT_MECH_ID AND (((PCM.THRU_DATE IS NULL OR PCM.THRU_DATE > '2015-06-15 13:21:30.157') AND (PCM.FROM_DATE IS NULL OR PCM.FROM_DATE <= '2015-06-15 13:21:30.157'))) AND PCM.PARTY_ID = PCP.PARTY_ID AND (((PCM.THRU_DATE IS NULL OR PCM.THRU_DATE > '2015-06-15 13:21:30.236') AND (PCM.FROM_DATE IS NULL OR PCM.FROM_DATE <= '2015-06-15 13:21:30.236'))) WHERE (((PRL.ROLE_TYPE_ID = ? OR PRL.ROLE_TYPE_ID = ? OR PRL.ROLE_TYPE_ID = ?) AND (PRT.STATUS_ID <> ? OR PRT.STATUS_ID IS NULL) AND PRT.PARTY_ID = ?)) ORDER BY PRT.PARTY_ID ASC {code} Hope that make sense. Regards, Wei > The tag in view entity PartyExport does not work > > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6495) The tag in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-6495: - Attachment: patches-6495.zip > The tag in view entity PartyExport does not work > > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6495) The tag in view entity PartyExport does not work
[ https://issues.apache.org/jira/browse/OFBIZ-6495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585603#comment-14585603 ] Wei Zhang commented on OFBIZ-6495: -- See my attached fixed patch. Can anyone test this patch and commit the changes to SVN? > The tag in view entity PartyExport does not work > > > Key: OFBIZ-6495 > URL: https://issues.apache.org/jira/browse/OFBIZ-6495 > Project: OFBiz > Issue Type: Bug > Components: party >Affects Versions: Trunk >Reporter: Wei Zhang > Attachments: patches-6495.zip > > > The tag in view entity PartyExport in > applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6495) The tag in view entity PartyExport does not work
Wei Zhang created OFBIZ-6495: Summary: The tag in view entity PartyExport does not work Key: OFBIZ-6495 URL: https://issues.apache.org/jira/browse/OFBIZ-6495 Project: OFBiz Issue Type: Bug Components: party Affects Versions: Trunk Reporter: Wei Zhang The tag in view entity PartyExport in applications\party\entitydef\entitymodel.xml does not work. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-4481: - Attachment: ignoreFiled based on trunk r1680459.zip ignore filed patches based on trunk r1680459 > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch, ignoreFiled based on trunk > r1680459.zip > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551913#comment-14551913 ] Wei Zhang commented on OFBIZ-4481: -- @Jacques, I have worked out a new patch based on latest trunk. Can you please test it and commit it to the trunk if it is tested ok? Thanks, Wei > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch, ignoreFiled based on trunk > r1680459.zip > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-4481: - Attachment: (was: specialpurpose.patch) > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-4481: - Attachment: specialpurpose.patch framework.patch > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-4481: - Attachment: (was: framework.patch) > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-4481) Adding a new attribute ignore-when (verry similar to use-when) that enable rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550044#comment-14550044 ] Wei Zhang commented on OFBIZ-4481: -- Hi youssef, May I know if you have a patch for latest trunk? Can you please share it if possible? Thanks, Wei > Adding a new attribute ignore-when (verry similar to use-when) that enable > rendering or not a field in list or multi form. > -- > > Key: OFBIZ-4481 > URL: https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-4481) adding a new attribute ignore-when(verry similar to use-when) taht enabe rendering or not a field in list or multi form.
[ https://issues.apache.org/jira/browse/OFBIZ-4481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526394#comment-14526394 ] Wei Zhang commented on OFBIZ-4481: -- How about enhance the OOTB field , such as https://issues.apache.org/jira/browse/OFBIZ-4481 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Affects Versions: Trunk >Reporter: youssef khaye >Priority: Minor > Labels: form, list, use-when > Attachments: ignoreField.patch > > > I need to define some parameters (using portlet attributes) that enable > showing or not some field in my portlet taht contains a form of type "list". > Or on a form of type list or multi, it is not possible to completely ignore a > field via use-when attribute. Instead it hides the title and the column > header became shifted from the table content. > For example I want to hide the description column from my form when > exampleName is choosen as sort-field. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6036) Return tag for Autocomplete Dropdown highlight
[ https://issues.apache.org/jira/browse/OFBIZ-6036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301136#comment-14301136 ] Wei Zhang commented on OFBIZ-6036: -- see my fix below. {noformat} Index: framework/images/webapp/images/selectall.js === --- framework/images/webapp/images/selectall.js (版本 1656378) +++ framework/images/webapp/images/selectall.js (工作副本) @@ -524,7 +524,7 @@ "(?![^&;]+;)(?!<[^<>]*)(" + jQuery.ui.autocomplete.escapeRegex(request.term) + ")(?![^<>]*>)(?![^&;]+;)", "gi" -), "$1" ), +), "$1" ), value: text, option: this }; @@ -558,7 +558,7 @@ }) //.addClass( "ui-widget ui-widget-content ui-corner-left" ); -input.data( "autocomplete" )._renderItem = function( ul, item ) { +input.data( "ui-autocomplete" )._renderItem = function( ul, item ) { return jQuery( "" ) .data( "item.autocomplete", item ) .append( "" + item.label + "" ) {noformat} > Return tag for Autocomplete Dropdown highlight > --- > > Key: OFBIZ-6036 > URL: https://issues.apache.org/jira/browse/OFBIZ-6036 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: Trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > > I got the highlight text like US for Autocomplete Dropdown. > See http://demo-trunk-ofbiz.apache.org/example/control/FormWidgetExamples -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6036) Return tag for Autocomplete Dropdown highlight
Wei Zhang created OFBIZ-6036: Summary: Return tag for Autocomplete Dropdown highlight Key: OFBIZ-6036 URL: https://issues.apache.org/jira/browse/OFBIZ-6036 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang I got the highlight text like US for Autocomplete Dropdown. See http://demo-trunk-ofbiz.apache.org/example/control/FormWidgetExamples -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-5964) Exception of exporting party
Wei Zhang created OFBIZ-5964: Summary: Exception of exporting party Key: OFBIZ-5964 URL: https://issues.apache.org/jira/browse/OFBIZ-5964 Project: OFBiz Issue Type: Bug Components: party Affects Versions: Trunk Reporter: Wei Zhang An exception below is occurred when exporting party [java] java.lang.IllegalArgumentException: FreeMarker template location null or empty [java] at org.ofbiz.base.util.template.FreeMarkerWorker.makeReader(FreeMarkerWorker.java:295) ~[ofbiz-base.jar:?] [java] at org.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:336) ~[ofbiz-base.jar:?] [java] at org.ofbiz.base.util.template.FreeMarkerWorker.getTemplate(FreeMarkerWorker.java:329) ~[ofbiz-base.jar:?] [java] at org.ofbiz.widget.menu.MacroMenuRenderer.(MacroMenuRenderer.java:61) ~[ofbiz-widget.jar:?] [java] at org.ofbiz.widget.screen.MacroScreenViewHandler.loadRenderers(MacroScreenViewHandler.java:120) ~[ofbiz-widget.jar:?] [java] at org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:147) ~[ofbiz-widget.jar:?] [java] at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:990) ~[ofbiz-webapp.jar:?] [java] at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:676) ~[ofbiz-webapp.jar:?] [java] at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:215) [ofbiz-webapp.jar:?] [java] at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:86) [ofbiz-webapp.jar:?] [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) [servlet-api-3.0.jar:?] [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:?] [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:336) [ofbiz-webapp.jar:?] [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) [tomcat-7.0.57-catalina.jar:7.0.57] [java] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) [tomcat-7.0.57-tomcat-coyote.jar:7.0.57] [java] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) [tomcat-7.0.57-tomcat-coyote.jar:7.0.57] [java] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-7.0.57-tomcat-coyote.jar:7.0.57] [java] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_17] [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_17] [java] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-7.0.57-tomcat-coyote.jar:7.0.57] [java] at java.lang.Thread.run(Thread.java:722) [?:1.7.0_17] The exception can be reproduced by following steps. Pary->Import/Export->Export->enter a party Id such as "admin"->Submit -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-5732) Error in sendMailHiddenInLog service
Wei Zhang created OFBIZ-5732: Summary: Error in sendMailHiddenInLog service Key: OFBIZ-5732 URL: https://issues.apache.org/jira/browse/OFBIZ-5732 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wei Zhang I got the following error when calling sendMailHiddenInLog, see the errors below. {quote} 2014-08-27 02:18:41,395 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:550:ERROR] exception report -- Could not commit transaction for service [sendMailHiddenInLog] call Exception: org.ofbiz.entity.transaction.GenericTransactionException Message: Roll back error, could not commit transaction, was rolled back instead because of: Service [sendMailMultiPart] threw an unexpected exception/errororg.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] (The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts]) cause - Exception: org.ofbiz.service.ServiceValidationException Message: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] stack trace --- org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [sendMailMultiPart.bodyParts] org.ofbiz.service.ModelService.validate(ModelService.java:630) org.ofbiz.service.ModelService.validate(ModelService.java:572) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:381) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) org.ofbiz.common.email.EmailServices.sendFailureNotification(EmailServices.java:667) org.ofbiz.common.email.EmailServices.sendMail(EmailServices.java:349) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:606) org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:69) org.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745) {quote} I think we should miss the code below before line 667 in EmailServices.java {code:title=|borderStyle=solid} newContext.put("bodyParts", bodyParts); {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (OFBIZ-5719) Error to use <#if serviceParameter.value!> in setServiceParameterSync.ftl
Wei Zhang created OFBIZ-5719: Summary: Error to use <#if serviceParameter.value!> in setServiceParameterSync.ftl Key: OFBIZ-5719 URL: https://issues.apache.org/jira/browse/OFBIZ-5719 Project: OFBiz Issue Type: Bug Affects Versions: Trunk Reporter: Wei Zhang see line 30 in OFBIZ_HOME\framework\webtools\webapp\webtools\service\setServiceParameterSync.ftl, it should be <#if serviceParameter.value??> -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (OFBIZ-5683) Error to run "ant" under OFBIZ_HOME/applications/party
[ https://issues.apache.org/jira/browse/OFBIZ-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063039#comment-14063039 ] Wei Zhang commented on OFBIZ-5683: -- Sorry, it caused by my local Ant 1.8.x. I upgraded my Ant to 1.9.x and it works now. > Error to run "ant" under OFBIZ_HOME/applications/party > -- > > Key: OFBIZ-5683 > URL: https://issues.apache.org/jira/browse/OFBIZ-5683 > Project: OFBiz > Issue Type: Bug >Reporter: Wei Zhang >Assignee: Jacques Le Roux > > Got error below when I run "ant" under OFBIZ_HOME/applications/party > D:\ofbiz-trunk-clean\applications\party>ant > Buildfile: D:\ofbiz-trunk-clean\applications\party\build.xml > BUILD FAILED > D:\ofbiz-trunk-clean\applications\party\build.xml:22: The following error > occurred while executing this line: > D:\ofbiz-trunk-clean\common.xml:22: The following error occurred while > executing this line: > D:\ofbiz-trunk-clean\macros.xml:31: Please upgrade java to at least 1.7 > but it works if I run 'ant' under OFBIZ_HOME > I have upgraded my JDK to 1.7 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (OFBIZ-5683) Error to run "ant" under OFBIZ_HOME/applications/party
Wei Zhang created OFBIZ-5683: Summary: Error to run "ant" under OFBIZ_HOME/applications/party Key: OFBIZ-5683 URL: https://issues.apache.org/jira/browse/OFBIZ-5683 Project: OFBiz Issue Type: Bug Reporter: Wei Zhang Got error below when I run "ant" under OFBIZ_HOME/applications/party D:\ofbiz-trunk-clean\applications\party>ant Buildfile: D:\ofbiz-trunk-clean\applications\party\build.xml BUILD FAILED D:\ofbiz-trunk-clean\applications\party\build.xml:22: The following error occurred while executing this line: D:\ofbiz-trunk-clean\common.xml:22: The following error occurred while executing this line: D:\ofbiz-trunk-clean\macros.xml:31: Please upgrade java to at least 1.7 but it works if I run 'ant' under OFBIZ_HOME I have upgraded my JDK to 1.7 -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (OFBIZ-5594) Focus input(dropdown list) when click on label in widget form
[ https://issues.apache.org/jira/browse/OFBIZ-5594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959576#comment-13959576 ] Wei Zhang commented on OFBIZ-5594: -- I think only htmlFormMacroLibrary.ftl need "for" attribute and other Macro Libs, such as csvFormMacroLibrary.ftl, foFormMacroLibrary.ftl, textFormMacroLibrary.ftl and xmlFormMacroLibrary.ftl ,don't need it. Maybe we should change line 1277 of MacroFormRenderer.java > Focus input(dropdown list) when click on label in widget form > - > > Key: OFBIZ-5594 > URL: https://issues.apache.org/jira/browse/OFBIZ-5594 > Project: OFBiz > Issue Type: Wish > Components: framework >Affects Versions: SVN trunk > Environment: Fedora 20 > Eclipse Kepler > Java 1.6 >Reporter: Rong Nguyen >Assignee: Jacques Le Roux >Priority: Trivial > Fix For: SVN trunk > > Attachments: OFBiz-5594.patch > > > The current widget form does not focus input(dropdown list) when click on > label. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (OFBIZ-5594) Focus input(dropdown list) when click on label in widget form
[ https://issues.apache.org/jira/browse/OFBIZ-5594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959574#comment-13959574 ] Wei Zhang commented on OFBIZ-5594: -- Hi Rong, The error occurred when I downloaded a CSV from browser. It always work before this patch was committed. I have added 'focus=""' to renderFieldTitle in my framework\widget\templates\csvFormMacroLibrary.ftl and it works now. But I think we should do something to fix this error. Thanks, Wei > Focus input(dropdown list) when click on label in widget form > - > > Key: OFBIZ-5594 > URL: https://issues.apache.org/jira/browse/OFBIZ-5594 > Project: OFBiz > Issue Type: Wish > Components: framework >Affects Versions: SVN trunk > Environment: Fedora 20 > Eclipse Kepler > Java 1.6 >Reporter: Rong Nguyen >Assignee: Jacques Le Roux >Priority: Trivial > Fix For: SVN trunk > > Attachments: OFBiz-5594.patch > > > The current widget form does not focus input(dropdown list) when click on > label. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (OFBIZ-5594) Focus input(dropdown list) when click on label in widget form
[ https://issues.apache.org/jira/browse/OFBIZ-5594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13959559#comment-13959559 ] Wei Zhang commented on OFBIZ-5594: -- Hi Jacques, This caused another error in csv download, see below. {quote} 2014-04-03 12:45:35,638 (http-bio-0.0.0.0-8443-exec-65) [ Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Macro renderFieldTitle has no such argument: for" Macro renderFieldTitle has no such argument: for The problematic instruction: -- ==> macro renderFieldTitle [on line 53, column 1 in component://widget/templates/csvFormMacroLibrary.ftl] in user-directive renderFieldTitle [on line 1, column 1 in -125e0150:145269d9e87:-4de2] -- Java backtrace for programmers: -- freemarker.template.TemplateException: Macro renderFieldTitle has no such argument: for at freemarker.core.Environment.visit(Environment.java:576) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.Environment.include(Environment.java:1508) at org.ofbiz.widget.form.MacroFormRenderer.executeMacro(MacroFormRenderer.java:132) at org.ofbiz.widget.form.MacroFormRenderer.renderFieldTitle(MacroFormRenderer.java:1281) at org.ofbiz.widget.form.ModelForm.renderHeaderRow(ModelForm.java:1352) at org.ofbiz.widget.form.ModelForm.renderListFormString(ModelForm.java:1177) at org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:912) at org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:826) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:102) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:189) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:111) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:987) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:668) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:313) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2014-04-03 12:45:35,640 (http-bio-0.0.0.0-8443-exec-65) [ Log4JLoggerFactory.java:96 :ERROR] Template processing error: "Macro renderFieldTitle has no such argument: for" {quote} Regards, Wei > Focus input(dropdown list) when click on label in widget form > - > > Key: OFBIZ-5594 > URL: https://issues.apache.org/jira/browse/OFBIZ-5594 > Project: OFBiz > Issue Type: Wish > C
[jira] [Commented] (OFBIZ-5377) Add ability to join entitites with parameterized conditions to other entities
[ https://issues.apache.org/jira/browse/OFBIZ-5377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902932#comment-13902932 ] Wei Zhang commented on OFBIZ-5377: -- This is really useful feature. Anybody can update on this? > Add ability to join entitites with parameterized conditions to other entities > - > > Key: OFBIZ-5377 > URL: https://issues.apache.org/jira/browse/OFBIZ-5377 > Project: OFBiz > Issue Type: Improvement >Reporter: Christian Carlow > > OFBiz should be improved to allow entities with parameterized conditions to > be joined with other entities. > I need to be able to apply a condition to the OrderShipment entity where > OrderShipment.shipmentId = parameters.shipmentId which might produce this > query: > SELECT * ORDER_SHIPMENT WHERE SHIPMENT_ID = '1'; > Then I need to be able to take that query and join it to the > OrderItemShipGroupAssoc entity to product a query such as this: > SELECT * FROM ORDER_ITEM_SHIP_GROUP_ASSOC OISGA LEFT JOIN (SELECT * FROM > ORDER_SHIPMENT WHERE SHIPMENT_ID = '1') OS ON OISGA.ORDER_ID = > OS.ORDER_ID AND OISGA.ORDER_ITEM_SEQ_ID = OS.ORDER_ITEM_SEQ_ID AND > OISGA.SHIP_GROUP_SEQ_ID = OS.SHIP_GROUP_SEQ_ID -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Created] (OFBIZ-5358) Wrong to refer to fieldtypepostnew.xml in entityengine.xml
Wei Zhang created OFBIZ-5358: Summary: Wrong to refer to fieldtypepostnew.xml in entityengine.xml Key: OFBIZ-5358 URL: https://issues.apache.org/jira/browse/OFBIZ-5358 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Wei Zhang Since fieldtypepostnew.xml has been deleted in revision 1530237, I don't think it should still refer to this file at line 105 in entityengine.xml -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (OFBIZ-5329) Error to run "ant start-debug"
[ https://issues.apache.org/jira/browse/OFBIZ-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778493#comment-13778493 ] Wei Zhang commented on OFBIZ-5329: -- Thanks for you response, Jacques. > Error to run "ant start-debug" > -- > > Key: OFBIZ-5329 > URL: https://issues.apache.org/jira/browse/OFBIZ-5329 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Jacques Le Roux > > I got the error blow when running "ant start-debug" > D:\Projects\RHH\ofbiz-trunk>ant start-debug > D:\Projects\RHH\ofbiz-trunk>ECHO OFF > D:\Projects\RHH\ofbiz-trunk>"D:\Java\jdk1.6.0_37\bin\java" -jar > framework/base/lib/ant-1.9.0-ant-launcher.jar -lib framework/base/lib/ant > start-debug > Buildfile: D:\Projects\RHH\ofbiz-trunk\build.xml > start-debug: > [java] Listening for transport dt_socket at address: 8091 > [java] Exception in thread "main" org.ofbiz.base.start.StartupException: > Couldn't not fetch config instance > [java] at org.ofbiz.base.start.Start.init(Start.java:187) > [java] at org.ofbiz.base.start.Start.main(Start.java:112) > [java] Caused by: java.io.IOException: Cannot load configuration > properties : org/ofbiz/base/start/start-debug.properties > [java] at > org.ofbiz.base.start.Config.getPropertiesFile(Config.java:231) > [java] at org.ofbiz.base.start.Config.readConfig(Config.java:299) > [java] at org.ofbiz.base.start.Config.getInstance(Config.java:60) > [java] at org.ofbiz.base.start.Start.init(Start.java:185) > [java] ... 1 more > [java] Java Result: 1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (OFBIZ-5329) Error to run "ant start-debug"
Wei Zhang created OFBIZ-5329: Summary: Error to run "ant start-debug" Key: OFBIZ-5329 URL: https://issues.apache.org/jira/browse/OFBIZ-5329 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Wei Zhang I got the error blow when running "ant start-debug" D:\Projects\RHH\ofbiz-trunk>ant start-debug D:\Projects\RHH\ofbiz-trunk>ECHO OFF D:\Projects\RHH\ofbiz-trunk>"D:\Java\jdk1.6.0_37\bin\java" -jar framework/base/lib/ant-1.9.0-ant-launcher.jar -lib framework/base/lib/ant start-debug Buildfile: D:\Projects\RHH\ofbiz-trunk\build.xml start-debug: [java] Listening for transport dt_socket at address: 8091 [java] Exception in thread "main" org.ofbiz.base.start.StartupException: Couldn't not fetch config instance [java] at org.ofbiz.base.start.Start.init(Start.java:187) [java] at org.ofbiz.base.start.Start.main(Start.java:112) [java] Caused by: java.io.IOException: Cannot load configuration properties : org/ofbiz/base/start/start-debug.properties [java] at org.ofbiz.base.start.Config.getPropertiesFile(Config.java:231) [java] at org.ofbiz.base.start.Config.readConfig(Config.java:299) [java] at org.ofbiz.base.start.Config.getInstance(Config.java:60) [java] at org.ofbiz.base.start.Start.init(Start.java:185) [java] ... 1 more [java] Java Result: 1 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (OFBIZ-5306) Error of running "ant clean-all" or "ant refresh"
Wei Zhang created OFBIZ-5306: Summary: Error of running "ant clean-all" or "ant refresh" Key: OFBIZ-5306 URL: https://issues.apache.org/jira/browse/OFBIZ-5306 Project: OFBiz Issue Type: Bug Affects Versions: SVN trunk Reporter: Wei Zhang see the details below BUILD FAILED D:\Projects\RHH\ofbiz-trunk\build.xml:64: The following error occurred while executing this line: D:\Projects\RHH\ofbiz-trunk\build.xml:77: The following error occurred while executing this line: D:\Projects\RHH\ofbiz-trunk\build.xml:145: The following error occurred while executing this line: D:\Projects\RHH\ofbiz-trunk\applications\content\build.xml:64: Directory does not exist: D:\Projects\RHH\ofbiz-trunk\runtime\data\indexes -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13719131#comment-13719131 ] Wei Zhang commented on OFBIZ-5279: -- Hi Jacques, The line below in line #371 was not changed correctly {code} if (jQuery('#content-messages').length == 0) {code} It should be(It should be opposite of line #355) {code} if (jQuery('#content-messages').length) {code} or {code} if (jQuery('#content-messages').length>0) {code} Thanks, Wei > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > Attachments: patches.zip > > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-5279: - Attachment: patches.zip Please see attached patch > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > Attachments: patches.zip > > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718118#comment-13718118 ] Wei Zhang commented on OFBIZ-5279: -- Yes, I tested. and I think we also need to change line #371. So the correct function should be {code} function ajaxSubmitFormUpdateAreas(form, areaCsvString) { waitSpinnerShow(); hideErrorContainer = function() { jQuery('#content-messages').html(''); jQuery('#content-messages').removeClass('errorMessage').fadeIn('fast'); } updateFunction = function(data) { if (data._ERROR_MESSAGE_LIST_ != undefined || data._ERROR_MESSAGE_ != undefined) { if (!jQuery('#content-messages').length) { //add this div just after app-navigation if(jQuery('#content-main-section')){ jQuery('#content-main-section' ).before(''); } } jQuery('#content-messages').addClass('errorMessage'); if (data._ERROR_MESSAGE_LIST_ != undefined && data._ERROR_MESSAGE_ != undefined) { jQuery('#content-messages' ).html(data._ERROR_MESSAGE_LIST_ + " " + data._ERROR_MESSAGE_); } else if (data._ERROR_MESSAGE_LIST_ != undefined) { jQuery('#content-messages' ).html(data._ERROR_MESSAGE_LIST_); } else { jQuery('#content-messages' ).html(data._ERROR_MESSAGE_); } jQuery('#content-messages').fadeIn('fast'); }else { if(jQuery('#content-messages').length) { jQuery('#content-messages').html(''); jQuery('#content-messages').removeClass('errorMessage').fadeIn("fast"); } ajaxUpdateAreas(areaCsvString); } waitSpinnerHide(); } jQuery.ajax({ type: "POST", url: jQuery("#" + form).attr("action"), data: jQuery("#" + form).serialize(), success: function(data) { updateFunction(data); } }); } {code} > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718075#comment-13718075 ] Wei Zhang edited comment on OFBIZ-5279 at 7/24/13 7:34 AM: --- Yes, the statement below in line #350 cannot hide message. jQuery('#content-messages').removeClass('errorMessage').fadeIn('fast') was (Author: tzngvi): Yes, the statement below in in #350 cannot hide message. jQuery('#content-messages').removeClass('errorMessage').fadeIn('fast') > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13718075#comment-13718075 ] Wei Zhang commented on OFBIZ-5279: -- Yes, the statement below in in #350 cannot hide message. jQuery('#content-messages').removeClass('errorMessage').fadeIn('fast') > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717969#comment-13717969 ] Wei Zhang commented on OFBIZ-5279: -- Hi Jacques, There is a Syntax Error in line #345, you missed "{". Regards, Wei > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13717831#comment-13717831 ] Wei Zhang commented on OFBIZ-5279: -- In addition the hideErrorContainer function in line #349 cannot hide the error message. Maybe we should use jQuery('#content-messages').html(''); > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
[ https://issues.apache.org/jira/browse/OFBIZ-5279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714874#comment-13714874 ] Wei Zhang commented on OFBIZ-5279: -- in addition, please refer to http://www.paulund.co.uk/check-to-see-if-a-element-exists-in-jquery > Wrong to use !jQuery('#content-messages') in > \framework\images\webapp\images\selectall.js line #354 > --- > > Key: OFBIZ-5279 > URL: https://issues.apache.org/jira/browse/OFBIZ-5279 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang > > I think we should use > if(jQuery('#content-messages').length==0) > insead of > if(!jQuery('#content-messages')) > in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (OFBIZ-5279) Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354
Wei Zhang created OFBIZ-5279: Summary: Wrong to use !jQuery('#content-messages') in \framework\images\webapp\images\selectall.js line #354 Key: OFBIZ-5279 URL: https://issues.apache.org/jira/browse/OFBIZ-5279 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Wei Zhang I think we should use if(jQuery('#content-messages').length==0) insead of if(!jQuery('#content-messages')) in framework\images\webapp\images\selectall.js line #354. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678978#comment-13678978 ] Wei Zhang commented on OFBIZ-5216: -- yes, it works! > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jsconsole2.png, jsconsole.png, > jtds-1.2.5.jar, OFBIZ-5216.patch, OFBIZ-5216.zip, > postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-5216: - Attachment: jsconsole2.png Sorry, it should be line 85 in DBCPConnectionFactory.java. Please see another screen jconsole2.png. > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jsconsole2.png, jsconsole.png, > jtds-1.2.5.jar, OFBIZ-5216.patch, OFBIZ-5216.zip, > postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678972#comment-13678972 ] Wei Zhang edited comment on OFBIZ-5216 at 6/9/13 8:46 AM: -- 1. I think it should be line 57 in DBCPConnectionFactory.java, please see my jconsole screen 2. yes, it works if remove the MSSQL databases was (Author: tzngvi): 1. I think it should be line 57 in DBCPConnectionFactory.java, lease see my jconsole screen 2. yes, it works if remove the MSSQL databases > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jsconsole.png, jtds-1.2.5.jar, > OFBIZ-5216.zip, postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Comment Edited] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13678972#comment-13678972 ] Wei Zhang edited comment on OFBIZ-5216 at 6/9/13 8:41 AM: -- 1. I think it should be line 57 in DBCPConnectionFactory.java, lease see my jconsole screen 2. yes, it works if remove the MSSQL databases was (Author: tzngvi): 1. I think it should be line 57 in DBCPConnectionFactory.java 2. Please see my jconsole screen > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jsconsole.png, jtds-1.2.5.jar, > OFBIZ-5216.zip, postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-5216: - Attachment: jsconsole.png 1. I think it should be line 57 in DBCPConnectionFactory.java 2. Please see my jconsole screen > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jsconsole.png, jtds-1.2.5.jar, > OFBIZ-5216.zip, postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-5216: - Attachment: screen.png postgresql-9.0-801.jdbc4.jar jtds-1.2.5.jar entityengine.xml OFBIZ-5216.zip Hi Adrian, Please do as following steps to reproduce this issue. 1. Save the attached entityengine.xml to \framework\entity\config and overwrite the existing one. 2. Save the attached jtds-1.2.5.jar and postgresql-9.0-801.jdbc4.jar to framework\entity\lib\jdbc 3. Unzip attached OFBIZ-5216.zip and save it to hot-deploy 4. Run "and start-debug", you should be able to get the blocked screen like attached screen.png. My environment is Windows 8, jdk1.6.0_37, MSSQL 2005 and postgres 9.1 Please feel free to let me know if you have any question. Thanks, Wei > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jtds-1.2.5.jar, OFBIZ-5216.zip, > postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang reopened OFBIZ-5216: -- > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > Fix For: SVN trunk > > Attachments: entityengine.xml, jtds-1.2.5.jar, OFBIZ-5216.zip, > postgresql-9.0-801.jdbc4.jar, screen.png > > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
[ https://issues.apache.org/jira/browse/OFBIZ-5216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei Zhang updated OFBIZ-5216: - Description: I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL databases of myself. Three ofbiz databases were created in Postgres. But the the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz was starting. And I changed public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException to public synchronized Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException it then works. was: I connected 4 databases, ofbiz, ofbiz_olap, ofbiz_tenant and my MSSQL database. Three ofbiz databases were created in Postgres. But the the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz was starting. And I changed public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException to public synchronized Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException it then works. > The thread is locked at DBCPConnectionFactory.getConnection() when connects > to multiple databases > - > > Key: OFBIZ-5216 > URL: https://issues.apache.org/jira/browse/OFBIZ-5216 > Project: OFBiz > Issue Type: Bug > Components: framework >Affects Versions: SVN trunk >Reporter: Wei Zhang >Assignee: Adrian Crum >Priority: Blocker > > I connected 5 databases, ofbiz, ofbiz_olap, ofbiz_tenant and 2 MSSQL > databases of myself. Three ofbiz databases were created in Postgres. But the > the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz > was starting. > And I changed > public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement > abstractJdbc) throws SQLException, GenericEntityException > to > public synchronized Connection getConnection(GenericHelperInfo > helperInfo, JdbcElement abstractJdbc) throws SQLException, > GenericEntityException > it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (OFBIZ-5216) The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases
Wei Zhang created OFBIZ-5216: Summary: The thread is locked at DBCPConnectionFactory.getConnection() when connects to multiple databases Key: OFBIZ-5216 URL: https://issues.apache.org/jira/browse/OFBIZ-5216 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Reporter: Wei Zhang Priority: Blocker I connected 4 databases, ofbiz, ofbiz_olap, ofbiz_tenant and my MSSQL database. Three ofbiz databases were created in Postgres. But the the thread will locked at DBCPConnectionFactory.getConnection() when OFBiz was starting. And I changed public Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException to public synchronized Connection getConnection(GenericHelperInfo helperInfo, JdbcElement abstractJdbc) throws SQLException, GenericEntityException it then works. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira