[jira] [Updated] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak updated OFBIZ-6534:
-
Affects Version/s: Release Branch 14.12

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6534.patch
>
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 

[jira] [Commented] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020526#comment-15020526
 ] 

Jacques Le Roux commented on OFBIZ-6655:


OK, not a big deal, I guess/hope Eclipse will tell us to update it when needed

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: OFBIA-6655.applications.patch, 
> OFBIZ-6655.framework_themes.patch, sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak closed OFBIZ-6742.


> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: Upcoming Branch
>
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020521#comment-15020521
 ] 

Mridul Pathak commented on OFBIZ-6742:
--

The fix is in trunk r1715536. Thanks Amardeep for reporting the issue and 
providing the patch.

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Fix For: Upcoming Branch
>
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-6708:
---
Description: 
When a party 1st non content public the serveObjectData event is called in 
party profile screen and it misses the userLogin in session.

This was implemented with 
[r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
 which is a bad hack. I guess the idea was if a "Logo Image URL" was assigned 
to a party like "Company" it should be displayed in the profile screen, that 
works w/o  error in the log. But when you have a party 1st non content of other 
type for other parties (like admin for instance) it does not make sense, and 
show an error in log.
{code}
 [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents   
 |E| null
 [java] org.ofbiz.service.ServiceAuthException: User authorization is 
required for this service: genericContentPermission
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
 ~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
[ofbiz-content.jar:?]
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_51]
 [java] at java.lang.reflect.Method.invoke(Method.java:497) 
~[?:1.8.0_51]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[ofbiz-webapp.jar:?]
 [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[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.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
[ofbiz-webapp.jar:?]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java] at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java] at 

[jira] [Closed] (OFBIZ-6677) Show out of stock products in STORE --- CATALOG Manager doesn't work

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta closed OFBIZ-6677.
---
Resolution: Fixed

> Show out of stock products in STORE --- CATALOG Manager doesn't work
> 
>
> Key: OFBIZ-6677
> URL: https://issues.apache.org/jira/browse/OFBIZ-6677
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 14.12
>Reporter: Heidi Dehaes
>Assignee: Divesh Dutta
>
> Show out of stock products 
> in STORE
> in Catalog Manager
> in Catalog
> doesn't work.
> No products at all are viewed when "out of stock products" is equal to "N".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6677) Show out of stock products in STORE --- CATALOG Manager doesn't work

2015-11-21 Thread Divesh Dutta (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020448#comment-15020448
 ] 

Divesh Dutta commented on OFBIZ-6677:
-

I have tested this and it works as per the expectation, i.e when you set "show 
out of stock products" to N, then none of the items are rendered in e-commerce 
website. This is the expected behavior. None of the products should be viewed . 
This is how this flag is designed to work. I am not sure why this issue is 
reported. 

[~info.ola...@gmail.com] , I am closing this issue as I don't think this is an 
issue. Please let me know if you think other wise. 



> Show out of stock products in STORE --- CATALOG Manager doesn't work
> 
>
> Key: OFBIZ-6677
> URL: https://issues.apache.org/jira/browse/OFBIZ-6677
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 14.12
>Reporter: Heidi Dehaes
>Assignee: Divesh Dutta
>
> Show out of stock products 
> in STORE
> in Catalog Manager
> in Catalog
> doesn't work.
> No products at all are viewed when "out of stock products" is equal to "N".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6434) In ofbizsetup, create product category causes exception

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak reassigned OFBIZ-6434:


Assignee: Mridul Pathak

