Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 43 Next »

This a sequential list of revision updates which need additional activities in order to successfully upgrade the revision of your production installation.

If you are upgrading an existing system, be prepared to run the following commands in the ofbiz home directory:

  • svn up
  • ./ant clean
  • ./ant run-install-seed
  • ./startofbiz.sh

These are data model changes that usually involve deprecating an entity or field and
replacing it with a new one. Committers should follow the pattern described here to make things easier for end-users: Deprecated Entities

If the pattern described there is used then end-users will simply have to update OFBiz, run it on a server that is not publicly accessible, let OFBiz do the automatic database table changes (ie add tables and columns for new entities and fields), and then run the series of services described here between the revision they were using, and the revision they are updating to.

If you are an end-user and a committer has done something that does not allow you to follow this simple set of steps, please contribute something better, or at the very least complain so committers will better understand your needs.

Committers should make an entry in this list if your revision causes a need for any manual data migration or other update steps in production instances:

  1. A file change which need additional unload/reload/convert activities
  2. Any tables which can be deleted(dropped) because they are not used anymore.
  3. Any other required activity to keep your production site operational

R587127:refactored party content

  1. export the content of entity: PartyContent
  2. add the fields partyContentTypeId and fromDate to the exported file
  3. upgrade and restart the system.
  4. Import the exported file

R643847:Rename FeaturePrice entity to ProductFeaturePrice

  1. export the content of the entity with webtools export.
  2. rename the entityname in the exported file
  3. upgrade and restart the system.
  4. Import the exported file

R673842:Fixed Asset Meter refactor

  1. Run the migrateFixedAssetMaintMeter service from WebTools (no parameters needed).
  2. Check to make sure all data was transferred from FixedAssetMaintMeter to FixedAssetMeter.
  3. Drop the FixedAssetMaintMeter table.

R686731:Add support of fromDate & thruDate in CustRequestRole entity

  1. after upgrade run the service 'migrateCustRequestRole' to copy the current data to the new table.

R688741:Add currency to PartyRate entity

  1. export the content of the entity with webtools export.
  2. add the currency to the exported file.
  3. drop the table
  4. upgrade and restart the system.
    5. Import the exported file

R690360 Remove taxCategory, taxVatCode and taxDutyCode fields from Product entity and all things related

R691362 Fix an issue in artifactInfo reported on user ML

R691380 Some changes related to GeoPoint have slipped in in r691362

  1. Drop the SimpleTaxLookup from you production DB (subsidiary as it's probably already not used)
  2. upgrade to at least R691380 and restart the system.

R712366 http://svn.eu.apache.org/viewvc?view=rev&revision=712366

  1. Export the UserPrefGroupType entity with webtools export - NB The export needs to be done before you upgrade otherwise the userPrefTypeId will not be included in the export
  2. Change the field userPrefTypeId to userPrefGroupTypeId in the exported data file.
  3. Drop the UserPrefGroupType table.
  4. Upgrade and restart the system.
  5. Import the exported file.

R72889# Rate refactoring

if there is not much data in the tables below we advise you to re-enter these by hand otherwise:

  1. Unload (with webtools) the WorkEffortAssignmentRate, EmplPositionTypeRate and PartyRate entities, before upgrading
  2. upgrade and reload the seed data,
  3. restart the system
  4. reload, if required the above mentioned tables.

R754604 my portal update http://svn.apache.org/viewvc?rev=754604&view=rev

Go to webtools and delete the all records from entity PortalPagePortlet where PortalPagePortletId = "mycommunications" or "otherCommunications"

R759853, 762232 drop entity Portlet_PortLet_Category and Portlet_Category portal_page_column,  portal_page_portlet and portal_page and reload these from seed data.

R765862: any users which have the theme set in userPreferences set to "DEFAULT", the record should be deleted.

R766426

alter table WEB_SITE drop VISUAL_THEME_SET
drop table Visual_Theme_Resource, Visual_Theme,VISUAL_THEME_SET
and then reload from seed data

R767278 PaymentGatewayPayflowPro and PaymentGatewayClearCommerce password encrypted.

ALTER TABLE Payment_Gateway_Payflow_Pro ADD COLUMN new_pwd VARCHAR(255)
ALTER TABLE Payment_Gateway_Payflow_Pro DROP COLUMN pwd
RENAME COLUMN Payment_Gateway_Payflow_Pro.new_pwd TO pwd
UPDATE Payment_Gateway_Payflow_Pro SET pwd = null

ALTER TABLE Payment_Gateway_Clear_Commerce ADD COLUMN new_pwd VARCHAR(255)
ALTER TABLE Payment_Gateway_Clear_Commerce DROP COLUMN pwd
RENAME COLUMN Payment_Gateway_Clear_Commerce.new_pwd TO pwd
UPDATE Payment_Gateway_Clear_Commerce SET pwd = null
execute an ant run-install-seed

R785872: go to webtools -> Entity Data Maintenance and edit entity PortalPagePortlet

portalPageId=MYPORTAL_EMPLOYEE delete entry:
    portalPortletId=NCOM_CUST_REQUESTS
    portalPortletId=MyCommunications
remove the the same portalPortId's on portalpage=MYPORTAL_EMPL-NOEML
execute an ./ant run-install-seed

R827914:Add support of fromDate & thruDate in WorkEffortContactMech entity

After upgrade run the service 'migrateWorkEffortContactMech' to copy the current data to the new table.

R883140: AgreementWorkEffortAppl entity relation types change

  1. Upgrade and restart the system.
  2. Run the migrateAgreementWorkEffortAppl service from WebTools.
  3. Check to make sure all data was transferred from OldAgreementWorkEffortAppl to AgreementWorkEffortApplic.
  4. Drop the AgreementWorkEffortAppl table.

R929912: deprecate squareFootage and replace it by facilitySize (type fixed-point) and facilitySizeUomId

This script should be run intially to move values from square_footage to facility_size and set the Uom
UPDATE Facility SET facility_size=square_footage;
UPDATE Facility SET facility_size_uom_id='AREA_ft2';
then the square_footage column might be removed
ALTER TABLE Facility DROP COLUMN square_footage;

R935969: Production run cost formulae are cloned when a production run is created OFBIZ-3724

If you have open production runs before the upgrade then production run costs will not be computed when the order is finalized; in fact, after the upgrade the system will clone WorkEffortCostCalc from the routing definition to the production run and will only consider the cloned records when the production run is finalized.

R1076507 Reorganization of product images.

Before doing this upgrade, make a backup of your framework/images/webapp/images directory because the existing subdirectories will be deleted because of a reorganization. After the upgrade if you restore these dictories your system will work again and images can be found. Mor info at: https://issues.apache.org/jira/browse/OFBIZ-4194

  • No labels