Synchro 746488
Contents |
Major changes since last synchro :
- use of generics in java code
- ant build refactored
- label file format changed
- bsh files replaced by groovy ones
simple method cleanup
- elements and attributes changes
Note : You should use the "." (dot) syntax to access Map members (the old map/field syntax is deprecated since 2009). For example if you specify the attribute field="product.productName" it will reference the productName member of the productMap. This would be the same as specifying map="product" field="productName".
- if-compare
- field-name -> field
- map-name -> deprecated
- if-compare-field
- field-name -> field
- map-name -> deprecated
- to-field-name -> to-field
- to-map-name -> deprecated
- if-empty
- field-name -> field
- map-name -> deprecated
- if-not-empty
- field-name -> field
- map-name -> deprecated
- field
- field-name -> field
- map-name -> deprecated
- set-service-fields
- map-name -> map
- to-map-name -> to-map
- result-to-field
- field-name -> field
- map-name -> deprecated
- create-object
- field-name -> field
- map-name -> deprecated
- call-object-method
- obj-field-name -> obj-field
- obj-map-name -> deprecated
- ret-field-name -> ret-field
- ret-map-name -> deprecated
- call-class-method
- ret-field-name -> ret-field
- ret-map-name -> deprecated
- field-to-session
- field-name -> field
- map-name -> deprecated
- field-to-request
- field-name -> field
- map-name -> deprecated
- session-to-field
- field-name -> field
- map-name -> deprecated
- request-to-field
- field-name -> field
- map-name -> deprecated
- webapp-property-to-field
- field-name -> field
- map-name -> deprecated
- field-to-result
- field-name -> field
- map-name -> deprecated
- map-to-map
- map-name -> map
- to-map-name -> to-map
- field-to-list
- field-name -> field
- map-name -> deprecated
- list-name -> list
- list-to-list
- list-name -> list
- to-list-name -> to-list
- order-map-list
- list-name -> list
- string-append
- field-name -> field
- map-name -> deprecated
- arg-list-name -> arg-list
- string-to-list
- list-name -> list
- arg-list-name -> arg-list
- message-field-name -> message-field
- to-string
- field-name -> field
- map-name -> deprecated
- clear-field
- field-name -> field
- map-name -> deprecated
- first-from-list
- entry-name -> entry
- list-name -> list
- sequenced-id-to-env
- sequenced-id-to-env (element) -> sequenced-id
- env-name -> field
- make-next-seq-id
- value-name -> value-field
- find-by-primary-key
- map-name -> map
- value-name -> value-field
- find-by-and
- map-name -> map
- order-by-list-name -> order-by-list
- list-name -> list
- entity-one
- value-name -> value-field
- entity-and
- list-name -> list
- entity-condition
- list-name -> list
- condition-expr
- env-name -> from-field
- field-map
- env-name -> from-field
- entity-count
- count-name -> count-field
- get-related-one
- value-name -> value-field
- to-value-name -> to-value
- get-related
- value-name -> value-field
- map-name -> map
- order-by-list-name -> order-by-list
- list-name -> list
- order-value-list
- list-name -> list
- to-list-name -> to-list
- order-by-list-name -> order-by-list
- filter-list-by-and
- list-name -> list
- to-list-name -> to-list
- map-name -> map
- filter-list-by-date
- list-name -> list
- to-list-name -> to-list
- valid-date-name -> valid-date
- make-value
- value-name -> value-field
- map-name -> map
- clone-value
- value-name -> value-field
- new-value-name -> new-value-field
- create-value
- value-name -> value-field
- store-value
- value-name -> value-field
- refresh-value
- value-name -> value-field
- remove-value
- value-name -> value-field
- remove-related
- value-name -> value-field
- remove-by-and
- map-name -> map
- clear-cache-line
- map-name -> map
- set-pk-fields
- value-name -> value-field
- map-name -> map
- set-nonpk-fields
- value-name -> value-field
- map-name -> map
- store-list
- list-name -> list
- remove-list
- list-name -> list
- iterate
- entry-name -> entry
- list-name -> list
- iterate-map
- key-name -> key
- value-name -> value
- map-name -> map
- if-validate-method
- field-name -> field
- map-name -> deprecated
- if-instance-of
- field-name -> field
- map-name -> deprecated
- if-regexp
- field-name -> field
- map-name -> deprecated
- check-id
- field-name -> field
- map-name -> deprecated
- now-timestamp-to-env
- now-timestamp-to-env -> now-timestamp
- env-name -> field
- now-date-to-env
- now-date-to-env -> now-date
- env-name -> field
- property-to-field
- field-name -> field
- map-name -> deprecated
- set-current-user-login
- value-name -> value-field
- calculate
- field-name -> field
- map-name -> deprecated
- calcop
- field-name -> field
- map-name -> deprecated
deprecated method
- new EntityExpr(
- should be replace by: EntityCondition.makeCondition(
- findAllCache(
- should be replaced by: FindNList(
Tips to supress warnings
- Map
- should be replace by: Map<String,Object>
- Exception with "context Map"
- should be replace with : context Map<String, ?>
- new HashMap()
- should be replace with : FastMap.newInstance()
- List, Iterator, EntityConditionList
- should add a corresponding Type like : List<String>
- new EntityConditionList(x)
- should be replaced with : EntityCondition.makeCondition(x,x)
- Warning of Unchecked Cast type
- should use : UtilGenerics.checkXXXX(), XXXX depending on the type
Advancement status by component or file
| Component | Status | Person in charge | Remarks |
|---|---|---|---|
| applications/accounting | Compile | Olivier Heintz | |
| applications/content | Compile | Olivier Heintz | |
| applications/ecommerce | Compile | Olivier Heintz | |
| applications/humanres | Compile | Olivier Heintz | |
| applications/manufacturing | Compile | Olivier Heintz | |
| applications/marketing | Compile | Olivier Heintz | |
| applications/order | Done | Olivier Heintz | |
| applications/order/order/OrderServices.java | TODO | merge bleu done ;-) | |
| applications/party | DONE | Gil Portenseigne | |
| applications/product | DONE | Nicolas Leduc | |
| applications/securityext | DONE | Peter Goron | |
| applications/workeffort | Done | Erwan de FERRIERES | |
| debian | DONE | Peter Goron | |
| debian/po | DONE | Peter Goron | |
| framework | TODO | ||
| framework/appserver | Compile | Olivier Heintz | |
| framework/base | Compile | Olivier Heintz | |
| framework/bi | Compile | Olivier Heintz | |
| framework/catalina | Compile | Olivier Heintz | |
| framework/common | Compile | Olivier Heintz | |
| framework/datafile | Compile | Peter Goron | |
| framework/datafile/build.xml | TODO | Peter Goron | Re-integrate component build into neogia integration build after synchro |
| framework/entity | Compile | Peter Goron | |
| framework/entity/build.xml | TODO | Peter Goron | Re-integrate component build into neogia integration build after synchro |
| framework/entity/src/org/ofbiz/entity/condition/OrderByItem.java | TODO | Peter Goron | fallback to map comparator not kept |
| framework/entity/src/org/ofbiz/entity/condition/OrderByList.java | TODO | Peter Goron | fallback to map comparator not kept |
| framework/entityext | Compile | Peter Goron | |
| framework/example | Compile | Peter Goron | |
| framework/exampleext | Compile | Peter Goron | |
| framework/geronimo | Compile | Peter Goron | |
| framework/guiapp | Compile | Peter Goron | |
| framework/images | Compile | Peter Goron | |
| framework/jetty | Compile | Peter Goron | |
| framework/minilang | Compile | Peter Goron | |
| framework/security | Compile | Peter Goron | |
| framework/service | Compile | Peter Goron | |
| framework/start | Compile | Olivier Heintz | |
| framework/testtools | Compile | Peter Goron | |
| framework/webapp | Compile | Peter Goron | |
| framework/webtools | Compile | Peter Goron | |
| framework/widget | Compile | Peter Goron | |
| hot-deploy | DONE | Peter Goron | |
| runtime | DONE | Peter Goron | |
| specialpurpose | DONE | Peter Goron | |
| specialpurpose/assetmaint | DONE | Peter Goron | |
| specialpurpose/cmssite | DONE | Peter Goron | |
| specialpurpose/ebay | DONE | Peter Goron | |
| specialpurpose/googlebase | DONE | Peter Goron | |
| specialpurpose/googleCheckout | DONE | Peter Goron | |
| specialpurpose/hhfacility | DONE | Peter Goron | |
| specialpurpose/ldap | DONE | Peter Goron | |
| specialpurpose/mypage | DONE | Peter Goron | |
| specialpurpose/myportal | DONE | Peter Goron | |
| specialpurpose/oagis | DONE | Peter Goron | |
| specialpurpose/pos | DONE | Peter Goron | |
| specialpurpose/projectmgr | DONE | Peter Goron | |
| specialpurpose/shark | DONE | Peter Goron | |
| specialpurpose/webpos | DONE | Peter Goron | |
| specialpurpose/workflow | DONE | Peter Goron | |
| root files | DONE | Olivier Heintz | |
| xml xsd ref change | DONE | Olivier Heintz | for all neogia file |
| review of all reader-name="neogiademo" | TODO | for all ofbiz component |