> In ofbizsetup, create product category causes exception
> ---
>
> Key: OFBIZ-6434
> URL: https://issues.apache.org/jira/browse/OFBIZ-6434
> Project: OFBiz
>  Issue Type: Bug
>  Components: commonext/setup
>Affects Versions: Trunk
>Reporter: Wai
>Assignee: Mridul Pathak
>
> in ofbizsetup. create 1st productCategory gives exception.
> Seems that ofbiz tries to auto create a promotions category but the resulting 
> productCategoryId is too long for for the database field defined as a 
> varchar(20).
> My database is currently configured to use utf8.
> ...console output...
> INSERT INTO public.PRODUCT_CATEGORY (PRODUCT_CATEGORY_ID, 
> PRODUCT_CATEGORY_TYPE_ID, PRIMARY_PARENT_CATEGORY_ID, CATEGORY_NAME, 
> DESCRIPTION, LONG_DESCRIPTION, CATEGORY_IMAGE_URL, LINK_ONE_IMAGE_URL, 
> LINK_TWO_IMAGE_URL, DETAIL_SCREEN, SHOW_IN_SELECT, LAST_UPDATED_STAMP, 
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES 
> ('MYCOCLG1_ID_PROMOTIONS', 'CATALOG_CATEGORY', NULL, 'MYCOCLG1_ID 
> Promotions', NULL, NULL, NULL, NULL, NULL, 
> 'component://ecommerce/widget/CatalogScreens.xml#categorydetailmatrix', NULL, 
> '2015-05-29 13:03:32.74 -04:00:00', '2015-05-29 13:03:32.587000 
> -04:00:00', '2015-05-29 13:03:32.74 -04:00:00', '2015-05-29 
> 13:03:32.587000 -04:00:00')
> 2015-05-29 13:03:32,743 |ttp-bio-8443-exec-10 |GenericDelegator  
> |E| Failure in create operation for entity [ProductCategory]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: 
> [GenericEntity:ProductCategory][categoryName,MYCOCLG1_ID 
> Promotions(java.lang.String)][createdStamp,2015-05-29 
> 13:03:32.74(java.sql.Timestamp)][createdTxStamp,2015-05-29 
> 13:03:32.587(java.sql.Timestamp)][detailScreen,component://ecommerce/widget/CatalogScreens.xml#categorydetailmatrix(java.lang.String)][lastUpdatedStamp,2015-05-29
>  13:03:32.74(java.sql.Timestamp)][lastUpdatedTxStamp,2015-05-29 
> 13:03:32.587(java.sql.Timestamp)][productCategoryId,MYCOCLG1_ID_PROMOTIONS(java.lang.String)][productCategoryTypeId,CATALOG_CATEGORY(java.lang.String)]
>  (SQL Exception while executing the following:INSERT INTO 
> public.PRODUCT_CATEGORY (PRODUCT_CATEGORY_ID, PRODUCT_CATEGORY_TYPE_ID, 
> PRIMARY_PARENT_CATEGORY_ID, CATEGORY_NAME, DESCRIPTION, LONG_DESCRIPTION, 
> CATEGORY_IMAGE_URL, LINK_ONE_IMAGE_URL, LINK_TWO_IMAGE_URL, DETAIL_SCREEN, 
> SHOW_IN_SELECT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
> CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 
> (ERROR: value too long for type character varying(20)))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6656) Changing ContactList focus from public to private doesn't expire website contactlist association

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak reassigned OFBIZ-6656:


Assignee: Mridul Pathak

> Changing ContactList focus from public to private doesn't expire website 
> contactlist association
> 
>
> Key: OFBIZ-6656
> URL: https://issues.apache.org/jira/browse/OFBIZ-6656
> Project: OFBiz
>  Issue Type: Bug
>  Components: content, marketing
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
>
> When a user changes the focus of a contactlist (in the marketing component) 
> from isPublic="Y" to isPublic="N" and the list is associated to a website (in 
> the content component), then the expiry date of contactlist should be set in 
> the website association.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Rahul Bhammarker (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Bhammarker updated OFBIZ-6655:

Comment: was deleted

(was: Patch for applications.)

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: OFBIA-6655.applications.patch, 
> sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Rahul Bhammarker (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Bhammarker updated OFBIZ-6655:

Attachment: OFBIA-6655.applications.patch

Patch for applications.

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: OFBIA-6655.applications.patch, 
> sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-6742:

Attachment: (was: LastCategoriesError.png)

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastViewedCategoriesError.png
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020488#comment-15020488
 ] 

Mridul Pathak commented on OFBIZ-6534:
--

Found another error while fixing this bug on continue button,

[java] 2015-11-21 19:43:23,192 |http-bio-8443-exec-5 |RequestHandler
|I| [RequestHandler.doRequest]: Response is a chained request. 
sessionId=B20C140B44731912798F4138C952A773.jvm1
 [java] 2015-11-21 19:43:23,192 |http-bio-8443-exec-5 |RequestHandler   
 |I| [RequestHandler]: Chain in place: 
requestUri=processPaymentSettings overrideViewUri=null 
sessionId=B20C140B44731912798F4138C952A773.jvm1
 [java] 2015-11-21 19:43:23,192 |http-bio-8443-exec-5 |GroovyEventHandler   
 |W| Error running event : 
 [java] org.ofbiz.base.util.GeneralException: Error loading Groovy script 
at []:  (Script not found at location [])
 [java] at 
org.ofbiz.base.util.GroovyUtil.getScriptClassFromLocation(GroovyUtil.java:150) 
~[ofbiz-base.jar:?]
 [java] at 
org.ofbiz.webapp.event.GroovyEventHandler.invoke(GroovyEventHandler.java:93) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:630) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:88) 
[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:?]

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> 

[jira] [Closed] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak closed OFBIZ-6534.


> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
> Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6534.patch
>
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> 

[jira] [Updated] (OFBIZ-3030) Allow override special promo price specified in action amount

2015-11-21 Thread Arun Patidar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun Patidar updated OFBIZ-3030:

Attachment: (was: OFBIZ-3030.patch)

> Allow override special promo price specified in action amount
> -
>
> Key: OFBIZ-3030
> URL: https://issues.apache.org/jira/browse/OFBIZ-3030
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product, specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Jennifer Weston
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all 
> affected products have their price set to Product.specialPromoPrice. The 
> special promo price is defined in ProductPrice with a productPriceTypeId of 
> SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be 
> defined per product lest an exception is thrown when loading the special 
> promo price. It would be useful to allow promo rules to specify their own 
> special promo price in the action amount as an override so that multiple 
> special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y 
> Price" is the later is pretty rigid about setting the price for a fixed 
> quantity. For instance, let's say we have a promo rule with a condition "X 
> Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X 
> Product for Y Price" where the quantity is set to 1 (or left blank) and the 
> amount is set to 50.The way this will work is the customer will have to put 
> at least 5 of the affected product in his cart to trigger the rule. The 
> action will only change the price for one of the items instead of all of the 
> items. This can be a desirable behavior. But it also means the rule cannot 
> produce the result of setting all of the products to a new amount which can 
> also be a desirable behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (OFBIZ-3030) Allow override special promo price specified in action amount

2015-11-21 Thread Arun Patidar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun Patidar updated OFBIZ-3030:

Comment: was deleted

(was: I modified your patch to fix issue. I added the fix for the quantity 
field. 

Now you can set 'useCartQuantity = Y' ,  if you don't want to mention quantity 
in promo action.

Included fix for below promo actions:

- X Product for Y% Discount
- X Product for Y Discount
- X Product for Y Price

Thanks Jennifer for your patch. Also thanks to Pawan Verma for  add-ons in a 
patch. )

> Allow override special promo price specified in action amount
> -
>
> Key: OFBIZ-3030
> URL: https://issues.apache.org/jira/browse/OFBIZ-3030
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product, specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Jennifer Weston
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all 
> affected products have their price set to Product.specialPromoPrice. The 
> special promo price is defined in ProductPrice with a productPriceTypeId of 
> SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be 
> defined per product lest an exception is thrown when loading the special 
> promo price. It would be useful to allow promo rules to specify their own 
> special promo price in the action amount as an override so that multiple 
> special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y 
> Price" is the later is pretty rigid about setting the price for a fixed 
> quantity. For instance, let's say we have a promo rule with a condition "X 
> Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X 
> Product for Y Price" where the quantity is set to 1 (or left blank) and the 
> amount is set to 50.The way this will work is the customer will have to put 
> at least 5 of the affected product in his cart to trigger the rule. The 
> action will only change the price for one of the items instead of all of the 
> items. This can be a desirable behavior. But it also means the rule cannot 
> produce the result of setting all of the products to a new amount which can 
> also be a desirable behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-6708:
---
Description: 
When a party has a 1st non public content the serveObjectData event is called 
in party profile screen and it misses the userLogin in session.

This was implemented with 
[r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
 which is a bad hack. I guess the idea was if a "Logo Image URL" was assigned 
to a party like "Company" it should be displayed in the profile screen, that 
works w/o  error in the log. But when you have a party 1st non content of other 
type for other parties (like admin for instance) it does not make sense, and 
show an error in log.
{code}
 [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents   
 |E| null
 [java] org.ofbiz.service.ServiceAuthException: User authorization is 
required for this service: genericContentPermission
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
 ~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
[ofbiz-content.jar:?]
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_51]
 [java] at java.lang.reflect.Method.invoke(Method.java:497) 
~[?:1.8.0_51]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[ofbiz-webapp.jar:?]
 [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[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.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
[ofbiz-webapp.jar:?]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java] at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java] at 

[jira] [Commented] (OFBIZ-6434) In ofbizsetup, create product category causes exception

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020441#comment-15020441
 ] 

Mridul Pathak commented on OFBIZ-6434:
--

ofbizsetup component creates the necessary categories when catalog setup is 
done, it creates browse root category which is required for the ecommerce and 
also the base promotion category. I think the current functionality is working 
as expected, the only constraint I see here is that prodCatalogId should be 
small enough to support the additional category creation.

That pops up an obvious question that why are we explicitly creating alphabetic 
IDs for these additional browse root and promotion categories when we could 
simply us OFBiz generated sequence IDs?

> In ofbizsetup, create product category causes exception
> ---
>
> Key: OFBIZ-6434
> URL: https://issues.apache.org/jira/browse/OFBIZ-6434
> Project: OFBiz
>  Issue Type: Bug
>  Components: commonext/setup
>Affects Versions: Trunk
>Reporter: Wai
>
> in ofbizsetup. create 1st productCategory gives exception.
> Seems that ofbiz tries to auto create a promotions category but the resulting 
> productCategoryId is too long for for the database field defined as a 
> varchar(20).
> My database is currently configured to use utf8.
> ...console output...
> INSERT INTO public.PRODUCT_CATEGORY (PRODUCT_CATEGORY_ID, 
> PRODUCT_CATEGORY_TYPE_ID, PRIMARY_PARENT_CATEGORY_ID, CATEGORY_NAME, 
> DESCRIPTION, LONG_DESCRIPTION, CATEGORY_IMAGE_URL, LINK_ONE_IMAGE_URL, 
> LINK_TWO_IMAGE_URL, DETAIL_SCREEN, SHOW_IN_SELECT, LAST_UPDATED_STAMP, 
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES 
> ('MYCOCLG1_ID_PROMOTIONS', 'CATALOG_CATEGORY', NULL, 'MYCOCLG1_ID 
> Promotions', NULL, NULL, NULL, NULL, NULL, 
> 'component://ecommerce/widget/CatalogScreens.xml#categorydetailmatrix', NULL, 
> '2015-05-29 13:03:32.74 -04:00:00', '2015-05-29 13:03:32.587000 
> -04:00:00', '2015-05-29 13:03:32.74 -04:00:00', '2015-05-29 
> 13:03:32.587000 -04:00:00')
> 2015-05-29 13:03:32,743 |ttp-bio-8443-exec-10 |GenericDelegator  
> |E| Failure in create operation for entity [ProductCategory]: 
> org.ofbiz.entity.GenericEntityException: Error while inserting: 
> [GenericEntity:ProductCategory][categoryName,MYCOCLG1_ID 
> Promotions(java.lang.String)][createdStamp,2015-05-29 
> 13:03:32.74(java.sql.Timestamp)][createdTxStamp,2015-05-29 
> 13:03:32.587(java.sql.Timestamp)][detailScreen,component://ecommerce/widget/CatalogScreens.xml#categorydetailmatrix(java.lang.String)][lastUpdatedStamp,2015-05-29
>  13:03:32.74(java.sql.Timestamp)][lastUpdatedTxStamp,2015-05-29 
> 13:03:32.587(java.sql.Timestamp)][productCategoryId,MYCOCLG1_ID_PROMOTIONS(java.lang.String)][productCategoryTypeId,CATALOG_CATEGORY(java.lang.String)]
>  (SQL Exception while executing the following:INSERT INTO 
> public.PRODUCT_CATEGORY (PRODUCT_CATEGORY_ID, PRODUCT_CATEGORY_TYPE_ID, 
> PRIMARY_PARENT_CATEGORY_ID, CATEGORY_NAME, DESCRIPTION, LONG_DESCRIPTION, 
> CATEGORY_IMAGE_URL, LINK_ONE_IMAGE_URL, LINK_TWO_IMAGE_URL, DETAIL_SCREEN, 
> SHOW_IN_SELECT, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
> CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 
> (ERROR: value too long for type character varying(20)))



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-3030) Allow override special promo price specified in action amount

2015-11-21 Thread Arun Patidar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun Patidar reassigned OFBIZ-3030:
---

Assignee: Arun Patidar  (was: Ashish Vijaywargiya)

> Allow override special promo price specified in action amount
> -
>
> Key: OFBIZ-3030
> URL: https://issues.apache.org/jira/browse/OFBIZ-3030
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product, specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Jennifer Weston
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all 
> affected products have their price set to Product.specialPromoPrice. The 
> special promo price is defined in ProductPrice with a productPriceTypeId of 
> SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be 
> defined per product lest an exception is thrown when loading the special 
> promo price. It would be useful to allow promo rules to specify their own 
> special promo price in the action amount as an override so that multiple 
> special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y 
> Price" is the later is pretty rigid about setting the price for a fixed 
> quantity. For instance, let's say we have a promo rule with a condition "X 
> Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X 
> Product for Y Price" where the quantity is set to 1 (or left blank) and the 
> amount is set to 50.The way this will work is the customer will have to put 
> at least 5 of the affected product in his cart to trigger the rule. The 
> action will only change the price for one of the items instead of all of the 
> items. This can be a desirable behavior. But it also means the rule cannot 
> produce the result of setting all of the products to a new amount which can 
> also be a desirable behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)
Amardeep Singh Jhajj created OFBIZ-6742:
---

 Summary: Last categories section in e-commerce pages is broken.
 Key: OFBIZ-6742
 URL: https://issues.apache.org/jira/browse/OFBIZ-6742
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Amardeep Singh Jhajj


Last categories section on e-commerce pages is broken. Please find attached 
screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-6742:

Description: 
Last categories section on e-commerce pages is broken. Please find attached 
screenshot for error.


  was:Last categories section on e-commerce pages is broken. Please find 
attached screenshot for error.


> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastViewedCategoriesError.png
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-6742:

Attachment: LastViewedCategoriesError.png

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastViewedCategoriesError.png
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak reassigned OFBIZ-6534:


Assignee: Mridul Pathak

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at org.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136) 
> at 

[jira] [Updated] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-6742:

Attachment: OFBIZ-6742.patch

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Rahul Bhammarker (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Bhammarker updated OFBIZ-6655:

Attachment: OFBIZ-6655.framework_themes.patch

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: OFBIA-6655.applications.patch, 
> OFBIZ-6655.framework_themes.patch, sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020482#comment-15020482
 ] 

Amardeep Singh Jhajj commented on OFBIZ-6742:
-

Please find attached patch for the fix. Thanks.

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak updated OFBIZ-6534:
-
Attachment: OFBIZ-6534.patch

Patch to fix both the issues.

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6534.patch
>
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 

[jira] [Updated] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-6708:
---
Description: 
When a party has a 1st non public content the serveObjectData event is called 
in party profile screen and it misses the userLogin in session.

This was implemented with 
[r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
 which is a bad hack. I guess the idea was if a "Logo Image URL" was assigned 
to a party like "Company" it should be displayed in the profile screen, that 
works w/o  error in the log. But when you have a party 1st non public content 
of other type for other parties (like admin for instance) it does not make 
sense, and show an error in log.
{code}
 [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents   
 |E| null
 [java] org.ofbiz.service.ServiceAuthException: User authorization is 
required for this service: genericContentPermission
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
 ~[ofbiz-service.jar:?]
 [java] at 
org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
[ofbiz-content.jar:?]
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
~[?:1.8.0_51]
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_51]
 [java] at java.lang.reflect.Method.invoke(Method.java:497) 
~[?:1.8.0_51]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
[ofbiz-webapp.jar:?]
 [java] at 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
[ofbiz-webapp.jar:?]
 [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
[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.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
[ofbiz-webapp.jar:?]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
 [tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) 
[tomcat-7.0.64-catalina.jar:7.0.64]
 [java] at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java] at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
 [tomcat-7.0.64-tomcat-coyote.jar:7.0.64]
 [java]

[jira] [Updated] (OFBIZ-3030) Allow override special promo price specified in action amount

2015-11-21 Thread Arun Patidar (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun Patidar updated OFBIZ-3030:

Attachment: OFBIZ-3030.patch

I modified your patch to fix issue. I added the fix for the quantity field. 

Now you can set 'useCartQuantity = Y' ,  if you don't want to mention quantity 
in promo action.

Included fix for below promo actions:

- X Product for Y% Discount
- X Product for Y Discount
- X Product for Y Price

Thanks Jennifer for your patch. Also thanks to Pawan Verma for  add-ons in a 
patch. 

> Allow override special promo price specified in action amount
> -
>
> Key: OFBIZ-3030
> URL: https://issues.apache.org/jira/browse/OFBIZ-3030
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product, specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Jennifer Weston
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-3030.patch, OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all 
> affected products have their price set to Product.specialPromoPrice. The 
> special promo price is defined in ProductPrice with a productPriceTypeId of 
> SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be 
> defined per product lest an exception is thrown when loading the special 
> promo price. It would be useful to allow promo rules to specify their own 
> special promo price in the action amount as an override so that multiple 
> special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y 
> Price" is the later is pretty rigid about setting the price for a fixed 
> quantity. For instance, let's say we have a promo rule with a condition "X 
> Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X 
> Product for Y Price" where the quantity is set to 1 (or left blank) and the 
> amount is set to 50.The way this will work is the customer will have to put 
> at least 5 of the affected product in his cart to trigger the rule. The 
> action will only change the price for one of the items instead of all of the 
> items. This can be a desirable behavior. But it also means the rule cannot 
> produce the result of setting all of the products to a new amount which can 
> also be a desirable behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Mridul Pathak (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Pathak reassigned OFBIZ-6742:


Assignee: Mridul Pathak

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Mridul Pathak
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Amardeep Singh Jhajj (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amardeep Singh Jhajj updated OFBIZ-6742:

Attachment: LastCategoriesError.png

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
> Attachments: LastCategoriesError.png, LastViewedCategoriesError.png
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6733) Error with Service Product Invoice Lines

2015-11-21 Thread Rishi Solanki (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishi Solanki reassigned OFBIZ-6733:


Assignee: Rishi Solanki

> Error with Service Product Invoice Lines
> 
>
> Key: OFBIZ-6733
> URL: https://issues.apache.org/jira/browse/OFBIZ-6733
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: 13.07.02
>Reporter: Sharan Foga
>Assignee: Rishi Solanki
>Priority: Minor
> Attachments: OFBIZ-6733.patch
>
>
> I think there is a bug in the creation of invoices for Service Products.
> A Service Product uses the Invoice Item Line Type (InvoiceItemTypeId) 
> 'INV_SPROD_ITEM' and a Finished Good product uses the InvoiceItemTypeId 
> 'INV_FPROD_ITEM'
> If you create a Sales Order for a Service Product then the invoice  generated 
> has the line item type for a Finished Goods product which is wrong. 
> This is an issue because you can configure Service products to be posted to a 
> different account to Finished Goods products in the GL Account Defaults. 
> (https://localhost:8443/accounting/control/GlAccountSalInvoice?organizationPartyId=Company)
> So currently Service products are being posted using the setup specified for 
> Finished Goods. I think no one has noticed because in the Demo Data the 
> accounts are the same 401000.  
> Example
> 1) Create a Sales Order for the Service Product SV-1000 using DemoCustomer
> 2) Approve the Sales Order
> 3) An invoice will automatically be created for the Service Product SV-1000
> 4) Click the link to the invoice and you will see that the second column 
> 'Invoice Item Type' says 'Invoice Finished Goods Item (Sales) and it should 
> say 'Invoice Service Product Item (Sales)
> The InvoiceServices.java contains the following, so looks like some possible 
> hardcoding.
> {code}
> createInvoiceItemContext.put("invoiceItemTypeId", 
> getInvoiceItemType(delegator, (orderItem.getString("orderItemTypeId")), 
> (product == null ? null : product.getString("productTypeId")), invoiceType, 
> "INV_FPROD_ITEM"));
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6733) Error with Service Product Invoice Lines

2015-11-21 Thread Rishi Solanki (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishi Solanki updated OFBIZ-6733:
-
Attachment: OFBIZ-6733.patch

The default value was picked as finished good because there was no 
corresponding entry available for service product with no physical entry in the 
InvoiceItemTypeMap.
As mention by Sharan then system pick the default invoice item type to create 
invoice for item. After loading the InvoiceItemTypeMap data no code changes 
requires and system will automatically pick the correct invoice item type from 
db.

Note: Issue also exists in trunk and patch is applicable to both trunk and 
release mentioned in affects version. Thanks!

> Error with Service Product Invoice Lines
> 
>
> Key: OFBIZ-6733
> URL: https://issues.apache.org/jira/browse/OFBIZ-6733
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: 13.07.02
>Reporter: Sharan Foga
>Priority: Minor
> Attachments: OFBIZ-6733.patch
>
>
> I think there is a bug in the creation of invoices for Service Products.
> A Service Product uses the Invoice Item Line Type (InvoiceItemTypeId) 
> 'INV_SPROD_ITEM' and a Finished Good product uses the InvoiceItemTypeId 
> 'INV_FPROD_ITEM'
> If you create a Sales Order for a Service Product then the invoice  generated 
> has the line item type for a Finished Goods product which is wrong. 
> This is an issue because you can configure Service products to be posted to a 
> different account to Finished Goods products in the GL Account Defaults. 
> (https://localhost:8443/accounting/control/GlAccountSalInvoice?organizationPartyId=Company)
> So currently Service products are being posted using the setup specified for 
> Finished Goods. I think no one has noticed because in the Demo Data the 
> accounts are the same 401000.  
> Example
> 1) Create a Sales Order for the Service Product SV-1000 using DemoCustomer
> 2) Approve the Sales Order
> 3) An invoice will automatically be created for the Service Product SV-1000
> 4) Click the link to the invoice and you will see that the second column 
> 'Invoice Item Type' says 'Invoice Finished Goods Item (Sales) and it should 
> say 'Invoice Service Product Item (Sales)
> The InvoiceServices.java contains the following, so looks like some possible 
> hardcoding.
> {code}
> createInvoiceItemContext.put("invoiceItemTypeId", 
> getInvoiceItemType(delegator, (orderItem.getString("orderItemTypeId")), 
> (product == null ? null : product.getString("productTypeId")), invoiceType, 
> "INV_FPROD_ITEM"));
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6733) Error with Service Product Invoice Lines

2015-11-21 Thread Rishi Solanki (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rishi Solanki updated OFBIZ-6733:
-
Assignee: (was: Rishi Solanki)

> Error with Service Product Invoice Lines
> 
>
> Key: OFBIZ-6733
> URL: https://issues.apache.org/jira/browse/OFBIZ-6733
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: 13.07.02
>Reporter: Sharan Foga
>Priority: Minor
> Attachments: OFBIZ-6733.patch
>
>
> I think there is a bug in the creation of invoices for Service Products.
> A Service Product uses the Invoice Item Line Type (InvoiceItemTypeId) 
> 'INV_SPROD_ITEM' and a Finished Good product uses the InvoiceItemTypeId 
> 'INV_FPROD_ITEM'
> If you create a Sales Order for a Service Product then the invoice  generated 
> has the line item type for a Finished Goods product which is wrong. 
> This is an issue because you can configure Service products to be posted to a 
> different account to Finished Goods products in the GL Account Defaults. 
> (https://localhost:8443/accounting/control/GlAccountSalInvoice?organizationPartyId=Company)
> So currently Service products are being posted using the setup specified for 
> Finished Goods. I think no one has noticed because in the Demo Data the 
> accounts are the same 401000.  
> Example
> 1) Create a Sales Order for the Service Product SV-1000 using DemoCustomer
> 2) Approve the Sales Order
> 3) An invoice will automatically be created for the Service Product SV-1000
> 4) Click the link to the invoice and you will see that the second column 
> 'Invoice Item Type' says 'Invoice Finished Goods Item (Sales) and it should 
> say 'Invoice Service Product Item (Sales)
> The InvoiceServices.java contains the following, so looks like some possible 
> hardcoding.
> {code}
> createInvoiceItemContext.put("invoiceItemTypeId", 
> getInvoiceItemType(delegator, (orderItem.getString("orderItemTypeId")), 
> (product == null ? null : product.getString("productTypeId")), invoiceType, 
> "INV_FPROD_ITEM"));
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020511#comment-15020511
 ] 

Mridul Pathak commented on OFBIZ-6534:
--

Thanks Pierre for reporting the issue.

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6534.patch
>
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> 

[jira] [Commented] (OFBIZ-6534) Same Billing Address generates an error

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020510#comment-15020510
 ] 

Mridul Pathak commented on OFBIZ-6534:
--

Fixed in,
* Trunk r1715531
* 14.12 r1715533
* 13.07 r1715534
* 12.04 r1715535

Also applied relevant fix from trunk r1704227 to the branches.

> Same Billing Address generates an error
> ---
>
> Key: OFBIZ-6534
> URL: https://issues.apache.org/jira/browse/OFBIZ-6534
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Trunk
>Reporter: Pierre Smits
>Assignee: Mridul Pathak
> Attachments: OFBIZ-6534.patch
>
>
> When opting for a 'Single Use EFT Account in the checkout process of 
> e-commerce and opting for 'Billing address is the same as delivery address' 
> following error is generated:
> {code}
> FreeMarker template error: Java method 
> "org.ofbiz.widget.renderer.ScreenRenderer.render(String)" threw an exception 
> when invoked on org.ofbiz.widget.renderer.ScreenRenderer object 
> "org.ofbiz.widget.renderer.ScreenRenderer@475a9aec"; see cause exception in 
> the Java stack trace.  FTL stack trace ("~" means nesting-related): - 
> Failed at: ${screens.render(anonymoustrailScreen)} [in template 
> "component://ecommerce/webapp/ecommerce/order/billsettings.ftl" at line 40, 
> column 17]  Java stack trace (for programmers):  
> freemarker.core._TemplateModelException: [... Exception message was already 
> printed; see it above ...] at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:311)
>  at 
> freemarker.ext.beans._MethodUtil.newInvocationTemplateModelException(_MethodUtil.java:284)
>  at 
> freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:68)
>  at freemarker.core.MethodCall._eval(MethodCall.java:62) at 
> freemarker.core.Expression.eval(Expression.java:78) at 
> freemarker.core.Expression.evalAndCoerceToString(Expression.java:82) at 
> freemarker.core.DollarVariable.accept(DollarVariable.java:40) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visitByHiddingParent(Environment.java:333) at 
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:48) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.MixedContent.accept(MixedContent.java:62) at 
> freemarker.core.Environment.visit(Environment.java:312) at 
> freemarker.core.Environment.process(Environment.java:290) at 
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:257)
>  at org.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:167) 
> at 
> org.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:216)
>  at org.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140) 
> at 
> org.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1319)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:906)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:127)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:943)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:459)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
>  at 
> org.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164) 
> at 
> org.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:211)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
>  at 
> org.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
>  at 
> 

[jira] [Commented] (OFBIZ-3030) Allow override special promo price specified in action amount

2015-11-21 Thread Arun Patidar (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-3030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020531#comment-15020531
 ] 

Arun Patidar commented on OFBIZ-3030:
-

I need to test few more scenerios, so removing attached patch and comment. I 
will try to come back with a proper fix. 

> Allow override special promo price specified in action amount
> -
>
> Key: OFBIZ-3030
> URL: https://issues.apache.org/jira/browse/OFBIZ-3030
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product, specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Jennifer Weston
>Assignee: Arun Patidar
>Priority: Minor
> Attachments: OFBIZ-3030.patch
>
>
> When a promo rule action is set to "Product for [Special Promo] Price", all 
> affected products have their price set to Product.specialPromoPrice. The 
> special promo price is defined in ProductPrice with a productPriceTypeId of 
> SPECIAL_PROMO_PRICE. At the moment, only one special promo price may be 
> defined per product lest an exception is thrown when loading the special 
> promo price. It would be useful to allow promo rules to specify their own 
> special promo price in the action amount as an override so that multiple 
> special promo prices may be defined for a product.
> The difference between using special promo price and using "X Product for Y 
> Price" is the later is pretty rigid about setting the price for a fixed 
> quantity. For instance, let's say we have a promo rule with a condition "X 
> Quantity of Product" "is Greater Than or Equal To" 5 and an action  "X 
> Product for Y Price" where the quantity is set to 1 (or left blank) and the 
> amount is set to 50.The way this will work is the customer will have to put 
> at least 5 of the affected product in his cart to trigger the rule. The 
> action will only change the price for one of the items instead of all of the 
> items. This can be a desirable behavior. But it also means the rule cannot 
> produce the result of setting all of the products to a new amount which can 
> also be a desirable behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6743) Error on the Split Payment button from the Quick Finalize Order screen

2015-11-21 Thread Vyom Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020870#comment-15020870
 ] 

Vyom Jain commented on OFBIZ-6743:
--

This is an issue even in 09.04 and 10.04 code, so it has been there for 
sometime now.

> Error on the Split Payment button from the Quick Finalize Order screen
> --
>
> Key: OFBIZ-6743
> URL: https://issues.apache.org/jira/browse/OFBIZ-6743
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 12.04, Release Branch 13.07, Release 
> Branch 14.12, Trunk
>Reporter: Jacques Le Roux
>
> Error in trunk:
> ERROR rendering error page [/error/error.jsp], but here is the error text: 
> org.ofbiz.webapp.control.RequestHandlerException: No definition found for 
> view with name [checkoutpayment]
> Error in stable and old:
> org.ofbiz.webapp.control.RequestHandlerException: No definition found for 
> view with name [checkoutpayment]
> This is the same kind of error you got with OFBIZ-6741 before it was fixed



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020833#comment-15020833
 ] 

Jacques Le Roux commented on OFBIZ-6741:


I guess it's because this screen from party is called from order, but I still 
don't understand because in both components the common-controller.xml is 
included. Maybe it's because this screen is called by the submitForm js 
function, but I still does not understand why.

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6741.patch
>
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6743) Error on the Split Payment button from the Quick Finalize Order screen

2015-11-21 Thread Jacques Le Roux (JIRA)
Jacques Le Roux created OFBIZ-6743:
--

 Summary: Error on the Split Payment button from the Quick Finalize 
Order screen
 Key: OFBIZ-6743
 URL: https://issues.apache.org/jira/browse/OFBIZ-6743
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, Release Branch 14.12, Release Branch 13.07, 
Release Branch 12.04
Reporter: Jacques Le Roux


Error in trunk:
ERROR rendering error page [/error/error.jsp], but here is the error text: 
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view 
with name [checkoutpayment]

Error in stable and old:
org.ofbiz.webapp.control.RequestHandlerException: No definition found for view 
with name [checkoutpayment]

This is the same kind of error you got with OFBIZ-6741 before it was fixed





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Building a Winning UX Strategy Using the Kano Model

2015-11-21 Thread Ean Schuessler
There are some great ideas in this talk. I don't agree with the notion that
adding features is always a negative but an interface becoming too
complicated from feature bloat is a reality.

One idea we talked about some time ago was a notion of UICAs (User
Interface Condition Actions) that would allow for the insertion of UI
elements by components. This would allow a component to insert new buttons
and menu entries at engineered insertion points at various points in the
applications. These would allow a component like the Facility Manager to
insert its tabs in the catalog and so on but if facilities weren't needed
then those extra tabs would disappear.

The whole system could be trimmed back to a base platform with these
insertion points throughout it.

On Fri, Nov 20, 2015 at 3:32 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Interesting indeed
>
> Jacques
>
>
> Le 20/11/2015 09:47, Julien NICOLAS a écrit :
>
>> Hello Ron,
>>
>> It's really interesting, thanks!
>>
>> Julien.
>>
>> Le 20/11/2015 07:41, Ron Wheeler a écrit :
>>
>>> This video is about the strategy surrounding the user experience.
>>> https://www.youtube.com/watch?v=Hr1rN3jibIk
>>>
>>> There are a lot of ideas about how to use the Kano Model to determine
>>> what features should be included in a product.
>>> - There are features that are so basic that they do not show up in user
>>> requirements - Accounts must balance; Orders should not be lost.
>>>   These are typically expensive to include and if they work, you get no
>>> user satisfaction but if they don't, you create a lot of user
>>> dissatisfaction.
>>>
>>> - There are features that users consider key to the performance of the
>>> application and show up as "Features" in marketing docs and RFPs - good
>>> documentation, search, multi-tenancy, support for eCommerce gateways, etc.
>>>   These have a linear line from "few features, unsatisfactory user
>>> experience" to "many features with great user experience"
>>>
>>> - There are features that generate "the WOW reaction". They are not
>>> expected to be there but users/buyers are impressed when they are.
>>>   If they are not included, this does not generate dissatisfaction but
>>> if they are there they generate user enthusiasm.
>>>
>>> The trick is to know where each enhancement requested or suggested fits
>>> in the space.
>>>
>>> As time goes on, the "WOW" features move into the performance class and
>>> eventually to the expected class.
>>> For example, I can remember when touch screens were really exciting but
>>> now a tablet or phone that only supports a keypad could hardly be sold.
>>>
>>> One of the more interesting parts of the discussion is about why you
>>> need a process for saying "No." to new features.
>>> How do you keep a piece of software at exactly the right level of
>>> complexity?
>>>
>>> Enjoy.
>>>
>>> Ron
>>>
>>>
>>
>>


-- 
Ean Schuessler, Brainfood Co-Founder
e...@brainfood.com
214-720-0700


[jira] [Comment Edited] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020715#comment-15020715
 ] 

Jacques Le Roux edited comment on OFBIZ-6708 at 11/21/15 9:59 PM:
--

Sorry guys I reopen,  I found another related case: this minor error in the log 
when I remove a content party:
{code}
 [java] 2015-11-21 22:52:38,110 |http-bio-8443-exec-6 |ControlServlet   
 |T| [[[removePartyContent(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]

 [java] 2015-11-21 22:52:38,134 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/removePartyContent] finished in [18] 
milliseconds
 [java] 2015-11-21 22:52:38,134 |http-bio-8443-exec-6 |RequestHandler   
 |I| Ran Event [service:#removePartyContent] from [request], result is 
[success]
 [java] 2015-11-21 22:52:38,135 |http-bio-8443-exec-6 |RequestHandler   
 |I| Rendering View [viewprofile], 
sessionId=56DBE28A391381E1B44D53CD49968F7E.jvm1
 [java] 2015-11-21 22:52:38,136 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/getUserPreferenceGroup] finished in [1] 
milliseconds
 [java] 2015-11-21 22:52:38,138 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/getVisualThemeResources] finished in [1] 
milliseconds
 [java] 2015-11-21 22:52:38,163 |http-bio-8443-exec-6 |ScreenFactory
 |I| Got 39 screens in 0.008s from: 
file:/C:/projectASF-Mars/ofbiz/applications/party/widget/partymgr/PartyScreens.xml
 [java] 2015-11-21 22:52:38,210 |http-bio-8443-exec-6 |ScreenFactory
 |I| Got 4 screens in 0.005s from: 
file:/C:/projectASF-Mars/ofbiz/applications/party/widget/partymgr/CommonScreens.xml
 [java] 2015-11-21 22:52:38,216 |http-bio-8443-exec-6 |ScreenFactory
 |I| Got 1 screens in 0.005s from: 
file:/C:/projectASF-Mars/ofbiz/applications/commonext/widget/CommonScreens.xml
 [java] 2015-11-21 22:52:38,284 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/getLastSystemInfoNote] finished in [17] 
milliseconds
 [java] 2015-11-21 22:52:38,286 |http-bio-8443-exec-6 |PrimaryKeyFinder 
 |I| Returning null because found incomplete primary key in find: 
[GenericEntity:PartyAcctgPrefAndGroup][partyId,Company
(java.lang.String)][roleTypeId,null()]
 [java] 2015-11-21 22:52:38,293 |http-bio-8443-exec-6 |ScreenFactory
 |I| Got 24 screens in 0.006s from: 
file:/C:/projectASF-Mars/ofbiz/framework/common/widget/CommonScreens.xml
 [java] 2015-11-21 22:52:38,392 |http-bio-8443-exec-6 |ServiceEcaRule   
 |I| For Service ECA [partyBasePermissionCheck] on [return] got false 
for condition: [hasPermission][equals][false][true
][Boolean]
 [java] 2015-11-21 22:52:38,393 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/partyBasePermissionCheck] finished in [46] 
milliseconds
 [java] 2015-11-21 22:52:38,401 |http-bio-8443-exec-6 |ServiceEcaRule   
 |I| For Service ECA [partyBasePermissionCheck] on [return] got false 
for condition: [hasPermission][equals][false][true
][Boolean]
 [java] 2015-11-21 22:52:38,402 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/partyBasePermissionCheck] finished in [1] 
milliseconds
 [java] 2015-11-21 22:52:38,419 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/acctgBasePermissionCheck] finished in [12] 
milliseconds
 [java] 2015-11-21 22:52:38,421 |http-bio-8443-exec-6 |ServiceEcaRule   
 |I| For Service ECA [partyBasePermissionCheck] on [return] got false 
for condition: [hasPermission][equals][false][true
][Boolean]
 [java] 2015-11-21 22:52:38,423 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/acctgBasePermissionCheck] finished in [1] 
milliseconds
 [java] 2015-11-21 22:52:38,719 |http-bio-8443-exec-6 |ServiceDispatcher
 |T| Sync service [partymgr/getOrderedSummaryInformation] finished in 
[116] milliseconds
 [java] 2015-11-21 22:52:38,847 |http-bio-8443-exec-6 |ServerHitBin 
 |I| Visit delegatorName=default, ServerHitBin delegatorName=default
 [java] 2015-11-21 22:52:38,847 |http-bio-8443-exec-6 |ControlServlet   
 |T| [[[removePartyContent(Domain:https://localhost)] Request Done- 
total:0.737,since last([removePartyConte...):0.737]]

 [java] 2015-11-21 22:52:38,994 |http-bio-8443-exec-6 |ControlServlet   
 |T| [[[removePartyContent(Domain:https://localhost)] Request Begun, 
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]

 [java] 2015-11-21 22:52:38,998 |http-bio-8443-exec-6 |ModelService 
 |E| [ModelService.validate] : {removePartyContent} : (IN) Required 

[jira] [Reopened] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reopened OFBIZ-6708:


Sorry guys, but I found a not completed case. I still can still see the error 
in the log when I remove the 

I reopen and revert the changes.

To reproduce you need to "attach" a non public content of any type to any party 
and when getting to this party profile you will see the error in log.

> Missing userLogin error on party profile screen when 1st content is non public
> --
>
> Key: OFBIZ-6708
> URL: https://issues.apache.org/jira/browse/OFBIZ-6708
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6708.patch
>
>
> When a party has a 1st non public content the serveObjectData event is called 
> in party profile screen and it misses the userLogin in session.
> This was implemented with 
> [r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
> this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
>  which is a bad hack. I guess the idea was if a "Logo Image URL" was assigned 
> to a party like "Company" it should be displayed in the profile screen, that 
> works w/o  error in the log. But when you have a party 1st non public content 
> of other type for other parties (like admin for instance) it does not make 
> sense, and show an error in log.
> {code}
>  [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents 
>|E| null
>  [java] org.ofbiz.service.ServiceAuthException: User authorization is 
> required for this service: genericContentPermission
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>  ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
> [ofbiz-content.jar:?]
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_51]
>  [java] at java.lang.reflect.Method.invoke(Method.java:497) 
> ~[?:1.8.0_51]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
> [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.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

[jira] [Reopened] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reopened OFBIZ-6742:

  Assignee: Jacques Le Roux  (was: Mridul Pathak)

>From 
>http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl?r1=1713634=1713633=1713634
> this is wrong. 

I will revert and commit a simple non destructive fix

> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Jacques Le Roux
> Fix For: Upcoming Branch
>
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6742) Last categories section in e-commerce pages is broken.

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-6742.
--
Resolution: Fixed

This initially was my error in r1705417, So I simply reverted the change in 
r1715536 done for OFBIZ-6742 and also reverted r1705417 in this file. I will 
check other changes done in r1705417

Fixed in trunk at r1715573  



> Last categories section in e-commerce pages is broken.
> --
>
> Key: OFBIZ-6742
> URL: https://issues.apache.org/jira/browse/OFBIZ-6742
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Amardeep Singh Jhajj
>Assignee: Jacques Le Roux
> Fix For: Upcoming Branch
>
> Attachments: LastViewedCategoriesError.png, OFBIZ-6742.patch
>
>
> Last categories section on e-commerce pages is broken. Please find attached 
> screenshot for error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020751#comment-15020751
 ] 

Jacques Le Roux commented on OFBIZ-6741:


This works indeed, but I wonder why it's only needed in this case.

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6741.patch
>
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reopened OFBIZ-6709:


Sorry guys I reopen, it's a bit meticulous but this still does not completly 
work. 

If for instance I upload an URL_LOGO for the Company, I should see the screen 
showing the new logo in 2 places: page top and Party Group Information section. 
But the page does not refresh. 

This is an obvious example, another one is to upload a content for admin. 

When I don't start from 
https://localhost:8443/partymgr/control/viewprofile?partyId=admin but 
https://localhost:8443/partymgr/control/removePartyContent/viewprofile I don't 
see the new content to appear in a line under the Party Content section. On the 
other hand removing the content does refresh the page in  all cases.

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-6709.patch
>
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta updated OFBIZ-6709:

Attachment: OFBIZ-6709.patch

Here is the patch to fix the issue

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-6709.patch
>
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta updated OFBIZ-6709:

Comment: was deleted

(was: Here is the patch to fix the issue)

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-6709.patch
>
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta resolved OFBIZ-6709.
-
Resolution: Fixed

After this fix, page gets refreshed. 

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-6709.patch
>
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6241) Fix fop warning related to table-layout="auto"

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-6241.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch

> Fix fop warning related to table-layout="auto"
> --
>
> Key: OFBIZ-6241
> URL: https://issues.apache.org/jira/browse/OFBIZ-6241
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-6241.patch
>
>
> {code}
>  [java] 2015-04-11 16:37:18,388 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 139:40)
>  [java] 2015-04-11 16:37:18,390 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 173:81)
>  [java] 2015-04-11 16:37:18,395 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 202:39)
>  [java] 2015-04-11 16:37:18,398 |http-bio-8443-exec-6 |FOUserAgent
>|W| "fo:table-body" is missing child elements. Required content 
> model: marker* (table-row+|table-cell+) (See position 221:32)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6241) Fix fop warning related to table-layout="auto"

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020375#comment-15020375
 ] 

Deepak Dixit commented on OFBIZ-6241:
-

Thanks Jagpreet for your contribution. Your patch committed at trunk at 
r#1715493

> Fix fop warning related to table-layout="auto"
> --
>
> Key: OFBIZ-6241
> URL: https://issues.apache.org/jira/browse/OFBIZ-6241
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-6241.patch
>
>
> {code}
>  [java] 2015-04-11 16:37:18,388 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 139:40)
>  [java] 2015-04-11 16:37:18,390 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 173:81)
>  [java] 2015-04-11 16:37:18,395 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 202:39)
>  [java] 2015-04-11 16:37:18,398 |http-bio-8443-exec-6 |FOUserAgent
>|W| "fo:table-body" is missing child elements. Required content 
> model: marker* (table-row+|table-cell+) (See position 221:32)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya reassigned OFBIZ-6741:
--

Assignee: Ashish Vijaywargiya

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Aditya Patwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aditya Patwa updated OFBIZ-6741:

Flags: Patch

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Vishal Chhabria (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vishal Chhabria updated OFBIZ-6708:
---
Attachment: OFBIZ-6708.patch

Here is the patch for the reported issue.

I digged around this issue and found that request used to render the content is 
/content/control/stream. So, when user is logged in to Party Manager app but 
not in Content Manager, no userLogin was found in the session which was causing 
this issue. I have added externalKeyParam in the request and content is being 
rendered properly now.

> Missing userLogin error on party profile screen when 1st content is non public
> --
>
> Key: OFBIZ-6708
> URL: https://issues.apache.org/jira/browse/OFBIZ-6708
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Hans Bakker
>Priority: Minor
> Attachments: OFBIZ-6708.patch
>
>
> When a party 1st non content public the serveObjectData event is called in 
> party profile screen and it misses the userLogin in session.
> This was implemented with 
> [r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
> this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
>  which is a back hack. I guess the idea was if a "Logo Image URL" was 
> assigned to a party like "Company" it should be displayed in the profile 
> screen, that works w/o  error in the log. But when you have a party 1st non 
> content of other type for other parties (like admin for instance) it does not 
> make sense, and show an error in log.
> {code}
>  [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents 
>|E| null
>  [java] org.ofbiz.service.ServiceAuthException: User authorization is 
> required for this service: genericContentPermission
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>  ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
> [ofbiz-content.jar:?]
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_51]
>  [java] at java.lang.reflect.Method.invoke(Method.java:497) 
> ~[?:1.8.0_51]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
> [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.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> 

[jira] [Closed] (OFBIZ-6681) Type-ahead regarding workeffort in AddQuoteWorkEffort

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-6681.
---
Resolution: Fixed

> Type-ahead regarding workeffort in AddQuoteWorkEffort
> -
>
> Key: OFBIZ-6681
> URL: https://issues.apache.org/jira/browse/OFBIZ-6681
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote, workeffort
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
>
> This is the error thrown: ERROR rendering error page [/error/error.jsp], but 
> here is the error text: org.ofbiz.webapp.control.RequestHandlerException: 
> Unknown request [workeffort]; this request does not exist or cannot be called 
> directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6682) Type-ahead regarding requirement in ListWorkEffortRequirements throws an error

2015-11-21 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya closed OFBIZ-6682.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   14.12.01

Thanks Pierre for reporting the issue and Thanks Jitendra for providing the 
patch. Changes has been committed in trunk at r1715482 and in R14.12 at 
r1715484.

> Type-ahead regarding requirement in ListWorkEffortRequirements throws an error
> --
>
> Key: OFBIZ-6682
> URL: https://issues.apache.org/jira/browse/OFBIZ-6682
> Project: OFBiz
>  Issue Type: Bug
>  Components: workeffort
>Affects Versions: Release Branch 14.12, Trunk
> Environment: This is the error thrown:
> org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ordermgr]; 
> this request does not exist or cannot be called directly.
>Reporter: Pierre Smits
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, Upcoming Branch
>
>
> Using: 
> http://demo-trunk-ofbiz.apache.org/workeffort/control/ListWorkEffortRequirements?workEffortId=9202
> This is the error thrown:
> org.ofbiz.webapp.control.RequestHandlerException: Unknown request [ordermgr]; 
> this request does not exist or cannot be called directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6681) Type-ahead regarding workeffort in AddQuoteWorkEffort

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020321#comment-15020321
 ] 

Deepak Dixit commented on OFBIZ-6681:
-

Thanks Pierre for reporting the issue.
Thanks Irshad for your contribution.

This has been fixed at 
Trunk at 1715477
14.12 at 1715481
13.07 at 1715483

> Type-ahead regarding workeffort in AddQuoteWorkEffort
> -
>
> Key: OFBIZ-6681
> URL: https://issues.apache.org/jira/browse/OFBIZ-6681
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote, workeffort
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
>
> This is the error thrown: ERROR rendering error page [/error/error.jsp], but 
> here is the error text: org.ofbiz.webapp.control.RequestHandlerException: 
> Unknown request [workeffort]; this request does not exist or cannot be called 
> directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6681) Type-ahead regarding workeffort in AddQuoteWorkEffort

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit updated OFBIZ-6681:

Fix Version/s: Upcoming Branch
   13.07.03
   14.12.01

> Type-ahead regarding workeffort in AddQuoteWorkEffort
> -
>
> Key: OFBIZ-6681
> URL: https://issues.apache.org/jira/browse/OFBIZ-6681
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote, workeffort
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
>
> This is the error thrown: ERROR rendering error page [/error/error.jsp], but 
> here is the error text: org.ofbiz.webapp.control.RequestHandlerException: 
> Unknown request [workeffort]; this request does not exist or cannot be called 
> directly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6241) Fix fop warning related to table-layout="auto"

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-6241:
---

Assignee: Deepak Dixit

> Fix fop warning related to table-layout="auto"
> --
>
> Key: OFBIZ-6241
> URL: https://issues.apache.org/jira/browse/OFBIZ-6241
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-6241.patch
>
>
> {code}
>  [java] 2015-04-11 16:37:18,388 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 139:40)
>  [java] 2015-04-11 16:37:18,390 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 173:81)
>  [java] 2015-04-11 16:37:18,395 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 202:39)
>  [java] 2015-04-11 16:37:18,398 |http-bio-8443-exec-6 |FOUserAgent
>|W| "fo:table-body" is missing child elements. Required content 
> model: marker* (table-row+|table-cell+) (See position 221:32)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Aditya Patwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aditya Patwa updated OFBIZ-6741:

Attachment: OFBIZ-6741.patch

Provided a patch that will fix the issue.

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-6741.patch
>
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [Proposition] deactivate by default all specialpurpose component

2015-11-21 Thread slidingfilaments
Hi Jacques,

what about a parameter using -D for the build script. we can also do something 
programmatic in the ./tools directory.

Regards,
--

Taher Alkhateeb

> On Nov 21, 2015, at 12:53 PM, Jacques Le Roux  
> wrote:
> 
> I'd veto something which would blindly applies to all specialpurpose 
> components, see my last post about that
> 
> Jacques
> 
> Le 21/11/2015 09:22, Jacopo Cappellato a écrit :
>> Taher,
>> 
>> I like your proposal; in fact this feature would be useful not only for
>> automated deployments/tests but also to end users to easily enable the
>> components they like.
>> 
>> Jacopo
>> 
>>> On Sat, Nov 21, 2015 at 8:53 AM,  wrote:
>>> 
>>> Hi Jacopo,
>>> 
>>> I would make a distinction between two things: a) preserve what exists and
>>> b) prepare for the future.
>>> 
>>> Doubtless what you are saying below makes perfect sense as a design
>>> decision to allow for better future developments. I am concerned however
>>> with what currently exists in specialpurpose. Specifically, I worry about
>>> unit tests and Java Source code for framework integration. Changes we make
>>> to the framework now needs to be followed up closely and we need to
>>> manually enable, test and re-disable the specialpurpose components to
>>> ensure continuous compatibility with trunk. Can we at least have a
>>> modification in build.xml to enable / disable specialpurpose so that the
>>> buildbot would continually test against specialpurpose?
>>> 
>>> If you agree then I can try to write something to that effect in build.xml
>>> at least to keep the code live in specialpurpose.
>>> 
>>> Regards,
>>> --
>>> 
>>> Taher Alkhateeb
>>> 
> On Nov 19, 2015, at 4:36 PM, Jacopo Cappellato <
 jacopo.cappell...@hotwaxsystems.com> wrote:
 I was actually thinking to Birt as an example of this behavior: but in
>>> the
 future we may add other special purpose applications that need to
>>> override
 applications screens (in fact overriding screens and other artifacts to
 specialize them is a best practice in OFBiz) and the problem will happen
 again if we keep them all enabled.
 
 Jacopo
 
 On Thu, Nov 19, 2015 at 11:45 AM, Jacques Le Roux <
 jacques.le.r...@les7arts.com> wrote:
 
> Could we list, apart the well known Birt issue, special components which
> are overriding main applications?
> 
> Then depending on cases we could be more surgical...
> 
> Jacques
> 
> 
> Le 19/11/2015 09:46, Jacopo Cappellato a écrit :
> 
>> I agree with Taher when he says that we should strive to move small
>>> steps
>> in the direction of having a lean lightweight framework with pluggable
>> components.
>> But I think that Nicolas' proposal is actually one of these steps.
>> The fact that currently some of our specialized components are
>>> overriding
>> the more generic behavior of other components (e.g. the ones under
>> "applications") is a problem that we have to fix asap.
>> Otherwise the default demo of OFBiz will only showcase the more
>> specialized
>> behaviors; for example, if tomorrow we will add a new special purpose
>> component for a niche industry, that will override the application
>>> screens
>> with industry specific ones from that day on all OFBiz users that will
>> download and run OFBiz will have the impression that OFBiz was designed
>> for
>> one specific industry only.
>> Nicolas' proposal addresses this issue and still leaves the ability to
>>> the
>> interested users to manually enable the components they need.
>> 
>> Jacopo
>> 
>> On Thu, Nov 19, 2015 at 8:22 AM, Taher Alkhateeb <
>> slidingfilame...@gmail.com
>> 
>>> wrote:
>>> Hi Nicolas,
>>> 
>>> I think If your finger hurts you don't cut it off. The project has too
>>> many
>>> pages, documentations, email threads and time dedicated to the special
>>> purpose components. They existed for a long, long time in the history
>>> of
>>> OFBiz.
>>> 
>>> Some attempts were made in the past to reduce the size of the
>>> framework
>>> and
>>> release 13.07 is a prime example of these attempts which failed IMHO.
>>> This
>>> is a reason why, for example, a rewrite of the framework is being
>>> discussed
>>> in the community.
>>> 
>>> I would suggest to you that to get really lean and clean, we need to
>>> work
>>> on the root of the problem which is the design of the framework and
>>> its
>>> architecture. We need a _plugin_ implementation that achieves _loose
>>> coupling_ of the components in a way that sustains the quality of the
>>> code
>>> while at the same time allowing a small framework core to thrive.
>>> Take a
>>> look at this thread <
>>> http://ofbiz.markmail.org/thread/7bipnq3ffoteliff>
>>> in
>>> which we discussed this issue 

[jira] [Updated] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Rahul Bhammarker (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Bhammarker updated OFBIZ-6655:

Attachment: sessionConifg_ecommerce.patch

This is the patch for ecommerce, ecomseo and ecomclone webapps, and I will soon 
provide the patch for all the webapps.

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-2995) Layout improvement for showing cart properly on order entry page for bizznesstime theme.

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit updated OFBIZ-2995:

