[jira] [Created] (OFBIZ-10211) Crash while confirming a demand

2018-02-08 Thread Siegfried Theobald (JIRA)
Siegfried Theobald created OFBIZ-10211:
--

 Summary: Crash while confirming a demand 
 Key: OFBIZ-10211
 URL: https://issues.apache.org/jira/browse/OFBIZ-10211
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: 16.11.04
Reporter: Siegfried Theobald
 Attachments: order_management.pdf

After entering the wrong data format, the programm crashed.

See attached screenshots



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (OFBIZ-10208) Error on Add Item to Shopping List Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya edited comment on OFBIZ-10208 at 2/9/18 4:35 AM:
-

Hello [~rishisolankii] , I have verified that aforementioned issue is not 
persisting over R17.12. So we are good to fix it in R16.11 branch.

 


was (Author: yogesh.naroliya):
Hello Rishi Solanki, I have verified that aforementioned issue is not 
persisting over R17.12. So we are good to fix it in R16.11 branch.

 

> Error on Add Item to Shopping List Screen
> -
>
> Key: OFBIZ-10208
> URL: https://issues.apache.org/jira/browse/OFBIZ-10208
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: 16.11.04
>Reporter: Ratnesh Upadhyay
>Assignee: Rishi Solanki
>Priority: Major
> Attachments: OFBIZ-10208-EditShoppingListScreen-Fixed.png, 
> OFBIZ-10208-R16.11.patch
>
>
> While working on 16.11 branch, I noticed error when I try to add an item into 
> shopping cart. Here are the steps to replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click upon Shopping Lists tab.
>  # Create new shopping list, if no one is persist.
>  # Add an item to existing/new shopping list.
> As soon as you click to add on item you will see following error in list item 
> and quick add to shopping list sections.
> {code:java}
> The following has evaluated to null or missing: ==> renderNextPrev [in 
> template "component://common/template/includes/HtmlTemplate.ftl" at line
>  66, column 5]  Tip: If the failing expression is known to be 
> legally refer to something that's sometimes null or missing, either 
> specify a default value like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only 
> cover the last step of the expression; to cover the whole expression, 
> use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
>   FTL stack trace ("~" means nesting-related): - Failed at: 
> @renderNextPrev paginateStyle, pagina... [in template 
> "component://common/template/includes/HtmlTemplate.ftl" in macro 
> "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
> commonUrl=commonUrl ajaxEna... [in template 
> "component://party/template/party/EditShoppingList.ftl" at line 187, 
> column 9] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10208) Error on Add Item to Shopping List Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya commented on OFBIZ-10208:
-

Hello Rishi Solanki, I have verified that aforementioned issue is not 
persisting over R17.12. So we are good to fix it in R16.11 branch.

 

> Error on Add Item to Shopping List Screen
> -
>
> Key: OFBIZ-10208
> URL: https://issues.apache.org/jira/browse/OFBIZ-10208
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: 16.11.04
>Reporter: Ratnesh Upadhyay
>Assignee: Rishi Solanki
>Priority: Major
> Attachments: OFBIZ-10208-EditShoppingListScreen-Fixed.png, 
> OFBIZ-10208-R16.11.patch
>
>
> While working on 16.11 branch, I noticed error when I try to add an item into 
> shopping cart. Here are the steps to replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click upon Shopping Lists tab.
>  # Create new shopping list, if no one is persist.
>  # Add an item to existing/new shopping list.
> As soon as you click to add on item you will see following error in list item 
> and quick add to shopping list sections.
> {code:java}
> The following has evaluated to null or missing: ==> renderNextPrev [in 
> template "component://common/template/includes/HtmlTemplate.ftl" at line
>  66, column 5]  Tip: If the failing expression is known to be 
> legally refer to something that's sometimes null or missing, either 
> specify a default value like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only 
> cover the last step of the expression; to cover the whole expression, 
> use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
>   FTL stack trace ("~" means nesting-related): - Failed at: 
> @renderNextPrev paginateStyle, pagina... [in template 
> "component://common/template/includes/HtmlTemplate.ftl" in macro 
> "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
> commonUrl=commonUrl ajaxEna... [in template 
> "component://party/template/party/EditShoppingList.ftl" at line 187, 
> column 9] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-7754) The big problem when load seed.

2018-02-08 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy commented on OFBIZ-7754:
---

Hi [~arunpati] and all,

Please not "NULL-FIELD". 

>From https://issues.apache.org/jira/browse/OFBIZ-4602:

There is a canonical way from the XML standards to express that an XML
element is null. Rather than reserving a special value for the data within
the element, there's a special *attribute* xsi:nil. Schemas can define a
corresponding nillable attribute to say it is possible for an element to use
the xsi:nil attribute.

See [http://www.w3.org/TR/xmlschema-0/#Nils] and
[http://docstore.mik.ua/orelly/xml/schema/ch11_03.htm] .

Thanks

Paul

 

> The big problem when load seed.
> ---
>
> Key: OFBIZ-7754
> URL: https://issues.apache.org/jira/browse/OFBIZ-7754
> Project: OFBiz
>  Issue Type: Improvement
>  Components: framework
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Priority: Major
> Attachments: OFBIZ-7754-SystemProperties.patch, OFBIZ-7754.patch
>
>
> Hi All,
> Regarding, [OFBIZ-7112|https://issues.apache.org/jira/browse/OFBIZ-7112]
> That's good for who start on use the ofbiz with initial setup, but not for 
> the site that already online and has to update the OFBiz core. Because when 
> has update OFBiz core they will use command load-seed for update.
> The problem is if we use load-seed mean the configuration data that's already 
> exists will be replaced by the data from this file,
> *CommonSystemPropertyData.xml*
> So, for my suggestion should change the reader from *seed* to *seed-initial*  
> or remove systemPropertyValue from the data file.
> Thank you,
> Kongrath



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-6722) Service createAcctgTransForPurchaseInvoice doesn't work as that I expected

2018-02-08 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy commented on OFBIZ-6722:
---

Hi [~kongrath] ,

Once again I find you're ahead of me looking into the mysteries of GL 
transactions in OFBiz. The thread at 
[http://ofbiz.135035.n4.nabble.com/Invoice-Item-type-copied-into-GL-Account-type-td4702167.html]
 discussed this issue. It is true that an invoice item type is being copied 
into a GL account type 
([https://github.com/apache/ofbiz-framework/blob/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml#L2174).]
 

That is sort-of fixed in getGlAccountFromAccountType:



at 
[https://github.com/apache/ofbiz-framework/blob/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml#L533|https://github.com/apache/ofbiz-framework/blob/trunk/applications/accounting/minilang/ledger/GeneralLedgerServices.xml#L533,]

So you can think of the glAccountTypeId parameter as being overloaded, or if 
you like misnamed. For some transactions, it carries a GL account type, but for 
sales and purchase invoices, it has an invoice item type instead.

The fundamental problem is that the services to create accounting entries are 
building arrays of AcctgTransEntry records to pass to 
getGlAccountFromAccountType . getGlAccountFromAccountType needs more inputs, in 
particular the invoice item type, to make its decisions. Those inputs are not 
in AcctgTransEntry - its glAccount is set as the result of 
getGlAccountFromAccountType. So AcctgTransEntry is an output of 
getGlAccountFromAccountType.

The fix is to broaden the communication to getGlAccountFromAccountType. 
Possibilities I see are:
 # add an attribute to AcctgTransEntry for the invoice item type. I really 
don't like this idea. It's redundant, the invoice item type is only one input 
into getGlAccountFromAccountType's decision making, and many transactions are 
not sales and purchases and do not have invoice item types
 # Populate and pass a parallel array of additional data beside the 
AcctgTransEntry array. While other places in OFBiz do this, there's poor 
cohesion. I don't like this much either
 # Make the array into a simple array of maps, and not AcctgTransEntry 
GenericValues. Then we can add any extra inputs we like. There are some risks 
because we won't have the error checking on attribute you normally get from a 
GenericValue. I still think this is the best option.
 # Make sure getGlAccountFromAccountType can fetch and read the invoice item 
including its invoice item type, and not pass an invoice item type at all. I 
haven't investigated this, but it seems feasible and will probably be a smaller 
change than option 3. There would be a slight performance hit from re-fetching 
the invoice item.

What does everyone think?

Paul Foxworthy

 

> Service createAcctgTransForPurchaseInvoice doesn't work as that I expected
> --
>
> Key: OFBIZ-6722
> URL: https://issues.apache.org/jira/browse/OFBIZ-6722
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Paul Foxworthy
>Priority: Major
>
> The problem, I want to link the glAccountId to the transaction when the 
> status invoice has set to "Ready to Post" and the transaction will create 
> automatically.
> Can someone help me to check or give the reason about 
> createAcctgTransForPurchaseInvoice service, why we need to use this :
>  from-field="invoiceItem.invoiceItemTypeId"/>
> It looks very strange because glAccountTypeId and invoiceItemTypeId filed 
> didn't link to each other.
> And how we can get the glAccountId for this simple-method?
>  short-description="Gets ProductGlAccount on the basis of primary key" >
>  value-field="productGlAccount" use-cache="true"/>
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (OFBIZ-7611) Track userlogin for status change

2018-02-08 Thread Nicolas Malin (JIRA)

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

Nicolas Malin closed OFBIZ-7611.

   Resolution: Implemented
Fix Version/s: 17.12.01

I close this issue because all subtask are closed.

> Track userlogin for status change
> -
>
> Key: OFBIZ-7611
> URL: https://issues.apache.org/jira/browse/OFBIZ-7611
> Project: OFBiz
>  Issue Type: Improvement
>  Components: ALL COMPONENTS
>Affects Versions: Trunk
>Reporter: Nameet Jain
>Assignee: Nicolas Malin
>Priority: Major
> Fix For: 17.12.01
>
> Attachments: OFBIZ-7611.patch, OFBIZ-7611.patch
>
>
> Currently in OFBiz, 'changedByUserLoginId' field is missing from status 
> entities (like: ShipmentStatus). Using this field we can maintain the history 
> for each status change made by user.
> Update all respective service and events to ensure this field gets updated.
> Here is the list of entities with missing this field.
> 1. BudgetStatus
> 2. ContactListCommStatus
> 3. CustRequestStatus
> 4. ExampleStatus
> 5. FinAccountStatus
> 6. InventoryItemStatus
> 7. InvoiceStatus
> 8. PartyStatus
> 9. RequirementStatus
> 10. ShipmentStatus



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (OFBIZ-6722) Service createAcctgTransForPurchaseInvoice doesn't work as that I expected

2018-02-08 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy reassigned OFBIZ-6722:
-

Assignee: Paul Foxworthy

> Service createAcctgTransForPurchaseInvoice doesn't work as that I expected
> --
>
> Key: OFBIZ-6722
> URL: https://issues.apache.org/jira/browse/OFBIZ-6722
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Paul Foxworthy
>Priority: Major
>
> The problem, I want to link the glAccountId to the transaction when the 
> status invoice has set to "Ready to Post" and the transaction will create 
> automatically.
> Can someone help me to check or give the reason about 
> createAcctgTransForPurchaseInvoice service, why we need to use this :
>  from-field="invoiceItem.invoiceItemTypeId"/>
> It looks very strange because glAccountTypeId and invoiceItemTypeId filed 
> didn't link to each other.
> And how we can get the glAccountId for this simple-method?
>  short-description="Gets ProductGlAccount on the basis of primary key" >
>  value-field="productGlAccount" use-cache="true"/>
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Reopened] (OFBIZ-6722) Service createAcctgTransForPurchaseInvoice doesn't work as that I expected

2018-02-08 Thread Paul Foxworthy (JIRA)

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

Paul Foxworthy reopened OFBIZ-6722:
---

This *is* an issue that requires attention.

> Service createAcctgTransForPurchaseInvoice doesn't work as that I expected
> --
>
> Key: OFBIZ-6722
> URL: https://issues.apache.org/jira/browse/OFBIZ-6722
> Project: OFBiz
>  Issue Type: Bug
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Kongrath Suankaewmanee
>Assignee: Paul Foxworthy
>Priority: Major
>
> The problem, I want to link the glAccountId to the transaction when the 
> status invoice has set to "Ready to Post" and the transaction will create 
> automatically.
> Can someone help me to check or give the reason about 
> createAcctgTransForPurchaseInvoice service, why we need to use this :
>  from-field="invoiceItem.invoiceItemTypeId"/>
> It looks very strange because glAccountTypeId and invoiceItemTypeId filed 
> didn't link to each other.
> And how we can get the glAccountId for this simple-method?
>  short-description="Gets ProductGlAccount on the basis of primary key" >
>  value-field="productGlAccount" use-cache="true"/>
> 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10188:
-

BTW I created OFBIZ-6712 for that. But I must say I never tried Adrian's 
proposition.

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10188:
-

Michael,

In EntityUtilProperties a lot of methods are only covers over UtilProperties 
methods, like the one in my comment above. And one day if we implement them we 
will need to pass a delegator, so it's incomplete.

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne commented on OFBIZ-10188:
--

Ooops, sorry Michael to have closed the Jira, i miss your comment :)

I think that Jacques explains that {{EntityUtilProperties}} needs delegator as 
a mandatory additional parameters, that will lead to have it on the calling 
method...

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Gil Portenseigne (JIRA)

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

Gil Portenseigne closed OFBIZ-10188.


> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Michael Brohl (JIRA)

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

Michael Brohl commented on OFBIZ-10188:
---

What do you mean with "we should complete EntityUtilProperties"?

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux commented on OFBIZ-10188:
-

I have not a strong opinion about it.

I regularly ask people to use EntityUtilProperties instead of simply 
UtilProperties, because EntityUtilProperties ultimately relies on 
UtilProperties. But on the other hand it's sometimes a pain because it's 
incomplete. So you write things like

{{boolean ... = EntityUtilProperties.getPropertyAsBoolean("...", "...", 
false);}}
instead of
{{boolean ... = yUtilProperties.getPropertyAsBoolean("...", "...", false);}}
And one day maybe a delegator will miss there. In other words we should 
complete EntityUtilProperties before asking everyone to use it :D
In case or simple properties it's OK though.

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (OFBIZ-10188) Add new FileUtil methods for zip management

2018-02-08 Thread Jacques Le Roux (JIRA)

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

Jacques Le Roux edited comment on OFBIZ-10188 at 2/8/18 3:10 PM:
-

I have not a strong opinion about it.

I regularly ask people to use EntityUtilProperties instead of simply 
UtilProperties, because EntityUtilProperties ultimately relies on 
UtilProperties. But on the other hand it's sometimes a pain because it's 
incomplete. So you write things like

{{boolean ... = EntityUtilProperties.getPropertyAsBoolean("...", "...", 
false);}}
instead of
{{boolean ... = UtilProperties.getPropertyAsBoolean("...", "...", false);}}
And one day maybe a delegator will miss there. In other words we should 
complete EntityUtilProperties before asking everyone to use it :D
In case or simple properties it's OK though.


was (Author: jacques.le.roux):
I have not a strong opinion about it.

I regularly ask people to use EntityUtilProperties instead of simply 
UtilProperties, because EntityUtilProperties ultimately relies on 
UtilProperties. But on the other hand it's sometimes a pain because it's 
incomplete. So you write things like

{{boolean ... = EntityUtilProperties.getPropertyAsBoolean("...", "...", 
false);}}
instead of
{{boolean ... = yUtilProperties.getPropertyAsBoolean("...", "...", false);}}
And one day maybe a delegator will miss there. In other words we should 
complete EntityUtilProperties before asking everyone to use it :D
In case or simple properties it's OK though.

> Add new FileUtil methods for zip management
> ---
>
> Key: OFBIZ-10188
> URL: https://issues.apache.org/jira/browse/OFBIZ-10188
> Project: OFBiz
>  Issue Type: New Feature
>Reporter: Gil Portenseigne
>Assignee: Gil Portenseigne
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10188.patch, OFBIZ_10188.patch
>
>
> Add new FileUtil methods for zip management.
> Add zipFileStream method that will zip FileStream to a zipped one.
> Add unzipFileToFolder method to unzip a given archive to a given Folder



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OFBIZ-10208) Error on Add Item to Shopping List Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya commented on OFBIZ-10208:
-

Hello [~upadhyay.ratnesh] , Thanks for noticing and reporting the issue. I have 
successfully replicated the issue over R16.11 branch.

I have further explored it and found that it is fixed in Trunk under OFBIZ-9325 
for EditShoppingList and CategoryDetail screen.

Attaching patch for R16.11 branch and verified the changes over local instance 
also attached the screenshot for quick verification.

Along with this, I have noticed column/value alignment mismatch issue under 
*List Items* section over EditShoppingList screen for which logged a ticket 
OFBIZ-10210.

> Error on Add Item to Shopping List Screen
> -
>
> Key: OFBIZ-10208
> URL: https://issues.apache.org/jira/browse/OFBIZ-10208
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: 16.11.04
>Reporter: Ratnesh Upadhyay
>Assignee: Yogesh Naroliya
>Priority: Major
> Attachments: OFBIZ-10208-EditShoppingListScreen-Fixed.png, 
> OFBIZ-10208-R16.11.patch
>
>
> While working on 16.11 branch, I noticed error when I try to add an item into 
> shopping cart. Here are the steps to replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click upon Shopping Lists tab.
>  # Create new shopping list, if no one is persist.
>  # Add an item to existing/new shopping list.
> As soon as you click to add on item you will see following error in list item 
> and quick add to shopping list sections.
> {code:java}
> The following has evaluated to null or missing: ==> renderNextPrev [in 
> template "component://common/template/includes/HtmlTemplate.ftl" at line
>  66, column 5]  Tip: If the failing expression is known to be 
> legally refer to something that's sometimes null or missing, either 
> specify a default value like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only 
> cover the last step of the expression; to cover the whole expression, 
> use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
>   FTL stack trace ("~" means nesting-related): - Failed at: 
> @renderNextPrev paginateStyle, pagina... [in template 
> "component://common/template/includes/HtmlTemplate.ftl" in macro 
> "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
> commonUrl=commonUrl ajaxEna... [in template 
> "component://party/template/party/EditShoppingList.ftl" at line 187, 
> column 9] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10208) Error on Add Item to Shopping List Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya updated OFBIZ-10208:

Attachment: OFBIZ-10208-EditShoppingListScreen-Fixed.png

> Error on Add Item to Shopping List Screen
> -
>
> Key: OFBIZ-10208
> URL: https://issues.apache.org/jira/browse/OFBIZ-10208
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: 16.11.04
>Reporter: Ratnesh Upadhyay
>Assignee: Yogesh Naroliya
>Priority: Major
> Attachments: OFBIZ-10208-EditShoppingListScreen-Fixed.png, 
> OFBIZ-10208-R16.11.patch
>
>
> While working on 16.11 branch, I noticed error when I try to add an item into 
> shopping cart. Here are the steps to replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click upon Shopping Lists tab.
>  # Create new shopping list, if no one is persist.
>  # Add an item to existing/new shopping list.
> As soon as you click to add on item you will see following error in list item 
> and quick add to shopping list sections.
> {code:java}
> The following has evaluated to null or missing: ==> renderNextPrev [in 
> template "component://common/template/includes/HtmlTemplate.ftl" at line
>  66, column 5]  Tip: If the failing expression is known to be 
> legally refer to something that's sometimes null or missing, either 
> specify a default value like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only 
> cover the last step of the expression; to cover the whole expression, 
> use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
>   FTL stack trace ("~" means nesting-related): - Failed at: 
> @renderNextPrev paginateStyle, pagina... [in template 
> "component://common/template/includes/HtmlTemplate.ftl" in macro 
> "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
> commonUrl=commonUrl ajaxEna... [in template 
> "component://party/template/party/EditShoppingList.ftl" at line 187, 
> column 9] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10208) Error on Add Item to Shopping List Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya updated OFBIZ-10208:

Attachment: OFBIZ-10208-R16.11.patch

> Error on Add Item to Shopping List Screen
> -
>
> Key: OFBIZ-10208
> URL: https://issues.apache.org/jira/browse/OFBIZ-10208
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: 16.11.04
>Reporter: Ratnesh Upadhyay
>Assignee: Yogesh Naroliya
>Priority: Major
> Attachments: OFBIZ-10208-EditShoppingListScreen-Fixed.png, 
> OFBIZ-10208-R16.11.patch
>
>
> While working on 16.11 branch, I noticed error when I try to add an item into 
> shopping cart. Here are the steps to replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click upon Shopping Lists tab.
>  # Create new shopping list, if no one is persist.
>  # Add an item to existing/new shopping list.
> As soon as you click to add on item you will see following error in list item 
> and quick add to shopping list sections.
> {code:java}
> The following has evaluated to null or missing: ==> renderNextPrev [in 
> template "component://common/template/includes/HtmlTemplate.ftl" at line
>  66, column 5]  Tip: If the failing expression is known to be 
> legally refer to something that's sometimes null or missing, either 
> specify a default value like myOptionalVar!myDefault, or use <#if 
> myOptionalVar??>when-present<#else>when-missing. (These only 
> cover the last step of the expression; to cover the whole expression, 
> use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? 
>   FTL stack trace ("~" means nesting-related): - Failed at: 
> @renderNextPrev paginateStyle, pagina... [in template 
> "component://common/template/includes/HtmlTemplate.ftl" in macro 
> "nextPrev" at line 66, column 3] - Reached through: @nextPrev 
> commonUrl=commonUrl ajaxEna... [in template 
> "component://party/template/party/EditShoppingList.ftl" at line 187, 
> column 9] 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OFBIZ-10210) Values are not aligned with column over EditShoppingList Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)

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

Yogesh Naroliya updated OFBIZ-10210:

Attachment: OFBIZ-10210.png

> Values are not aligned with column over EditShoppingList Screen 
> 
>
> Key: OFBIZ-10210
> URL: https://issues.apache.org/jira/browse/OFBIZ-10210
> Project: OFBiz
>  Issue Type: Improvement
>  Components: party
>Affects Versions: Trunk
>Reporter: Yogesh Naroliya
>Assignee: Yogesh Naroliya
>Priority: Minor
> Attachments: OFBIZ-10210.png
>
>
> While working on OFBIZ-10208, I noticed values are not aligned with the 
> column over EditShoppingList Screen under *List Items - New Shopping List* 
> section after adding an item to the shopping list. Here are the steps to 
> replicate the issue:
>  # Go to Party Manager.
>  # Select customer to navigate over profile page.
>  # Click on Shopping Lists tab.
>  # Create a new shopping list, if no one persists.
>  # Add an item to existing/new shopping list.
> Attaching screenshot for quick reference to the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OFBIZ-10210) Values are not aligned with column over EditShoppingList Screen

2018-02-08 Thread Yogesh Naroliya (JIRA)
Yogesh Naroliya created OFBIZ-10210:
---

 Summary: Values are not aligned with column over EditShoppingList 
Screen 
 Key: OFBIZ-10210
 URL: https://issues.apache.org/jira/browse/OFBIZ-10210
 Project: OFBiz
  Issue Type: Improvement
  Components: party
Affects Versions: Trunk
Reporter: Yogesh Naroliya
Assignee: Yogesh Naroliya


While working on OFBIZ-10208, I noticed values are not aligned with the column 
over EditShoppingList Screen under *List Items - New Shopping List* section 
after adding an item to the shopping list. Here are the steps to replicate the 
issue:
 # Go to Party Manager.
 # Select customer to navigate over profile page.
 # Click on Shopping Lists tab.
 # Create a new shopping list, if no one persists.
 # Add an item to existing/new shopping list.

Attaching screenshot for quick reference to the issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (OFBIZ-10209) Add seqId to GlAccountClass table to support the sorting of GLAccount sub classes

2018-02-08 Thread Suraj Khurana (JIRA)

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

Suraj Khurana reassigned OFBIZ-10209:
-

Assignee: Suraj Khurana  (was: Arun Patidar)

> Add seqId to GlAccountClass table to support the sorting of GLAccount sub 
> classes
> -
>
> Key: OFBIZ-10209
> URL: https://issues.apache.org/jira/browse/OFBIZ-10209
> Project: OFBiz
>  Issue Type: Improvement
>  Components: accounting
>Affects Versions: Trunk
>Reporter: Arun Patidar
>Assignee: Suraj Khurana
>Priority: Major
>
> Most "liquid" assets should be first (i.e Bank/Cash before Inventory) so need 
> to provide support to sort GLAccount classes.
> Add seqId to GlAccountClass entity to support the sorting of GLAccount sub 
> classes.
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)