WebShop/UnderDevelopment/OfBiz/VersionUpgrade

This page is for ofbiz developers and users

Upgrading the OfBiz code

We use

Ofbiz version in use is tag 3.2.0

That means


Inventory Problems Solved - fixed now.

I finally took the time to subscribe to their list. I made a [ report] and sent them the relevant exported XML records. Guess what: it was fixed within an hour ! No comments.

The rest is history

After serious problems we decided to drop all the inventory records.

Probably semantics changed somewhat.

Currently all the (newly entered) variances can be listed, but

To prevent incompatibilities while importing data I excluded these:


Previous attempt to import inventory - note that we don't care about loosing inventory data any more. We just want to use ofbiz and enter inventory from ground up. But other important data should not be lost (Visits and other secondary entities are also not important to migrate).

For future, I would still care what would be the proper way to upgrade with keeping Inventory data.

Examine if this entity XML OK, or a different format is needed for recent ofbiz:\nÿ1ÿ

we also have physical inventory records like:\nÿ2ÿ


Foreign key problems during import - solved

Circular dependencies - these are the cause the foreign key problems


Primary key problems - under investigation.

Suspicion is that holes in the primary key sequences (that can happen when deleting entities; also I dropped some entities at an earlier import) confuse the pk-generation.

Here is a pk () issue when adding a simple phone number type contact to a party:\nÿ3ÿ

After reposting the form several times once it just worked - misterious. Sly and Marcell experienced the same. Maybe simultaneous access caused the problem (pk-generation returned the same for both visitors?). We only have one ofbiz. instance.


Earlier problems: learn from these


See