Fix Version/s: Upcoming Branch

> Layout improvement for showing cart properly on order entry page for 
> bizznesstime theme.
> 
>
> Key: OFBIZ-2995
> URL: https://issues.apache.org/jira/browse/OFBIZ-2995
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Release Branch 09.04, Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-2995.patch, OFBIZ-2995.patch
>
>
> Cart is not displayed properly on order entry page for bizznesstime theme.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-2995) Layout improvement for showing cart properly on order entry page for bizznesstime theme.

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020422#comment-15020422
 ] 

Deepak Dixit commented on OFBIZ-2995:
-

Thanks Aditya for your contribution.
Your patch committed at r#1715504

> Layout improvement for showing cart properly on order entry page for 
> bizznesstime theme.
> 
>
> Key: OFBIZ-2995
> URL: https://issues.apache.org/jira/browse/OFBIZ-2995
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Release Branch 09.04, Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-2995.patch, OFBIZ-2995.patch
>
>
> Cart is not displayed properly on order entry page for bizznesstime theme.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-2995) Layout improvement for showing cart properly on order entry page for bizznesstime theme.

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-2995.
---
Resolution: Fixed

> Layout improvement for showing cart properly on order entry page for 
> bizznesstime theme.
> 
>
> Key: OFBIZ-2995
> URL: https://issues.apache.org/jira/browse/OFBIZ-2995
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Release Branch 09.04, Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-2995.patch, OFBIZ-2995.patch
>
>
> Cart is not displayed properly on order entry page for bizznesstime theme.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-2995) Layout improvement for showing cart properly on order entry page for bizznesstime theme.

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-2995:
---

Assignee: Deepak Dixit  (was: Ashish Vijaywargiya)

> Layout improvement for showing cart properly on order entry page for 
> bizznesstime theme.
> 
>
> Key: OFBIZ-2995
> URL: https://issues.apache.org/jira/browse/OFBIZ-2995
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Release Branch 09.04, Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-2995.patch, OFBIZ-2995.patch
>
>
> Cart is not displayed properly on order entry page for bizznesstime theme.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6729) Return invoice not generated for service (non-physical) product

2015-11-21 Thread Jacopo Cappellato (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato updated OFBIZ-6729:
-
Fix Version/s: (was: Release Branch 14.12)
   (was: Trunk)
   Upcoming Branch
   14.12.01

> Return invoice not generated for service (non-physical) product
> ---
>
> Key: OFBIZ-6729
> URL: https://issues.apache.org/jira/browse/OFBIZ-6729
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Akash Jain
>Assignee: Jacopo Cappellato
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6729.patch
>
>
> Placing order for service product for example SV-1000 (isPhysical != 'Y' on 
> product type entity)
> Created return for service product.
> When accepting the return item it becomes completed because receiving not 
> possible of non-physical product, but, return invoice not generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6728) Getting error when returning service (non-physical) product

2015-11-21 Thread Jacopo Cappellato (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato closed OFBIZ-6728.


> Getting error when returning service (non-physical) product
> ---
>
> Key: OFBIZ-6728
> URL: https://issues.apache.org/jira/browse/OFBIZ-6728
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Akash Jain
>Assignee: Jacopo Cappellato
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: Create-Return.png, Error.png, OFBIZ-6728.patch
>
>
> I have created order with "SV-1000" product (isPhysical != 'Y' on product 
> type entity) of SERVICE type. When I am returning this product getting error, 
> attached (Create-Return.png & Error.png) screen-shot for the same.
> To fix above error added this data because product type of SV-1000 is SERVICE:
> 
>  returnItemMapKey="SERVICE" returnItemTypeId="RET_SPROD_ITEM"/>
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6729) Return invoice not generated for service (non-physical) product

2015-11-21 Thread Jacopo Cappellato (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato closed OFBIZ-6729.


> Return invoice not generated for service (non-physical) product
> ---
>
> Key: OFBIZ-6729
> URL: https://issues.apache.org/jira/browse/OFBIZ-6729
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Akash Jain
>Assignee: Jacopo Cappellato
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6729.patch
>
>
> Placing order for service product for example SV-1000 (isPhysical != 'Y' on 
> product type entity)
> Created return for service product.
> When accepting the return item it becomes completed because receiving not 
> possible of non-physical product, but, return invoice not generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6241) Fix fop warning related to table-layout="auto"

2015-11-21 Thread Jagpreet Kaur (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jagpreet Kaur updated OFBIZ-6241:
-
Attachment: OFBIZ-6241.patch

These are some changes you need to apply for removing the above error.
Still there is one error appearing, but remaining are solved.

> Fix fop warning related to table-layout="auto"
> --
>
> Key: OFBIZ-6241
> URL: https://issues.apache.org/jira/browse/OFBIZ-6241
> Project: OFBiz
>  Issue Type: Improvement
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-6241.patch
>
>
> {code}
>  [java] 2015-04-11 16:37:18,388 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 139:40)
>  [java] 2015-04-11 16:37:18,390 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 173:81)
>  [java] 2015-04-11 16:37:18,395 |http-bio-8443-exec-6 |FOUserAgent
>|W| The following feature isn't implemented by Apache FOP, yet: 
> table-layout="auto" (on fo:table) (See position 202:39)
>  [java] 2015-04-11 16:37:18,398 |http-bio-8443-exec-6 |FOUserAgent
>|W| "fo:table-body" is missing child elements. Required content 
> model: marker* (table-row+|table-cell+) (See position 221:32)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6107) Quote report should open in a new window

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020384#comment-15020384
 ] 

Deepak Dixit commented on OFBIZ-6107:
-

Thanks Pierre Smits for your contribution. Your patch committed at trunk at 
R#1715494

> Quote report should open in a new window
> 
>
> Key: OFBIZ-6107
> URL: https://issues.apache.org/jira/browse/OFBIZ-6107
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote
> Attachments: OFBIZ-6107-OrderQuotePDF.patch
>
>
> Currently the quote report (or print) opens in the same window. This should 
> be in a new window(target = _BLANK)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6107) Quote report should open in a new window

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-6107.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch

> Quote report should open in a new window
> 
>
> Key: OFBIZ-6107
> URL: https://issues.apache.org/jira/browse/OFBIZ-6107
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-6107-OrderQuotePDF.patch
>
>
> Currently the quote report (or print) opens in the same window. This should 
> be in a new window(target = _BLANK)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Ashish Vijaywargiya (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Vijaywargiya closed OFBIZ-6741.
--
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.03
   12.04.06
   14.12.01

Thanks Aditya for creating the issue and providing the patch for the same. Your 
patch has been committed in trunk, R14.12, R13.07 and R12.04. 

> The state list is not populated when trying to add a shipping address from 
> the Quick Finalize Order screen.
> ---
>
> Key: OFBIZ-6741
> URL: https://issues.apache.org/jira/browse/OFBIZ-6741
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk
>Reporter: Aditya Patwa
>Assignee: Ashish Vijaywargiya
> Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6741.patch
>
>
> Steps for Regeneration
> - Place a sales order from the Order Entry screen.
> - Go to the Quick Finalize Order after adding a product in the cart.
> - From the Quick Finalize Order screen, click on the New Address button.
> - When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-2995) Layout improvement for showing cart properly on order entry page for bizznesstime theme.

2015-11-21 Thread Aditya Patwa (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aditya Patwa updated OFBIZ-2995:

Attachment: OFBIZ-2995.patch

Updated the patch so as to make it compatible with the trunk.

> Layout improvement for showing cart properly on order entry page for 
> bizznesstime theme.
> 
>
> Key: OFBIZ-2995
> URL: https://issues.apache.org/jira/browse/OFBIZ-2995
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Release Branch 09.04, Trunk
>Reporter: Deepak Dixit
>Assignee: Ashish Vijaywargiya
>Priority: Minor
> Attachments: OFBIZ-2995.patch, OFBIZ-2995.patch
>
>
> Cart is not displayed properly on order entry page for bizznesstime theme.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020433#comment-15020433
 ] 

Divesh Dutta commented on OFBIZ-6709:
-

Committed the fix in trunk in revision number: 1715505

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta closed OFBIZ-6709.
---

Thanks Jacques for reporting the improvement. This is improved now , so closing 
this issue. 

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
> Attachments: OFBIZ-6709.patch
>
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [Proposition] deactivate by default all specialpurpose component

2015-11-21 Thread Jacopo Cappellato
Taher,

I like your proposal; in fact this feature would be useful not only for
automated deployments/tests but also to end users to easily enable the
components they like.

Jacopo

On Sat, Nov 21, 2015 at 8:53 AM,  wrote:

> Hi Jacopo,
>
> I would make a distinction between two things: a) preserve what exists and
> b) prepare for the future.
>
> Doubtless what you are saying below makes perfect sense as a design
> decision to allow for better future developments. I am concerned however
> with what currently exists in specialpurpose. Specifically, I worry about
> unit tests and Java Source code for framework integration. Changes we make
> to the framework now needs to be followed up closely and we need to
> manually enable, test and re-disable the specialpurpose components to
> ensure continuous compatibility with trunk. Can we at least have a
> modification in build.xml to enable / disable specialpurpose so that the
> buildbot would continually test against specialpurpose?
>
> If you agree then I can try to write something to that effect in build.xml
> at least to keep the code live in specialpurpose.
>
> Regards,
> --
>
> Taher Alkhateeb
>
> > On Nov 19, 2015, at 4:36 PM, Jacopo Cappellato <
> jacopo.cappell...@hotwaxsystems.com> wrote:
> >
> > I was actually thinking to Birt as an example of this behavior: but in
> the
> > future we may add other special purpose applications that need to
> override
> > applications screens (in fact overriding screens and other artifacts to
> > specialize them is a best practice in OFBiz) and the problem will happen
> > again if we keep them all enabled.
> >
> > Jacopo
> >
> > On Thu, Nov 19, 2015 at 11:45 AM, Jacques Le Roux <
> > jacques.le.r...@les7arts.com> wrote:
> >
> >> Could we list, apart the well known Birt issue, special components which
> >> are overriding main applications?
> >>
> >> Then depending on cases we could be more surgical...
> >>
> >> Jacques
> >>
> >>
> >> Le 19/11/2015 09:46, Jacopo Cappellato a écrit :
> >>
> >>> I agree with Taher when he says that we should strive to move small
> steps
> >>> in the direction of having a lean lightweight framework with pluggable
> >>> components.
> >>> But I think that Nicolas' proposal is actually one of these steps.
> >>> The fact that currently some of our specialized components are
> overriding
> >>> the more generic behavior of other components (e.g. the ones under
> >>> "applications") is a problem that we have to fix asap.
> >>> Otherwise the default demo of OFBiz will only showcase the more
> >>> specialized
> >>> behaviors; for example, if tomorrow we will add a new special purpose
> >>> component for a niche industry, that will override the application
> screens
> >>> with industry specific ones from that day on all OFBiz users that will
> >>> download and run OFBiz will have the impression that OFBiz was designed
> >>> for
> >>> one specific industry only.
> >>> Nicolas' proposal addresses this issue and still leaves the ability to
> the
> >>> interested users to manually enable the components they need.
> >>>
> >>> Jacopo
> >>>
> >>> On Thu, Nov 19, 2015 at 8:22 AM, Taher Alkhateeb <
> >>> slidingfilame...@gmail.com
> >>>
>  wrote:
>  Hi Nicolas,
> 
>  I think If your finger hurts you don't cut it off. The project has too
>  many
>  pages, documentations, email threads and time dedicated to the special
>  purpose components. They existed for a long, long time in the history
> of
>  OFBiz.
> 
>  Some attempts were made in the past to reduce the size of the
> framework
>  and
>  release 13.07 is a prime example of these attempts which failed IMHO.
>  This
>  is a reason why, for example, a rewrite of the framework is being
>  discussed
>  in the community.
> 
>  I would suggest to you that to get really lean and clean, we need to
> work
>  on the root of the problem which is the design of the framework and
> its
>  architecture. We need a _plugin_ implementation that achieves _loose
>  coupling_ of the components in a way that sustains the quality of the
>  code
>  while at the same time allowing a small framework core to thrive.
> Take a
>  look at this thread <
> http://ofbiz.markmail.org/thread/7bipnq3ffoteliff>
>  in
>  which we discussed this issue and suggested one of several strategies.
>  There are other threads which I cannot recall at the moment.
> 
>  For the record, I totally agree with keeping a small core and a lean
>  framework, It's how we get there that I'm worried about and I would
>  suggest
>  to you that we do this in a well thought out and gradual process.
> 
>  My 2 cents
> 
>  Taher Alkhateeb
> 
>  On Wed, Nov 18, 2015 at 11:22 PM, Nicolas Malin <
>  nicolas.ma...@nereide.fr>
>  wrote:
> 
>  Le 10/11/2015 05:54, slidingfilame...@gmail.com a écrit :
> >
> > This topic was 

