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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053957
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[POS2] POSmajoralways2023-11-15 17:062023-11-16 15:23
ReporterMarkel_IruretagoyenaView Statuspublic 
Assigned Toguilleaer 
PrioritynormalResolutionfixedFixed in Version23Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version23Q4.1
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

0053957: [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 ]
blocks defect 0053950 closedguilleaer [23Q4] After creating a new customer from the POS this customer is not stored in the back office 

-  Notes
(0157203)
hgbot (developer)
2023-11-16 12:34

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

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2240 [^]
(0157240)
hgbot (developer)
2023-11-16 15:23

Directly closing issue as related merge request is already approved.

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

fixed ISSUE-53957: 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
---

- Issue History
Date Modified Username Field Change
2023-11-16 11:38 guilleaer Type defect => backport
2023-11-16 11:38 guilleaer Target Version => 23Q4.1
2023-11-16 12:34 hgbot Note Added: 0157203
2023-11-16 15:23 hgbot Resolution open => fixed
2023-11-16 15:23 hgbot Status scheduled => closed
2023-11-16 15:23 hgbot Note Added: 0157239
2023-11-16 15:23 hgbot Fixed in Version => 23Q4
2023-11-16 15:23 hgbot Note Added: 0157240


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker