Bug in OfbizSetup Create Customer Step


#1

https://issues.apache.org/jira/browse/OFBIZ-7797

Please refer to the above link. Seems like your version has the same issue. And you have added another new screen after that first step of creating new organisation, and that step has an exception thrown.


#2

Hey dereklew, thanks for reporting the bug to us. I will try to reproduce the error and get back at you asap. I’m assuming here that you firstly loaded the instance with extseed data, is that correct?


#3

Yes. Loaded with extseed, creating new organisation.


#4

Here’s a patch for the errors you reported and some others I found and fixed. You should be able to setup the basics now. Let me know If you find any other error, I’ll be glad to help you.
ofbizsetup_changes.diff (9.0 KB)
Be aware that this webapp is going to be replaced by a proper setup wizard soon.

Thanks again for reporting this.


#5

Thanks. How do I load this patch in?


#6

Hi Derek,

there is a git command you should be able to run (from your root directory type):

git apply ofbizsetup_changes.diff

It is possible that you will have to merge the changes, in which case you must add “-3” as a parameter. The entire process is fairly well document in the reply here:

Hope that helps,
Paul


#7

I just noticed that the diff file may not be of use for you, as it was created with our local branch. So if you have any problems applying the changes, let us know, so that we can guide you through.


#8

Yup, the apply does not work for me.


#9

We feared as much, we have an update of the git repository scheduled for today, so I guess it is easier to update right there-after.

We will let you know, once we updated :slight_smile:


#10

Hello Derek.
We have updated the git repo, including the fix. I suggest to ‘git pull’ on the branch and try again.
Thank you


#11

(INSERT on table ‘POSTAL_ADDRESS’ caused a violation of foreign key constraint ‘POST_ADDR_SPGEO’ for key (Y). The statement has been rolled back.)). Rolling back transaction.


#12

Good evening Derek,
We’ve pushed several more fixes (a few stock bugs and more) to git just now, notably issues with the state drop-downs.
Thank you


#13

Thanks, it is working now.