[jira] [Assigned] (OFBIZ-6107) Quote report should open in a new window

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-6107:
---

Assignee: Deepak Dixit  (was: Pierre Smits)

> Quote report should open in a new window
> 
>
> Key: OFBIZ-6107
> URL: https://issues.apache.org/jira/browse/OFBIZ-6107
> Project: OFBiz
>  Issue Type: Improvement
>  Components: order
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Deepak Dixit
>  Labels: quote
> Attachments: OFBIZ-6107-OrderQuotePDF.patch
>
>
> Currently the quote report (or print) opens in the same window. This should 
> be in a new window(target = _BLANK)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6318) EditProductAssoc links to navigate to same page instead of EditProduct

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020415#comment-15020415
 ] 

Deepak Dixit commented on OFBIZ-6318:
-

IMO this is desired behavior and I don't see any need to redirect ProductLink 
to EditProductAssoc.

> EditProductAssoc links to navigate to same page instead of EditProduct
> --
>
> Key: OFBIZ-6318
> URL: https://issues.apache.org/jira/browse/OFBIZ-6318
> Project: OFBiz
>  Issue Type: Improvement
>  Components: product
>Affects Versions: Trunk
>Reporter: Christian Carlow
>Priority: Trivial
> Fix For: Trunk
>
> Attachments: OFBIZ-6318.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6677) Show out of stock products in STORE --- CATALOG Manager doesn't work

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta reassigned OFBIZ-6677:
---

Assignee: Divesh Dutta

> Show out of stock products in STORE --- CATALOG Manager doesn't work
> 
>
> Key: OFBIZ-6677
> URL: https://issues.apache.org/jira/browse/OFBIZ-6677
> Project: OFBiz
>  Issue Type: Bug
>  Components: specialpurpose/ecommerce
>Affects Versions: Release Branch 14.12
>Reporter: Heidi Dehaes
>Assignee: Divesh Dutta
>
> Show out of stock products 
> in STORE
> in Catalog Manager
> in Catalog
> doesn't work.
> No products at all are viewed when "out of stock products" is equal to "N".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-6728) Getting error when returning service (non-physical) product

2015-11-21 Thread Jacopo Cappellato (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato updated OFBIZ-6728:
-
Fix Version/s: (was: Release Branch 14.12)
   (was: Trunk)
   Upcoming Branch
   14.12.01

> Getting error when returning service (non-physical) product
> ---
>
> Key: OFBIZ-6728
> URL: https://issues.apache.org/jira/browse/OFBIZ-6728
> Project: OFBiz
>  Issue Type: Bug
>  Components: order
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Akash Jain
>Assignee: Jacopo Cappellato
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: Create-Return.png, Error.png, OFBIZ-6728.patch
>
>
> I have created order with "SV-1000" product (isPhysical != 'Y' on product 
> type entity) of SERVICE type. When I am returning this product getting error, 
> attached (Create-Return.png & Error.png) screen-shot for the same.
> To fix above error added this data because product type of SV-1000 is SERVICE:
> 
>  returnItemMapKey="SERVICE" returnItemTypeId="RET_SPROD_ITEM"/>
> 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-6708:
---

Assignee: Deepak Dixit  (was: Hans Bakker)

> Missing userLogin error on party profile screen when 1st content is non public
> --
>
> Key: OFBIZ-6708
> URL: https://issues.apache.org/jira/browse/OFBIZ-6708
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-6708.patch
>
>
> When a party 1st non content public the serveObjectData event is called in 
> party profile screen and it misses the userLogin in session.
> This was implemented with 
> [r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
> this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
>  which is a back hack. I guess the idea was if a "Logo Image URL" was 
> assigned to a party like "Company" it should be displayed in the profile 
> screen, that works w/o  error in the log. But when you have a party 1st non 
> content of other type for other parties (like admin for instance) it does not 
> make sense, and show an error in log.
> {code}
>  [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents 
>|E| null
>  [java] org.ofbiz.service.ServiceAuthException: User authorization is 
> required for this service: genericContentPermission
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>  ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
> [ofbiz-content.jar:?]
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_51]
>  [java] at java.lang.reflect.Method.invoke(Method.java:497) 
> ~[?:1.8.0_51]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
> [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.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
> [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) 
> [tomcat-7.0.64-catalina.jar:7.0.64]
> 

[jira] [Updated] (OFBIZ-6658) Creating a new tenant fails

2015-11-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-6658:
---
Attachment: tenant.log.zip

I understand why Stefan and his team decided to not use OFBiz. It's a total 
failure when you want to use the tenant, at least when loading demo data. I 
can't even say how much this is dreadful. In trunk HEAD, with set 
multitenant=Y, I just used
{code}
ant clean-all load-demo create-tenant start
{code}
with  these data entered
{code}
tenant-data-entry:
 [echo] 
 [echo] tenantId = test
 [echo] tenantName = test
 [echo] domainName =
 [echo] db-Platform = D
 [echo] db-IP = localhost
 [echo] db-User = ofbiz
 [echo] db-Password = ofbiz
 [echo] 
 [echo] database for tenant data will be 'ofbiz_test'
 [echo] database for tenant olap data will be 'ofbizolap_test
 [echo] Please make sure that the driver of the platform is installed and 
that the databases have been created (Check names just above)
 [echo] 
[input] Continue Y or N (N, n, Y, y)

[...]

load-tenant-admin-user-login:
 [echo] 
 [echo] Installing the admin for the tenant
 [echo] Delegator = default#test
 [echo] Tenant admin = 'test-admin'
 [echo] Password for tenant admin is 'ofbiz' must change on first login
 [echo] 
[input] Continue Y or N (N, n, Y, y)
 [copy] Copying 1 file to C:\projectASF-Mars\ofbiz\runtime\tmp
{code}

I got then to https://localhost:8443/webtools/control/entitymaint and entered
{code}
test-admin
ofbiz
test
{code}
I then got this error on screen
{code}
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#login]: 
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://webtools/widget/CommonScreens.xml#main-decorator]: 
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.IllegalArgumentException: Template location is empty (Template 
location is empty) (Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.IllegalArgumentException: Template location is empty (Template 
location is empty)) (Error rendering screen 
[component://webtools/widget/CommonScreens.xml#main-decorator]: 
org.ofbiz.widget.renderer.ScreenRenderException: Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.IllegalArgumentException: Template location is empty (Template 
location is empty) (Error rendering screen 
[component://common/widget/CommonScreens.xml#GlobalDecorator]: 
java.lang.IllegalArgumentException: Template location is empty (Template 
location is empty)))
{code}

I then looked in the log (attached) and saw a lot of errors, 1st being (twice 
in log)
{code}
 [java] 2015-11-21 11:39:28,100 |OFBiz-batch-3|DatabaseUtil 
 |E| Error adding foreign key: ModelEntity was null for related entity 
name Tenant
{code}
then a lot of kinda
{code}
 [java] 2015-11-21 11:53:41,044 |main |GenericDelegator 
 |E| Failure in create operation for entity [TemporalExpressionAssoc]: 
org.ofbiz.entity.GenericEntityException: Error while inserting: 
[GenericEntity:TemporalExpressionAssoc][createdStamp,2015-11-21 
11:53:41.04(java.sql.Timestamp)][createdTxStamp,2015-11-21 
11:53:41.009(java.sql.Timestamp)][fromTempExprId,JANUARY_FIRST(java.lang.String)][lastUpdatedStamp,2015-11-21
 11:53:41.04(java.sql.Timestamp)][lastUpdatedTxStamp,2015-11-21 
11:53:41.009(java.sql.Timestamp)][toTempExprId,MONTH_RANGE_01(java.lang.String)]
 (SQL Exception while executing the following:INSERT INTO 
OFBIZ.TEMPORAL_EXPRESSION_ASSOC (FROM_TEMP_EXPR_ID, TO_TEMP_EXPR_ID, 
EXPR_ASSOC_TYPE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, 
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (INSERT on table 
'TEMPORAL_EXPRESSION_ASSOC' caused a violation of foreign key constraint 
'TEMP_EXPR_TO' for key (MONTH_RANGE_01).  The statement has been rolled 
back.)). Rolling back transaction.
{code}

You can't switch the language before entering the user pwd, it also fails.  Bad 
experience so far, I'm no yet ready to dive in this mess.

OK, wait maybe I'm missing something then please help.

In any case if we want people to be interested by tenants in OFBiz we need to 
provide something working :/

> Creating a new tenant fails
> ---
>
> Key: OFBIZ-6658
> URL: https://issues.apache.org/jira/browse/OFBIZ-6658
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects 

[jira] [Assigned] (OFBIZ-6709) When you add a party content the party profile screen does not refresh

2015-11-21 Thread Divesh Dutta (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Divesh Dutta reassigned OFBIZ-6709:
---

Assignee: Divesh Dutta

> When you add a party content the party profile screen does not refresh
> --
>
> Key: OFBIZ-6709
> URL: https://issues.apache.org/jira/browse/OFBIZ-6709
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Divesh Dutta
>Priority: Minor
>
> It works when you remove



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: [Proposition] deactivate by default all specialpurpose component

2015-11-21 Thread Jacques Le Roux

I'd veto something which would blindly applies to all specialpurpose 
components, see my last post about that

Jacques

Le 21/11/2015 09:22, Jacopo Cappellato a écrit :

Taher,

I like your proposal; in fact this feature would be useful not only for
automated deployments/tests but also to end users to easily enable the
components they like.

Jacopo

On Sat, Nov 21, 2015 at 8:53 AM,  wrote:


Hi Jacopo,

I would make a distinction between two things: a) preserve what exists and
b) prepare for the future.

Doubtless what you are saying below makes perfect sense as a design
decision to allow for better future developments. I am concerned however
with what currently exists in specialpurpose. Specifically, I worry about
unit tests and Java Source code for framework integration. Changes we make
to the framework now needs to be followed up closely and we need to
manually enable, test and re-disable the specialpurpose components to
ensure continuous compatibility with trunk. Can we at least have a
modification in build.xml to enable / disable specialpurpose so that the
buildbot would continually test against specialpurpose?

If you agree then I can try to write something to that effect in build.xml
at least to keep the code live in specialpurpose.

Regards,
--

Taher Alkhateeb


On Nov 19, 2015, at 4:36 PM, Jacopo Cappellato <

jacopo.cappell...@hotwaxsystems.com> wrote:

I was actually thinking to Birt as an example of this behavior: but in

the

future we may add other special purpose applications that need to

override

applications screens (in fact overriding screens and other artifacts to
specialize them is a best practice in OFBiz) and the problem will happen
again if we keep them all enabled.

Jacopo

On Thu, Nov 19, 2015 at 11:45 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Could we list, apart the well known Birt issue, special components which
are overriding main applications?

Then depending on cases we could be more surgical...

Jacques


Le 19/11/2015 09:46, Jacopo Cappellato a écrit :


I agree with Taher when he says that we should strive to move small

steps

in the direction of having a lean lightweight framework with pluggable
components.
But I think that Nicolas' proposal is actually one of these steps.
The fact that currently some of our specialized components are

overriding

the more generic behavior of other components (e.g. the ones under
"applications") is a problem that we have to fix asap.
Otherwise the default demo of OFBiz will only showcase the more
specialized
behaviors; for example, if tomorrow we will add a new special purpose
component for a niche industry, that will override the application

screens

with industry specific ones from that day on all OFBiz users that will
download and run OFBiz will have the impression that OFBiz was designed
for
one specific industry only.
Nicolas' proposal addresses this issue and still leaves the ability to

the

interested users to manually enable the components they need.

Jacopo

On Thu, Nov 19, 2015 at 8:22 AM, Taher Alkhateeb <
slidingfilame...@gmail.com


wrote:
Hi Nicolas,

I think If your finger hurts you don't cut it off. The project has too
many
pages, documentations, email threads and time dedicated to the special
purpose components. They existed for a long, long time in the history

of

OFBiz.

Some attempts were made in the past to reduce the size of the

framework

and
release 13.07 is a prime example of these attempts which failed IMHO.
This
is a reason why, for example, a rewrite of the framework is being
discussed
in the community.

I would suggest to you that to get really lean and clean, we need to

work

on the root of the problem which is the design of the framework and

its

architecture. We need a _plugin_ implementation that achieves _loose
coupling_ of the components in a way that sustains the quality of the
code
while at the same time allowing a small framework core to thrive.

Take a

look at this thread <

http://ofbiz.markmail.org/thread/7bipnq3ffoteliff>

in
which we discussed this issue and suggested one of several strategies.
There are other threads which I cannot recall at the moment.

For the record, I totally agree with keeping a small core and a lean
framework, It's how we get there that I'm worried about and I would
suggest
to you that we do this in a well thought out and gradual process.

My 2 cents

Taher Alkhateeb

On Wed, Nov 18, 2015 at 11:22 PM, Nicolas Malin <
nicolas.ma...@nereide.fr>
wrote:

Le 10/11/2015 05:54, slidingfilame...@gmail.com a écrit :

This topic was heavily discussed in the past and I think a solution

like

turning off the components is very quick indeed but not ideal.

Completely, I'm sure a better ideal exist but difficult to reach.

A second step, easy to reach would be enable a specialpurpose

directly

by
an ant target :
$ ant load-component -D"component=ecommerce" load-demo start
or
$ ant load-component -D"components=ecommerce 

[jira] [Commented] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020400#comment-15020400
 ] 

Deepak Dixit commented on OFBIZ-6655:
-

Jacques, eclipse xml validation says version is require field for web-app 
element so we need to add version on it.

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020400#comment-15020400
 ] 

Deepak Dixit edited comment on OFBIZ-6655 at 11/21/15 12:12 PM:


Jacques, eclipse xml validation says version is required field for web-app 
element so we need to add version on it.


was (Author: deepak.dixit):
Jacques, eclipse xml validation says version is require field for web-app 
element so we need to add version on it.

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
> Attachments: sessionConifg_ecommerce.patch
>
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020413#comment-15020413
 ] 

Deepak Dixit commented on OFBIZ-6708:
-

Thanks Jacques for reporting the issue :)
Thanks Vishal for your contribution. Your patch committed at 
Trunk at r#1715501
14.12 at r#1715502
13.07 at r#1715503

> Missing userLogin error on party profile screen when 1st content is non public
> --
>
> Key: OFBIZ-6708
> URL: https://issues.apache.org/jira/browse/OFBIZ-6708
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6708.patch
>
>
> When a party 1st non content public the serveObjectData event is called in 
> party profile screen and it misses the userLogin in session.
> This was implemented with 
> [r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
> this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
>  which is a back hack. I guess the idea was if a "Logo Image URL" was 
> assigned to a party like "Company" it should be displayed in the profile 
> screen, that works w/o  error in the log. But when you have a party 1st non 
> content of other type for other parties (like admin for instance) it does not 
> make sense, and show an error in log.
> {code}
>  [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents 
>|E| null
>  [java] org.ofbiz.service.ServiceAuthException: User authorization is 
> required for this service: genericContentPermission
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>  ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
> [ofbiz-content.jar:?]
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_51]
>  [java] at java.lang.reflect.Method.invoke(Method.java:497) 
> ~[?:1.8.0_51]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
> [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.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> 

[jira] [Closed] (OFBIZ-6708) Missing userLogin error on party profile screen when 1st content is non public

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-6708.
---
   Resolution: Fixed
Fix Version/s: Upcoming Branch
   13.07.03
   14.12.01

> Missing userLogin error on party profile screen when 1st content is non public
> --
>
> Key: OFBIZ-6708
> URL: https://issues.apache.org/jira/browse/OFBIZ-6708
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Jacques Le Roux
>Assignee: Deepak Dixit
>Priority: Minor
> Fix For: 14.12.01, 13.07.03, Upcoming Branch
>
> Attachments: OFBIZ-6708.patch
>
>
> When a party 1st non content public the serveObjectData event is called in 
> party profile screen and it misses the userLogin in session.
> This was implemented with 
> [r1199681|http://svn.apache.org/viewvc?view=revision=1199681] ([see 
> this|http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?r1=1199681=1199680=1199681])
>  which is a back hack. I guess the idea was if a "Logo Image URL" was 
> assigned to a party like "Company" it should be displayed in the profile 
> screen, that works w/o  error in the log. But when you have a party 1st non 
> content of other type for other parties (like admin for instance) it does not 
> make sense, and show an error in log.
> {code}
>  [java] 2015-11-03 12:05:12,856 |ttp-bio-8443-exec-11 |DataEvents 
>|E| null
>  [java] org.ofbiz.service.ServiceAuthException: User authorization is 
> required for this service: genericContentPermission
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) 
> ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88)
>  ~[ofbiz-service.jar:?]
>  [java] at 
> org.ofbiz.content.data.DataEvents.serveObjectData(DataEvents.java:139) 
> [ofbiz-content.jar:?]
>  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method) ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
> ~[?:1.8.0_51]
>  [java] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_51]
>  [java] at java.lang.reflect.Method.invoke(Method.java:497) 
> ~[?:1.8.0_51]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:759) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:476) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:213) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:620) 
> [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.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:324) 
> [ofbiz-webapp.jar:?]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
>  [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) 
> [tomcat-7.0.64-catalina.jar:7.0.64]
>  [java] at 

