OFBiz

Wednesday January 30, 2019

Apache OFBiz News - December 2018

Apache OFBiz News December 2018

Welcome to our regular monthly round-up of OFBiz news. This month we have news about our usual end of year tasks to create a new branch, a new Marketplace plugin, and also some news about various upgrades were are implementing.

Gradle upgraded to version 5.0

OFBiz has been upgraded to Gradle 5.0  which is much faster for loading, as it runs parallel processes for downloading dependencies, and it is also more compatible with newer versions of Java. This will speed up the OFBiz installation and general running. Please refer to Jira task OFBIZ-9972 for more information about what has been implemented.

Thanks very much to Mathieu Lirzin, Taher Alkhateeb and also everyone who contributed to getting this upgrade implemented.

New Framework and Plugin 18.12 Branches

As part of our usual end of year tasks, the community has worked on creating a new branch Release 18.12 for both the framework and the plugin.

Please note that ofbiz-framework-18.12 branch and ofbiz-plugins-18.12 branch are not yet officially released and will be stabilized over the next few months until the community is satisfied that they are ready for release.

A big thank you to Nicolas Malin and everyone who contributed to this effort.

Note: The community is also working on the plan to release OFBiz 17.12 branch. In past one year, the community had worked on stabilizing the 17.12 branch.

Upgrade to Java 11

Discussions have started on our development mailing list for upgrading OFBiz to Java 11. OFBiz currently runs using Java 8, we are making sure that we understand the changes and there should not be any potential issues if we go ahead with the upgrade. You can check the progress of the work being done in the Jira task OFBIZ-10757

Thanks very much to Taher Alkhateeb for starting the discussion about this upgrade and also everyone who participated by providing feedback or comments.

OFBiz as Marketplace

The main discussion topic this month has been around the creation of a new 'marketplace' plugin for OFBiz. This potential new plugin will behave similar to ecommerce plugin but will also offer sellers the ability to sell their products on the marketplace

We have begun collecting and documenting user stories about the functionality that we would like to implement. User stories will soon be available at:

Home > Documentation > OFBiz Features > Proposed Features > Marketplace.

A big thanks goes to Rishi Solanki for starting the discussion and everyone who participated.

New features and improvements

Functional enhancements and improvements as well as updates of third party libraries and source code refactoring:

Framework

  • Upgrades gradle wrapper to version 5.0 (OFBIZ-9972)
  • Improves Accounting - AR container structure (OFBIZ-10469)
  • Improves Accounting - AP container structure (OFBIZ-10464)
  • Changes ControlEventListener Log-Level from "warning" to "info" (OFBIZ-10330)
  • Implements dependency from "State/Province" Field to "Country" in New Employee Form (OFBIZ-10326)
  • Replaces callable objects with lambda expressions (OFBIZ-10488)
  • Fixes or Silence various warnings (OFBIZ-10701)
  • Replaces Callable objects with lambda expressions and removes unused imports (OFBIZ-10488)
  • Converts Minilang to Groovy Guide into asciidoc (OFBIZ-10300)
  • Splitting CommonRate and CommonProductRating (OFBIZ-3844)
  • Seperates Asciidoc documentation of plugins (OFBIZ-10658)
  • Adds a warning on UI about the "X quantity of Product" condition in Promo Rules (OFBIZ-6032)
  • LoginWorker.autoLoginCheck performance improvement (OFBIZ-10709)
  • Fixes: request map to create party content in controller.xml exists twice (OFBIZ-10699)
  • Converts createBudget service to entity-auto (OFBIZ-10715)
  • Converts updateContent and removeContent service to entity-auto (OFBIZ-10625)
  • Fixes: EntityUtilProperties.getProperties method should use cache. (OFBIZ-10717)
  • Removes all fk dependencies from stats entities to the business entities (OFBIZ-10721)
  • Refactors ServiceUtil.isSuccess(), isError() and isFailure() methods (OFBIZ-10724)
  • Refactors boolean returns for ShoppingCart methods (OFBIZ-10745)
  • Refactors boolean returns for UtilValidate methods (OFBIZ-10728)
  • Refactors boolean returns for UtilHttp methods (OFBIZ-10726)
  • Refactors boolean returns from methods (OFBIZ-10725)
  • Refactors boolean returns for TemporalExpression methods (OFBIZ-10732)
  • Converts QuoteServices.xml mini lang to groovy (OFBIZ-10553)
  • Adds token based authentication (OFBIZ-9833)
  • Adds a PoC for a documentation system for OFBiz based on Asciidoc (OFBIZ-9873)
  • Replaces Callable objects with lambda expressions (OFBIZ-10488)
  • Cleans various linting compiler warnings (OFBIZ-10701)

Bugfixes

Functional and technical bugfixes:

Framework

  • Fixes: User should be notified if product is already added in the compare list (OFBIZ-9727)
  • Fixes: Error on createShoppingListItem when adding item to cart as anonymous (OFBIZ-5157)
  • Fixes: ConcurrentModificationException in ShoppingCart.cleanUpShipGroups (OFBIZ-10696)
  • Fixes: Standalone Asciidoc plugins documents can't render logo correctly in PDF (OFBIZ-10677)
  • Fixes: Username is displayed on ecommerce even after user logs out (OFBIZ-10666)
  • Fixes: UI bug in scrum component (OFBIZ-10676)
  • Fixes: Missing nullcheck in service createContactListParty. (OFBIZ-10653)
  • Fixes: ‘./gradlew generateOfbizDocumentation’ fails with Gradle 5.0 (OFBIZ-10693)
  • Fixes: FindGeneric page broken (OFBIZ-10711)
  • Fixes: Relation UserLogin of entity UserLoginHistory is not unique for that entity (OFBIZ-10515)
  • Fixes: Inconsistent behaviour of ServiceDispatcher.checkAuth (OFBIZ-10712)
  • Fixes: Incorrect PartyContactMechPurpose created while calling createUpdateBillingAddress service (OFBIZ-10588)
  • Fixes: Classification group filter not working on find party screen. (OFBIZ-10580)
  • Fixes: Wrong title in table header of Config Option List (OFBIZ-10713)
  • Fixes: Date format does not change on change of locale (OFBIZ-10736)
  • Fixes: Dependent dropdowns should be used in createPostalAddress and Set Billing screens of ordermgr (OFBIZ-10681)
  • Fixes: Having condition is ignored on queryList() and queryFirst() calls in EntityQuery (OFBIZ-9890)
  • Fixes: Forum Group update throws an error (OFBIZ-10744)
  • Fixes: double fk-name in ProductFacility entity relations (OFBIZ-7357)
    Adds: Demo Data based on the proposed design to support replenishment planning through any inter-company facility.
  • Fixes: Fallthrough in switch-case of eway/GatewayResponse.java (OFBIZ-10642)
  • Fixes: Seed data sequence bug regarding "MIDNIGHT_DAILY" TemporalExpression (OFBIZ-10533)
  • Fixes: duplicate request getAssociatedStateList (committed at r#1848469)

Plugins

  • Fixes: OFBizPricatUtil class don't use a org.apache.ofbiz.pricat package (OFBIZ-10655)
  • Fixes: In widget forms display element has not time type (OFBIZ-6731)
  • Fixes: Plugins Asciidoc documentation must be standalone (OFBIZ-10658)
  • Fixes: Standalone Asciidoc plugins documents can't render logo correctly in PDF (OFBIZ-10677)
  • Fixes: User's name is displayed on ecommerce even after user logs out (OFBIZ-10666)
  • Fixes: visual-editor not working on ecommerce (OFBIZ-10708)
  • Fixes: Quantity of the product added in the cart should not be negative (OFBIZ-10668)

Apache OFBiz News - November 2018

Apache OFBiz News November 2018

Welcome to our regular monthly round-up of OFBiz news. This month we have more news about new SMS gateway integration feature for OFBiz as well as our usual list of features and improvements.

Short Messaging Service (SMS) Gateway Integration

One of our contributor Pritam Kute has proposed Short Messaging Service (SMS) Gateway Integration for OFBiz.
Nowadays many e-commerce businesses (especially operating in Asian countries) use short messaging service (SMS) in mobile phones to notify and update customers about order details, shipment statuses etc.

If you would like to try the SMS gateway integration feature, it is available here: OFBIZ-10457

Thanks very much to Pritam and everyone who contributed to this feature implementation. 

New features and improvements

Functional enhancements and improvements as well as updates of third-party libraries and source code refactoring:

Framework

  • Navigates from a domain to another with automated signed in authentication (OFBIZ-10307)
  • Introduces the ability to clear specific cache from cache maintenance (OFBIZ-10402)
  • Adds the ability to schedule a job to run as a system/service user (OFBIZ-9557)
  • Removes deprecated and not used PhoneNumber functions (OFBIZ-10631)
  • Removes unused code related to rememberMe (svn Commit: r590554)
  • Removes IDEAL specifics from the Accounting component(OFBIZ-5444)
  • Ads the ability to write unit tests in Groovy (OFBIZ-10611)
  • Cleans some Groovy files in base component (OFBIZ-10646)
  • Substitute of ad-hoc boolean enumeration with XML standard boolean datatype (OFBIZ-10411)
  • Simplificates the service callback handling (OFBIZ-10649)
  • Removes ControlServlet::getRequestHandler method (OFBIZ-10445)
  • Overrides ‘GenericServlet::init’ instead of ‘Servlet::init’ (OFBIZ-10446)
  • Removes useless ControlServlet code (OFBIZ-10447)
  • Uses ‘String#equalsIgnoreCase’ in ‘RequestHandler#doRequest’ (OFBIZ-10451)
  • Creates a Gradle task to generate the documenation for all plugins (OFBIZ-10651)
  • Removes duplicated code when running login/logout events (OFBIZ-10474)
  • Updates build.gradle to the latest dependencies (OFBIZ-10214)
  • Migrates from minilang to entity-auto createQuoteWorkEffort et deleteQuoteWorkEffort. (OFBIZ-10553)
  • Adds data for 'ORDERMGR_CRQ_ADMIN' permissionId. (OFBIZ-10574)
  • Adds the ability to use multi part input parameters in Groovy events (OFBIZ-5048)

Plugins

  • Removes IDEAL related code from the ecommerce component (OFBIZ-5445)
  • Updates build.gradle to the latest dependencies (OFBIZ-10214)
  • Removes some unused commented code (OFBIZ-10482)
  • Fixes checkbox and radio buttons located in ecommerce FTLs (OFBIZ-7670)

Bugfixes

Functional and technical bugfixes:

Framework

  • Missing Security and Cache Headers in CMS Events Fixed (OFBIZ-10597)
  • ComponentConfig::getAppBarWebInfos creates infos only for components without <<app-bar-display="false">> (OFBIZ-10637)
  • Corrects behaviour of Autologin cookies (OFBIZ-10635)
  • Error in GetLocaleListTests.java on updated trunk while running unit tests(OFBIZ-10641)
  • Stores can't be modified at catalog/control/updateProductStore (OFBIZ-10567)
  • CatalogServices #createProductCategoryAttribute doesn't check for existing attributes (OFBIZ-10327)
  • CatalogServices #duplicateProductCategory doesn't check for existing categories (OFBIZ-10328)
  • Content - Able to add empty Forum Group (OFBIZ-10615)
  • Manufacturing BOM search returning duplicate entries in search results (OFBIZ-10648)
  • Typo in shipmentTypeId. It should be INCOMING_SHIPMENT instead of INGOING_SHIPMENT. (OFBIZ-6958)
  • Force complete purchase order button throws error (OFBIZ-9912)
  • Update Contact Mech ID with Billing Account not working. (OFBIZ-10315)
  • Instructions for Configurable PC don't work in R16, R17 and trunk(OFBIZ-10542)
  • Mime Type not supported Error while generating a Composite Pdf (OFBIZ-9840)
  • Tax not added for order shipping or promotion (OFBIZ-4160)
  • Update and fix openstreetmap.org integration. (OFBIZ-10553)

Plugins

  • Fixes behaviour of Autologin cookies (OFBIZ-10635)
  • Seperates Asciidoc documentation of plugnins (OFBIZ-10658)
  • Fixes: Quote list is not showing on ecommerce (OFBIZ-10628)
  • Fixes: Error message is displayed on ecommerce when user tries to use Split shipment functionality (OFBIZ-10623)
  • Fixes: Instructions for Configurable PC don't work (OFBIZ-10542)
  • Fixes: User should be redirected to view cart page after adding the product from compare product screen (OFBIZ-10667)
  • Updates and fixes openstreetmap.org integration (OFBIZ-10553)

Documentation

Framework

  • Renames the security doc dir to docs as requested by documentation guidelines Includes webapp.adoc in developer-manual.adoc
  • Formats too long lines in wa-cross-domains-SSO.adoc Fixes references in bt-creating reports.adoc
  • Fixes levels, I did not get that AsciiDoctor is handling that automatically
  • Fixes security-impersonation.adoc file name to sy-impersonation.adoc
Plugins
  • Convert Birt component doc from Markdown to AsciiDoc (OFBIZ-10647)
  • Formats too long lines in wa-cross-domains-SSO.adoc Fixes references in bt-creating reports.adoc
  • Fixes: Standalone Asciidoc plugins documents can't render logo correctly in PDF (OFBIZ-10677)

Monday January 21, 2019

Apache OFBiz News - October 2018

Apache OFBiz News October 2018

Welcome to our regular monthly round-up of OFBiz news. This month we have more news about our new OFBiz release along with our usual list of features and improvements.

Apache OFBiz 16.11.05 Released!

During this month the community announced the release of 16.11.05. The new release consolidates all work done since the previous release in January 2018. The release file can be downloaded following the instructions in the OFBiz Downloads page. Please refer to the Release Notes for more details of the changes introduced with this new version.  

Please note that a security vulnerability has been reported in OFBiz releases 16.11.01 to 16.11.04. It is highly recommended that you upgrade to the 16.11.05 release to mitigate this vulnerability. Details can be found on the Security page and following mail thread


Solr upgraded to version 7.5.0

OFBiz Solr plugins have been upgraded from Solr 7.3.1 to 7.5.0. Please refer to Upgrade Notes and Jira task OFBIZ-10589 for more information about what has been implemented.

Thanks very much to Jacques Le Roux and also everyone who contributed to getting this upgrade implemented. 

Missing Security and Cache Headers in CMS Events

Currently, in OFBiz, while rendering the view through the controller request we set the important security headers like x-frame-options, strict-transport-security, x-content-type-options, X-XSS-Protection and Referrer-Policy etc. in the response object. In a similar line, we set the cache related headers like Expires, Last-Modified, Cache-Control, Pragma. But these security headers are missing in the pages rendered through CMS. These headers are very crucial for the security of the application as they help to prevent various security threats like cross-site scripting, cross-site request forgery, clickjacking etc. These security headers will now be available in the response object prepared through the CMS also.

Please refer to Mail thread and Jira task OFBIZ-10597 for more information about what has been implemented.

A big thank you to Deepak Nigam for initiating the discussion and to everyone who contributed.

New features and improvements

Functional enhancements and improvements as well as updates of third party libraries and source code refactoring:
  • Fixes missing ASL2 headers.
  • Sorts labels and removes a duplicated ones.
  • Rewrites EntityConditionVisitor interface to respect visitor Pattern (OFBIZ-10593).
    • Removes visit methods from current EntityConditionBase type hierarchy.
    • Adds or rewrites accept method in EntityCondition type hierachy.
    • Adds documentation in EntityConditionVisitor, introducing implementation examples.
    • Adds junit test validating documented examples.
  • Cleans up JavaDocs to be standards compliant (OFBIZ-7775).
  • Adds links to external documentation to Javadoc (OFBIZ-10603).
  • Refactors ICalendar support (OFBIZ-10602).
  • Changes the Menu extends-resource management to allow structure changes by themes (OFBIZ-10600).
  • Creates an "url-redirect" response type (OFBIZ-10599).
  • Removes unused request-map "edit" attributes in controllers (OFBIZ-10608).
  • Uses the JJWT library to implement a lightweight but complete solution to provide a web token authentication mechanism (OFBIZ-9833).
  • Enables the navigation from a domain to another with automated signed in authentication (OFBIZ-10307).
  • Updates google libphonenumber to v8.9.16 (OFBIZ-10618)
  • Updates Apache FOP jar to 2.3 (OFBIZ-10619)
  • Improves consistency and readability for condition tag (OFBIZ-8991).
  • Improves consistency and readability for log tag (OFBIZ-8929).
  • Improves consistency and readability for option (form widget) tag (OFBIZ-8930).
  • Improves consistency and readability for event tag (controller.xml) (OFBIZ-8965).
  • Improves consistency and readability for include-menu tag (OFBIZ-8972).
  • Adds the prefix "OfbizSetup-" to the names of data files that are used by the ofbizsetup app (OFBIZ-10598).
  • Removes unused RequestHandler::doRequest method (OFBIZ-10452).

Plugins

  • Updates Solr and Lucene from 7.3.1 to Solr 7.5.0 (OFBIZ-10589).

Bugfixes

Functional and technical bugfixes:

Framework

  • Execution of the query iCalendar/CALENDAR_PUB_DEMO/ fails(OFBIZ-10595).
  • Creating Javadoc on Windows fails (OFBIZ-10605).
  • Xsd file lacks the menu theme definition.
  • Typo exists in r#1825350 (ignorease => ignoreCase) (OFBIZ-10195).
  • Issue while creating new events (OFBIZ-10583).

Plugins

  • ECommerce landing page breaks if popular category does not exists (OFBIZ-10617).
  • Multiple records are shown in search modal in webpos (OFBIZ-10314).
  • Import is missing (OFBIZ-10314).

Documentation

  • Adds documentation content for Financial Accounts in Accounting (OFBIZ-10296).
  • Corrects documentation for response type "cross-redirect" (OFBIZ-10569).
  • Documents the automated authentification from a domain to another (OFBIZ-10562).
  • Completes Birt Flexible Reports documentation (OFBIZ-9188).
  • Converts Birt Flexible Reports documentation to Asciidoc (OFBIZ-10594).

Apache OFBiz News - September 2018

Apache OFBiz News September 2018

Welcome to our regular monthly round-up of OFBiz news. This month we have news about the discussions around the location of permission data and accounting AP and AR along with our usual list of features and improvements.

Move accounting AP and AR to the plugin

Currently in OFBiz, accounting AR and AP doesn't contain any logic so instead of keeping them as a part of the functional framework they can be moved to plugins. The main webapp is accounting, AP/AR are a business orientation that can be loaded at demand through plugins.

Please refer to Mail thread and Jira task OFBIZ-10552 for more information.

A big thank you to Nicolas Malin for initiating the discussion and to everyone who contributed.

Move SecurityPermission, SecurityGroup, and SecurityGroupPermission Data to seed data files

Currently, in OFBiz, SecurityPermission, SecurityGroup, and SecurityGroupPermission data are mixed in demo and seed data files. All the 'SecurityPermission' data should be in the seed data files. All the 'SecurityGroup' and 'SecurityGroupPermission' data should be in the demo data files. The 'SecurityGroup' and 'SecurityGroupPermission' data for the groupId 'super' should remain in the seed data files.

Please refer to Mail thread and Jira task OFBIZ-10575 for more information.

A big thank you to Deepak Nigam for initiating the discussion and to everyone who contributed.

New features and improvements

Functional enhancements and improvements as well as updates of third-party libraries and source code refactoring:

Framework

  • Improves Dutch labels in ProductUiLabels.xml (OFBIZ-10544).
  • Introduces Parameter 'Reserve After Date' for order items (OFBIZ-10534). Indicates the date after which reservation can happen. This way, the stock availability can be managed more efficiently.
  • Refactors EntityUtil findBy methods using Stream API (OFBIZ-10537).
  • Improves Dutch labels in ManufacturingUiLabels.xml (OFBIZ-10547).
  • Implements "depends-on" support for Component Loading (OFBIZ-10368). Enabeling the declaration of dependancies, if any anomaly is found while loading components, the process will stop.
  • Displays from-address in send confirmation email form (OFBIZ-10493).
  • Removes duplicate labels from OrderUiLabel.xml (OFBIZ-10548).
  • Removes duplicate labels from ProductUiLabel.xml (OFBIZ-10550).
  • Updates Geo information according to ISO notifications (OFBIZ-10028).
  • Sets the default value for retries of async persistant services from -1 to 0 (OFBIZ-10557).
  • Arranges workeffort UI labels in alphabetic order (OFBIZ-7246).
  • Modifies QRCodeServices.java and uses EntityUtilProperties. Removes unused data variables and uses them directly inside the service (OFBIZ-7037).
  • Calculates estimated shipment delivery time (OFBIZ-10372).
  • Limits Parameter 'Reserve After Date' to sales orders only (OFBIZ-10559).
  • Arranges content UI labels in alphabetic order (OFBIZ-7211).
  • Changes 'quickShipPurchaseOrder' to 'quickReceivePurchaseOrder' (OFBIZ-10558).
  • Arranges manufacturing UI labels in alphabetic order (OFBIZ-7338).
  • Arranges framework UI labels in alphabetic order (OFBIZ-7345).
  • Upgrades Freemarker to the latest stable version (from 2.3.27-incubating to 2.3.28).
  • Updates missing entries in GDSL descriptors and cleans up findOne to use EntityQuery instead (OFBIZ-10566).
  • Arranges party UI labels in alphabetic order (OFBIZ-7353).
  • Deprecates shoppingCart.makeItemShipGroupAndAssoc with the boolean parameter newShipGroup as it is not used (OFBIZ-10576).
  • Alters Service createAutoRequirementsForOrder to use OrderItemShipGroup.facilityId instead of ProductStore.inventoryFactory (OFBIZ-10570). Takes into account that an order can have multiple ship groups with individual facilityIds.
  • Prevents orders with zero item quantity from being placed (OFBIZ-10555).
  • Removes unused labels from content (OFBIZ-9364).
  • Creates RequirementStatus record while creating or updating requirement (OFBIZ-10568).
  • Uses 'buttontext' styling for buttons inside the ListEntities table (OFBIZ-10465).
  • Redirects work effort's agreement to agreement detail page instead of agreement list page (OFBIZ-7627).
  • Introduces a new feature that allows the impersonation of a login by an authorized user (OFBIZ-10515). Also adds the documentation with all the details in security-impersonation.adoc.

Plugins

  • Shows promotions as listing instead of inline (OFBIZ-10462).
  • Replaces #assign with #local in all the ftl macros (OFBIZ-10516).
  • Renames setLocaleFromBrowser to setTimeZoneFromBrowser everywhere it is needed (OFBIZ-10472).
  • Arranges ECommerce UI Labels in alphabetic order according to best practice (OFBIZ-7325).
  • Calculates estimated shipment delivery time (OFBIZ-10372).
  • Arranges webpos UI labels in alphabetic order (OFBIZ-7320).
  • Arranges projectmgr UI labels in alphabetic order (OFBIZ-7371).
  • Arranges scrum UI labels in alphabetic order (OFBIZ-7370).
  • Arranges ebaystore UI labels in alphabetic order (OFBIZ-7280).
  • Arranges example UI labels in alphabetic order (OFBIZ-7281).
  • Arranges myportal UI labels in alphabetic order (OFBIZ-7282).
  • Arranges passport UI labels in alphabetic order (OFBIZ-7285).

Bugfixes

Functional and technical bugfixes:

Framework

  • Warning in console logs related to entity definitions (OFBIZ-10540).
  • When a user executes a search/find action in the Label Manager, and there are duplicated labels the 'Find'-button is not visible anymore (OFBIZ-10549).
  • Exceptions thrown in ConfigXMLReader during the xml parsing now incorporate the location of the failed file.
  • Warning in console logs related to entity definitions (OFBIZ-10540). Also adds a unit test for WorkEffortContactMech.
  • Orders the file log list drop-down on webtools/control/FetchLogs screen to help the search
  • Search operation on 'AssocRevisionItemView' entity causing exception. (OFBIZ-8842).
  • Broken page renders while click on Submit button (OFBIZ-7535).
  • Impersonation of userLogin feature (OFBIZ-10515).
  • Use of layered-modal with parameter does not work (OFBIZ-10511).

Plugins

  • Freemarker error on shopping list page on eCommerce storefront (OFBIZ-10459).
  • Use assign tag instead of local in Tree.ftl,as its causing data load error. Tree.ftl used in DemoTree.xml to demonstrate the entity-engine-transform-xml feature.
  • Webpos keyboard shortcut keys do not work correctly (OFBIZ-7945).
  • Cart summary section distorted after add to cart on Medium screen devices. (OFBIZ-10385).

Documentation

  • Adds content for Performance Review in Human Resources (OFBIZ-10262).
  • Creates an empty document templates for webapp socumentation (OFBIZ-10564).
  • Documents the automated authentification from a domain to another (OFBIZ-10562).
  • Adds content for Employments in Human Resources (OFBIZ-10261).
  • Adds content for Employees in Human Resources. (OFBIZ-10260).
  • Adds content for Employee Positions in Human Resources. (OFBIZ-10259).
  • Adds content details for hr-recruitment.adoc file (OFBIZ-10265).
  • Adds documentation content for qualifications in Human Resources guide (OFBIZ-10264).
  • Adds documentation content for skills in Human Resources guide (OFBIZ-10266).
  • Adds documentation content for resumes in Human Resources guide (OFBIZ-10267).
  • Adds documentation content for employee leave in Human Resources guide (OFBIZ-10269).
  • Adds documentation content for security setup in Human Resources guide (OFBIZ-10270).
  • Adds documentation content for Skill Types in Human Resources guide (OFBIZ-10271).

Monday January 14, 2019

Apache OFBiz News - August 2018

Apache OFBiz News August 2018

Welcome to our regular monthly round-up of OFBiz news. This month we have more news about a new impersonate feature that has been implemented for OFBiz as well as our usual list of features and improvements.

Impersonate Feature

One of our contributors Gil Portenseigne has proposed a new feature for OFBiz. It is called the Impersonate feature. So what does it do? And how does it work?

Imagine that someone has reported something to you such as strange OFBiz behavior and you want to help them by validating it but don't want to ask for their login details. They can instead give you permission to impersonate them in the system. This impersonation feature can be very useful when you need to validate some behavior or to assist a user in production without asking for their credentials. This type of functionality is a common feature that can help people in support roles and is a common feature that can be found for example in Gitlab.

This feature has been developed by one of our OFBiz service providers and has been contributed back to the OFBiz community and project.

"This feature became so easy to use that even in preproduction or integration environments we use it daily to impersonate specific configured userlogin without trying to remember the password... It's implemented in a very basic way;  a new permission is created and can be granted to an authorized user, that will be offered a way to select a userlogin to impersonate."

If you would like try the new impersonate feature then it is available here: OFBIZ-10515

Thanks very much to Gil Portenseigne for contributing this feature to OFBiz.

Inventory Allocation Planning

Also during this month, the community discussed a proposal to provide a feature to allocate available inventory and any future supply in a more practical way amongst existing customers orders by considering different factors like estimated delivery dates, order priority, customer preference etc.

Currently in OFBiz, as part of the inventory reservation flow, inventory gets reserved for an order based on the reservation algorithm that is specified e.g. First in First Out (FIFO,) Last in First Out (LIFO)  etc. Sometimes, the fulfillment cycle of the order takes too long, or due to some unexpected circumstances, the order holds the inventory allocation for a long time. In such scenarios, inventory availability becomes one of the major bottlenecks in fulfilling the other sales orders and businesses often are short supplied against their actual demand.

This modification will help resolve this issue. You can find out more details about this proposal, including design notes and current progress in Jira OFBIZ-10518

A big thank you to Deepak Nigam for the proposal and to everyone who contributed ideas and feedback.

New features and improvements

Functional enhancements and improvements as well as updates of third-party libraries and source code refactoring:

Framework

  • Factorizes and refactors filtering of duplicated "use-when" fields in "FormRenderer" (OFBIZ-10502).
  • Refactors FormRenderer::getFieldListsByPosition (OFBIZ-10503).
  • Refactores the MapContext object with multiple improvements (OFBIZ-10485). Removes the constructor and factory method "getMapContext" as it is redundant and does not add any value - Replaces manual for-loop for collection walking in multiple methods with simple stream calls applied declaratively with less noise in the code. - Fully removed the ListSet custom data structure with as that data structure did not serve any meaningful purpose and it is always better to rely on the java builtin data structures where possible. Construction was replaced with a HashSet instead.
  • Uses the stream API in FormRenderer (OFBIZ-10505).
  • Refactos MapContext and MapStack further (OFBIZ-10485). Renames stackList to contexts (the data structure holding the context Deque) . Refactors the size function to utilize streams to sum all keys. Implements a function "entryStream()" that returns a stream of all keys in the correct sequential order and utilizes this function in multiple functions for iterating over the keys including "containsValue", "values" and "entrySet". Re-designs the get functions of the context map to use a generic function with a functional interface "withMapContainingKey".
  • Removes all unnecessary boxing and unboxing in Java classes (OFBIZ-10504).
  • Adds the missing ASL2 license.
  • Disables DTDs for XML-RPC requests (OFBIZ-10509). Disables any doctype declarations in XML-RPC requests to OFBiz to enhance performance and security.
  • Renders different HTML container types with ScreenRenderer (OFBIZ-10495).
  • Replaces #assign with #local in all the ftl macros (OFBIZ-10516).
  • Uses input type=submit for form submission (OFBIZ-10482).
  • Changes font Title to match with the initial implementation (OFBIZ-10513).
  • Enhances Main menu (OFBIZ-10521).
  • Introduces a new favicon (OFBIZ-10522).
  • Removes org.apache.tomcat.util.net.secure_protocol_version from json output (OFBIZ-10443) and ads it to ignoreAttrs.
  • Adds method attribute to request-map to ensure that a uri can be called GET or POST only (OFBIZ-10438).
  • Removes checks to store only 250 characters of URL in VisitHandler.getVisit() & ServerHitBin.saveHit() (OFBIZ-10508).
  • Adds support to calculate deposit price as well while creating shopping cart item (OFBIZ-7482).
  • Refactors ContactMechWorker.get[Entity]ContactMechValueMaps function to improve processing speed (OFBIZ-10514).
  • Improves NL labels in OrderUiLabels.xml (OFBIZ-10543).
  • Removes extra unused code to set the fromDate to avoid duplicate PK in case of mysql. As mysql added support to store Fractional Seconds in Time Values, this has been fixed under (OFBIZ-9337).
  • Removes comment from ServerHitBin.java related to mysql Fractional Seconds related issue, this issue fixed under (OFBIZ-9337).

Bugfixes

Functional and technical bugfixes:

Framework

  • File transfer management with communicationEvent and new contactMech FTP_ADDRESS (OFBIZ-10245)
  • Initial set of hasLoggedOut flag when logging in (OFBIZ-10506).
  • Use of layered-modal with parameter does not work (OFBIZ-10511).
  • Update Apache Tomcat to 9.0.10 because of CVE-2018-8037 (OFBIZ-10517). If an async request was completed by the application at the same time as the container triggered the async timeout, a race condition existed that could result in a user seeing a response intended for a different user. An additional issue was present in the NIO and NIO2 connectors that did not correctly track the closure of the connection when an async request was completed by the application and timed out by the container at the same time.
  • Code duplication in main rainbowstone less file.
  • Build scripts for plugins are not executing.
  • New Payment Group can not be created (OFBIZ-10523).
  • Fix Default or Empty Catch block in Java and Groovy files (OFBIZ-8341).
  • Escape null pointer exception on ShipmentWorker.calcPackageWeight when a product haven't a productWeight value.
  • Add method attribute to request-map to controll a uri can be called GET or POST only (OFBIZ-10438).

Plugins

  • Not able to select Virtual Product in WebPos (OFBIZ-7719).
  • Party Search doesn't consider Billing Address and Shipping Address checkbox in WebPos (OFBIZ-7709).
  • Could not find simple-method createWorkEffortSkillStandard as it was called as simple method and it is converted to entity-auto service (OFBIZ-10524).
  • Search in Ecommerce no longer works (OFBIZ-10531).
  • Java object rendering on billing section of one page anonymous checkout process (OFBIZ-10425).

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation