Software Updates (May 2018)


#1

Here’s the update for the month of may:

General

  • Human Res Management
    ** Allow approverPartyId switch on EditEmplLeaveStatus
  • Shop
    ** Checkout: Improved the way orderItems and orderAdjustments were looped
    ** CommonScreens: bugfix xml error
    ** Category.groovy: fix missing productCategoryId checks
    ** Productsummary: log warning when product not found
    ** Productsummary: Fix for getting the proper label for ProductFeatureType.description
    ** KeywordSearch.groovy: bugfix wrong kwExcludeVariants default
    ** EexcludeVariants now defaults to ProductStore.prodSearchExcludeVariants
  • Work Effort
    ** General Cleanup & major fixes
    ** Added back to first level applications menu
  • Content Management
    ** new preview access token implementation
    ** Fix for webapp titles
    ** Web.xml Cleanup
    ** CmsProcessFilter: bugfix missing setRequestEncoding
    ** Logging: module to private
    ** CmsGetPageViewMappings.groovy: minor fixes
    ** Added custom icons for the trumbowyg plugins (requires font-awesome)
    ** Added a Fix for a missing trumbowyg styling
  • Product
    ** Entitymodel: new ProductStore field: showDiscontinuedProducts
    ** EditProductStore: fix form for new scipio fields
  • Admin
    ** LogView: fixup line parsing
  • Search/Solr
    ** build: improve reindex startup with config property
    ** log4j: add HttpClient client debug logging for solr
    ** Added: solr authentication
    ** Added: experimental UserLogin auth plugin
    ** Added: data: new SOLRADM_* perm seed data
    ** Fixed: solrUsername/solrPassword http client caching
    ** new services: reloadSolrSecurityAuthorizations, solrGenericPermission
    ** status: new initialization/state checking code independent of local webapp
    ** schema: Product.salesDiscontinuationDate is now indexed as “salesDiscDate_dt”
    ** schema: document new dynamicFields added to indexing
    ** SolrExprUtil: new formatTimestampForQuote method
    ** solrSideDeepCategory: add queryFilters param support
    ** SolrExprUtil: new methods: makeDateFieldAfterOrUnsetExpr/makeDateFieldBeforeOrUnsetExpr
    ** SolrExprUtil: new method escapeFieldNamePart
    ** new solr-based Product.salesDiscontinuationDate query filter
    ** services: enhanced query services with default product filters
  • Setup
    ** Improvements on the Accounting steps
  • Layout
    ** Layoutdemo: improved log message
    ** htmlStructure.ftl: @tile_markup: bugfix missing quotes in css url()
    ** htmlContent.ftl: remove css missing impl warning
    ** htmlNav.ftl: @paginate: fix slow syntax usage
    ** htmlNav.ftl: @paginate: new pagLabels/styles.pagination_labels map param
    ** htmlNav.ftl: @paginate: bugfix pagination_styles map vs list syntax bug
    ** htmlForm.ftl: @field: fix code formatting
    ** htmlForm: @field: checkbox: bugfix invalid preselect logic
    ** htmlForm: field_radio_widget: preventative defaultValue change
    ** Added css escape tests to layoutdemo
  • Security
    ** security: FrameImage: clean/encode filename from parameters
  • Other
    ** Various new spanish & german translations added
    ** Build: new targets: download-util-all, download-jdbc-all, clean-analyze
    ** UtilCodec: new CSS encoders (cssstr, cssid)
    ** utilities.ftl: escapeVal: implement css escaping: css, cssid
    ** Optimized country list rendering
    ** New: ScipioFinishStartupLoader
    *** new scipio-events.properties with startup finish hooks for all components
    ** Startup: new feature: launch service on startup from command-line
    ** UtilProperties: new method: getPropertiesMatching/putPropertiesMatching
    ** Fixed minor issue that prevented country drop-down options to be properly localized.
    ** common-controller: switch ListLocales to auth=“false”
    ** UtilMisc: new helper methods: extractValuesForKey/extractValuesForKeyAsMap
    ** ProductWorker: new method: getProductStockPerProductStore
    ** UtilCodec: new js and json string encoders

