BEXIS2 / Core

This is the public code repository of the BEXIS2 data management software. It contains only modules, components, and packages of the core system. Contributed modules and components will be available in separate repositories. For more information on BEXIS2, please visit our website.
https://bexis2.github.io/
17 stars 13 forks source link

Changes in party designs are back after updating the BEXIS2.12.1 #215

Closed navabpourn closed 4 years ago

navabpourn commented 5 years ago

Describe the bug I installed the BEXIS2.12.0 and changed the party designs. It means I changed, for example, the list of information that a user should fill in the registration time. After updating to BEXIS2.12.1 on Friday 30.11.2018 the changes on person additional attributes are gone.

Expected behavior I would like to keep changes even after updating.

Actual behavior

Additional context It is maybe relevant that I did not get an email notification from the last user registration.

Here is the modified file: PartyTypes.zip

sventhiel-zz commented 5 years ago

Hi @navabpourn,

Are you sure, that you are using the correct PartyTypes.xml within your workspace?

navabpourn commented 5 years ago

Hi @sventhiel, Yes, I am using the modified file. I reinstall also the BAM.

sventhiel-zz commented 5 years ago

Hi @navabpourn,

so obviously the party types are different - for some reason. Because otherwise the form after registration should be the same like before the patch. So...,

1.) How does the database look like (schema and data)? 2.) Does the form belong to a previous version of the party types or are just some properties gone? 3.) Is the workspace path inside the web.config correct?

If some of the answers would contain sensitive data, please send me an email.

Best regards Sven

navabpourn commented 5 years ago

Dear @sventhiel ,

The party types are not changed, but some information that I deleted from the party attributes are added to the partycustomerattribute table. Here are two screenshots:

Before: partycustomattributes_old

and after update: partycustomattributes_new

I will send you extra information by email.

Yours, Nafiseh

sventhiel-zz commented 5 years ago

Hi @navabpourn,

I checked the file "PartyTypes.xml" which is delivered with BEXIS2 (e.g. BEXIS2 v2.12.1) roughly. This file contains "exactly" the same properties, that are now inside your table "partycustomattributes".

As I mentioned before,

Are you sure, that you are using the correct PartyTypes.xml within your workspace?

So it seems, that you started BEXIS2 with that PartyTypes.xml and replaced it later on with yours. But at that time, the table was already created and filled. Copying the file after initialization doesn't work.

Best regards Sven

navabpourn commented 5 years ago

Dear @sventhiel ,

In the updating time, I did not create a new database. I used a backup from the old version. But I reinstalled the BAM when the old PartyTypes.xml was inside the BAM folder. It should not change the attributes, as I know.

Anyway, thank you very much for your explanation.

Best regards, Nafiseh

sventhiel-zz commented 5 years ago

But it seems, that the default PartyTypes.xml (delivered with BEXIS2) was inside the workspace you were using at:

So, I am really sorry, but because of the similarity of properties, these are the only possible reasons.

Best regards Sven

sventhiel commented 4 years ago

@navabpourn, was it possible for you in the meantime to verify the reason for that issue?

navabpourn commented 4 years ago

Dear @sventhiel, If I remember correctly we had discussed this issue. The problem happens when a party attribute is deleted. The new installation or reinstall the BAM add deleted attributes again.

DavidBlaa commented 4 years ago

is releated to #227 and fixed