[jira] [Commented] (OFBIZ-6688) PDF reports in Agreements don't open in a new screen

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020427#comment-15020427
 ] 

Deepak Dixit commented on OFBIZ-6688:
-

Hi Pierre,

Could you please add more descriptive detail on this issue?

> PDF reports in Agreements don't open in a new screen
> 
>
> Key: OFBIZ-6688
> URL: https://issues.apache.org/jira/browse/OFBIZ-6688
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Pierre Smits
>Assignee: Pierre Smits
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-6730) Return shipment created for non-physical product

2015-11-21 Thread Jacopo Cappellato (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato closed OFBIZ-6730.


> Return shipment created for non-physical product
> 
>
> Key: OFBIZ-6730
> URL: https://issues.apache.org/jira/browse/OFBIZ-6730
> Project: OFBiz
>  Issue Type: Bug
>  Components: product
>Affects Versions: Release Branch 14.12, Trunk
>Reporter: Akash Jain
>Assignee: Jacopo Cappellato
> Fix For: 14.12.01, Upcoming Branch
>
> Attachments: OFBIZ-6730.patch
>
>
> -- When return non-physical product only, then, return shipment should not be 
> created.
> -- When return non-physical product with some physical product, then, return 
> shipment should be created with physical products only. Shipment Item should 
> not be created for non-physical product.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-6741) The state list is not populated when trying to add a shipping address from the Quick Finalize Order screen.

2015-11-21 Thread Aditya Patwa (JIRA)
Aditya Patwa created OFBIZ-6741:
---

 Summary: The state list is not populated when trying to add a 
shipping address from the Quick Finalize Order screen.
 Key: OFBIZ-6741
 URL: https://issues.apache.org/jira/browse/OFBIZ-6741
 Project: OFBiz
  Issue Type: Bug
  Components: order
Affects Versions: Trunk, Release Branch 14.12, Release Branch 13.07
Reporter: Aditya Patwa


Steps for Regeneration
- Place a sales order from the Order Entry screen.
- Go to the Quick Finalize Order after adding a product in the cart.
- From the Quick Finalize Order screen, click on the New Address button.
- When redirected to the form, the state list will not get populated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (OFBIZ-3502) Layout improvement of ecommerce.

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit reassigned OFBIZ-3502:
---

Assignee: Deepak Dixit  (was: Ashish Vijaywargiya)

> Layout improvement of ecommerce.
> 
>
> Key: OFBIZ-3502
> URL: https://issues.apache.org/jira/browse/OFBIZ-3502
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-3502.patch, OFBIZ-3502.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-3502) Layout improvement of ecommerce.

2015-11-21 Thread Deepak Dixit (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak Dixit closed OFBIZ-3502.
---
Resolution: Cannot Reproduce

IMO we can close this issue as this is already done on e-commerce store front.

> Layout improvement of ecommerce.
> 
>
> Key: OFBIZ-3502
> URL: https://issues.apache.org/jira/browse/OFBIZ-3502
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: specialpurpose/ecommerce
>Affects Versions: Trunk
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>Priority: Minor
> Attachments: OFBIZ-3502.patch, OFBIZ-3502.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6656) Changing ContactList focus from public to private doesn't expire website contactlist association

2015-11-21 Thread Mridul Pathak (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020387#comment-15020387
 ] 

Mridul Pathak commented on OFBIZ-6656:
--

This doesn't look like a bug to me. OFBiz is already providing the utility to 
manage ContactList and WebsiteContactList at entity level through marketing and 
content manger applications. So a user already has the ability to set 
ContactList as private and expire its associations with websites. Writing a 
separate ECA rule for this doesn't seem to be necessary.

It would be nice to know thoughts of other committers as well.

> Changing ContactList focus from public to private doesn't expire website 
> contactlist association
> 
>
> Key: OFBIZ-6656
> URL: https://issues.apache.org/jira/browse/OFBIZ-6656
> Project: OFBiz
>  Issue Type: Bug
>  Components: content, marketing
>Affects Versions: Trunk
>Reporter: Pierre Smits
>
> When a user changes the focus of a contactlist (in the marketing component) 
> from isPublic="Y" to isPublic="N" and the list is associated to a website (in 
> the content component), then the expiry date of contactlist should be set in 
> the website association.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OFBIZ-6655) Add session tracking mode and make cookie secure

2015-11-21 Thread Deepak Dixit (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-6655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15020397#comment-15020397
 ] 

Deepak Dixit commented on OFBIZ-6655:
-

You are right Jacques, we don't need add the version="3.0", I'll commit the 
changes ASAP

> Add session tracking mode and make cookie secure
> 
>
> Key: OFBIZ-6655
> URL: https://issues.apache.org/jira/browse/OFBIZ-6655
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk, 14.12.01
>Reporter: Deepak Dixit
>Assignee: Deepak Dixit
>
> Need to enhance security at web-app level. 
> As per current implementation:
> - The cookie containing the session identifier is not secure
> - The session identifier is transmitted in the query string of the URL
> To fix these issue we have to add following session config otpions in web.xml
> {code}
> 
>   
>   true
>   true
>   
>   COOKIE
> 
> {code}
> Also we need to update the web-app servlet specification from 2.3 to 3.0
> {code}
>  xmlns="http://java.sun.com/xml/ns/javaee;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> 
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd;>
> {code}
> https://tomcat.apache.org/whichversion.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)