"Applied fix from trunk for revision: 1560048" 
------------------------------------------------------------------------
r1560048 | adrianc | 2014-01-21 16:57:30 +0100 (mar. 21 janv. 2014) | 2 lignes

Order view NPE bug fix. Don't assume a product store has a related facility.

------------------------------------------------------------------------
?\026

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1560127 13f79535-47bb-0310-9956-ffa450edef68
"Applied fix from trunk for revision: 1560056" 
------------------------------------------------------------------------
r1560056 | adrianc | 2014-01-21 17:11:24 +0100 (mar. 21 janv. 2014) | 2 lignes

Some Freemarker bug fixes.

------------------------------------------------------------------------
?\026

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1560129 13f79535-47bb-0310-9956-ffa450edef68
"Applied fix from trunk for revision: 1560176  " 
------------------------------------------------------------------------
r1560176 | jleroux | 2014-01-21 21:53:29 +0100 (mar. 21 janv. 2014) | 20 lignes

A patch from  Gareth Carter for "last index for paging is not calculated correctly" https://issues.apache.org/jira/browse/OFBIZ-5497

The last index (used on the last button) is not calculated correctly in ftl or the renderer classes. It currently users floor which works only for list sizes that are not multiples of the view size. When you have a list size which is a multiple of the view size, it does not subtract 1 for zero based index and therefore the last button goes to the last page + 1

Examples

listSize = 1
viewSize = 10
listSize / viewSize = 0.1
floor(0.1) = 0
This one produces the correct value

listSize = 20
viewSize = 10
listSize / viewSize = 2
floor(2) = 2
Last index should be 1 because of zero based index but never occurs

To reproduce, enter a view with a list and paging functionality, the list size must be a multiple of the view size

------------------------------------------------------------------------
?\026

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1560183 13f79535-47bb-0310-9956-ffa450edef68
"Applied fix from trunk for revision: 1560205  " 
------------------------------------------------------------------------
r1560205 | jleroux | 2014-01-21 22:41:34 +0100 (mar. 21 janv. 2014) | 2 lignes

A patch from Simon Maskell for "Fixed Asset Depreciation Method missing list-name from form ListFixedAssetDepMethods in FixedAssetForm" https://issues.apache.org/jira/browse/OFBIZ-5499

------------------------------------------------------------------------
?\026

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1560207 13f79535-47bb-0310-9956-ffa450edef68
"Applied fix from trunk for revision: 1560203" 
------------------------------------------------------------------------
r1560203 | adrianc | 2014-01-21 22:33:52 +0100 (mar. 21 janv. 2014) | 2 lignes

Fixed a FreeMarker exception.

------------------------------------------------------------------------
?\026

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release12.04@1560271 13f79535-47bb-0310-9956-ffa450edef68
Merge pull request #2 from apache/release12.04

Release12.04