Various Bugfixes

  • Fixes
    ** bugfix crashing lib-dep-tree when ivy.xml is empty
  • Security changes
    ** service: xml-rpc: XML-RPC is insecure; log warning if attempt to use
    ** widget: form renderer: escape javascript in legacy java code
  • Theme Fixes
    ** base/metro: fix missing margin for field-entry-type-hyperlink
  • OFBiz Patches
    ** OFBIZ patch: tree renderer: use [+] symbol in old tree renderer
    ** OFBIZ patch: tree renderer: bugfix invalid URL character (tomcat crash)
    ** OFBIZ patch: workeffort: controller: missing removeWorkEffortAssoc request
    ** OFBIZ patch: workeffort: service: bugfix createWorkEffortAssoc fromDate
    ** OFBIZ patch: ContextFilter: make the isMultiTenant var static
    ** OFBIZ patch: ContextFilter: update setCharacterEncoding implementation
    ** OFBIZ patch: webapp (all): fix unnecessary session creation
    ** OFBIZ patch: LoginWorker: new method, checkExternalLoginKeyUserLogin
    ** OFBIZ patch: EntityQuery: new where(List, EntityJoinOperator) overload + bugfix EntityDataLoadContainer
    ** OFBIZ patch: logging: Debug.java: omit the “Groovy” from the outputmodule name
    ** OFBIZ patch: ofbiz-component.xml: new convenience enabled=“false” flag
    ** OFBIZ patch: start: Start.java: new ExtendedStartupLoader
    ** OFBIZ patch: content: logging: bugfix Debug.logXxx statements with null module
    ** OFBIZ patch: Debug.java: NEW OfbizLogger logging interface
    ** OFBIZ patch: services.xsd, widget-*.xsd: entity: allow testing ADMIN permission directly
    ** OFBIZ patch: base: log4j2.xml: exclude OFF level from error.log
    ** OFBIZ patch: logging: Debug.java, UtilTimer.java: new getOfbizLogger() overloads, refactor null checks
    ** OFBIZ patch: product: getProductFeatureSet service: don’t print “Problem reading product features” anymore unless requested
    ** OFBIZ patch: product: entitymodel: fix producStore typo
    ** OFBIZ patch: form renderer: renderDropDownField: fix no-current-selected-key inappropriately used in many cases
    ** OFBIZ patch: form renderer: renderDropDownField: fix no-current-selected-key on form error condition
    ** OFBIZ patch: form renderer: renderCheckField/renderRadioField: fix no-current-selected-key on no selections logic
    ** OFBIZ patch: form renderer: drop/check/radio: update widget-form.xsd for no-current-selected-key changes
    ** OFBIZ patch: base: Debug.java: rename logger parameter to module in new logXxx overloads
    ** OFBIZ patch: entity: EntityDataLoadContainer: ignore empty “readers=”
  • OFBiz merges
    ** OFBIZ merge: Upgraded to 1810054 of 14.12, from 1800253
    ** OFBIZ merge: Merged 1816937 from 17.12
    ** OFBIZ merge: select ContextFilter fixes from 17.12 (up to 1827442)
    ** OFBIZ merge: r1831789 from 17.12 (Debug.ALWAYS fix)
    ** OFBIZ merge: 1759065 from 17.12 (content services allow-html)
    ** OFBIZ merge: 1809429 from 17.12
    ** OFBIZ merge: r1714085 from 15.12 (remove bad TenantDemoData.xml)
  • Various library updates
    ** Upgrade tomcat to 8.5.31
    ** Upgrade freemarker to 2.3.28
    ** Upgrade groovy to 2.4.15
    ** Upgrade activemq-all to 5.15.3
    ** Upgrade sonar-ant-task to 2.2
    ** Upgrade activemq-all to 5.15.4
    ** Upgrade of jdbc drivers
    ** Add/increase OWASP antisamy to 1.5.7
    ** Add missing dependency asm-tree 3.2
    ** solr: manual upgrade jackson-databind and jackson-* to 2.9.5