Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053950
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-11-15 17:062023-11-16 15:22
ReporterMarkel_IruretagoyenaView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in Version24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053950: [23Q4] After creating a new customer from the POS this customer is not stored in the back office

DescriptionAfter creating a new customer from the POS, it will appear at the POS as it should, but will not be saved in the back office, so when the cache is cleared, this new user will no longer be available.

Also when creating the customer an entry appears in the back office window "errors while importing" with the following error message:

org.openbravo.base.validation.ValidationException: BusinessPartner.businessPartnerType: Property BusinessPartner.businessPartnerType, value () is not allowed, it should be one of the following values: [PR, PS, CO, FC] but it is value
    at org.openbravo.base.model.domaintype.BaseEnumerateDomainType.checkIsValidValue(BaseEnumerateDomainType.java:64)
    at org.openbravo.base.model.Property.checkIsValidValue(Property.java:827)
    at org.openbravo.base.structure.BaseOBObject.set(BaseOBObject.java:274)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:128)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:34)
Steps To Reproduce1- Login in POS as vallblanca
2- Go to the Customers window and click on the "New Customer" button
3- Fill in all the fields necessary for the creation and click on "SAVE AND ASSIGN"
4- You will see that the new user is at the top of the ticket

Login to the Backoffice and open the "Business Partner" window. You will see your new user does not exist.

Also when creating the customer an entry appears in the back office window "errors while importing" with the following error message:

org.openbravo.base.validation.ValidationException: BusinessPartner.businessPartnerType: Property BusinessPartner.businessPartnerType, value () is not allowed, it should be one of the following values: [PR, PS, CO, FC] but it is value
    at org.openbravo.base.model.domaintype.BaseEnumerateDomainType.checkIsValidValue(BaseEnumerateDomainType.java:64)
    at org.openbravo.base.model.Property.checkIsValidValue(Property.java:827)
    at org.openbravo.base.structure.BaseOBObject.set(BaseOBObject.java:274)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:128)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:34)



5- Go back to the POS, clean the cache of that browser and login again
6- After the refresh go to the Customers window

Note that the user you just created is no longer available.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to backport 005372723Q4 closedjayala [23Q4] After creating a new customer from the POS this customer does not appear in the POS 
depends on backport 005395723Q4.1 closedguilleaer [23Q4] After creating a new customer from the POS this customer is not stored in the back office 

-  Notes
(0157202)
hgbot (developer)
2023-11-16 11:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2239 [^]
(0157237)
hgbot (developer)
2023-11-16 15:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 455106c9fd3126eb241b5965c17ed2ad9828d09b
Author: Guillermo Alvarez de Eulate <guillermo.alvarez@openbravo.com>
Date: 16-11-2023 14:22:53
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/455106c9fd3126eb241b5965c17ed2ad9828d09b [^]

fixed ISSUE-53950: Business Partner type is now defaulted to null to avoid error when processing on the backoffice

---
M web-jspack/org.openbravo.pos2/src/services/crm/OBCustomerRelationshipManagement.js
---
(0157238)
hgbot (developer)
2023-11-16 15:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2239 [^]

- Issue History
Date Modified Username Field Change
2023-11-15 17:06 Markel_Iruretagoyena New Issue
2023-11-15 17:06 Markel_Iruretagoyena Assigned To => Retail
2023-11-15 17:06 Markel_Iruretagoyena Triggers an Emergency Pack => No
2023-11-15 17:07 Markel_Iruretagoyena Relationship added related to 0053727
2023-11-16 10:41 Markel_Iruretagoyena Description Updated View Revisions
2023-11-16 10:41 Markel_Iruretagoyena Steps to Reproduce Updated View Revisions
2023-11-16 11:38 guilleaer Assigned To Retail => guilleaer
2023-11-16 11:38 guilleaer Status new => scheduled
2023-11-16 11:46 hgbot Note Added: 0157202
2023-11-16 15:22 hgbot Resolution open => fixed
2023-11-16 15:22 hgbot Status scheduled => closed
2023-11-16 15:22 hgbot Fixed in Version => 24Q1
2023-11-16 15:22 hgbot Note Added: 0157237
2023-11-16 15:22 hgbot Note Added: 0157238


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker