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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048727
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Intrastatmajoralways2022-03-07 13:052022-03-25 14:23
ReportermgonzalezhView Statuspublic 
Assigned Topsanjuan 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0048727: Intrastat Null Pointer Exception when a Business Partner TaxId is empty

DescriptionWhen trying to generate the Intrastat file, if one of the Business Partners included in it does not have information in the TaxId field, a Null Pointer Exception error is displayed and the file is not generated.
Steps To Reproduce1- Create a Business Partner and leave the TaxId field empty.
2- Generate a Sales Invoice with a tax range associated with the Intrastat.
3- Generate and process the Intrastat declaration.
4- Generate the file.
Proposed SolutionAn intuitive error message needs to be shown by informing the user that a given customer (Customer Name) does not have Tax ID info configured.
In English: The value of the Tax ID field is empty for the business partner with Search Key ...
In Spanish: El valor del campo CIF/NIF se encuentra vacĂ­o para el tercero con Identificador ...

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0047958 closedmgonzalezh New Intrastat File design for Intrastat 2022 

-  Notes
(0136003)
hgbot (developer)
2022-03-25 01:03

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat/-/merge_requests/8 [^]
(0136004)
hgbot (developer)
2022-03-25 01:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.es_ES/-/merge_requests/3 [^]
(0136005)
hgbot (developer)
2022-03-25 01:05

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.spain/-/merge_requests/5 [^]
(0136062)
hgbot (developer)
2022-03-25 14:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat [^]
Changeset: d2a6f0b0aa2791fcda097a554ef3de6af19d3d37
Author: Maykel Gonzalez <maykel.gonzalez@smfconsulting.es>
Date: 24-03-2022 19:01:56
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat/-/commit/d2a6f0b0aa2791fcda097a554ef3de6af19d3d37 [^]

Fixes ISSUE-48727: Avoid Null Pointer Exception when a Business Partner TaxId is empty

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/intrastat/exception/IntrastatException.java
M src/org/openbravo/module/intrastat/exception/IntrastatExceptionHandler.java
---
(0136063)
hgbot (developer)
2022-03-25 14:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat/-/merge_requests/8 [^]
(0136064)
hgbot (developer)
2022-03-25 14:22

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.es_ES [^]
Changeset: f2d968561e42e22de4672218b6c6dc5a7c3530c6
Author: Maykel Gonzalez <maykel.gonzalez@smfconsulting.es>
Date: 24-03-2022 19:03:46
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.es_ES/-/commit/f2d968561e42e22de4672218b6c6dc5a7c3530c6 [^]

Fixes ISSUE-48727: Avoid Null Pointer Exception when a Business Partner TaxId is empty

---
M referencedata/translation/AD_MESSAGE_TRL_es_ES.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0136065)
hgbot (developer)
2022-03-25 14:22

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.es_ES/-/merge_requests/3 [^]
(0136066)
hgbot (developer)
2022-03-25 14:23

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.spain [^]
Changeset: c4526da9aa9845f8919ddc143b7c2cafd56421d0
Author: Maykel Gonzalez <maykel.gonzalez@smfconsulting.es>
Date: 24-03-2022 19:04:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.spain/-/commit/c4526da9aa9845f8919ddc143b7c2cafd56421d0 [^]

Fixes ISSUE-48727: Avoid Null Pointer Exception when a Business Partner TaxId is empty

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/module/intrastat/spain/ProcessAndGenerateIntrastat_Spain.java
---
(0136067)
hgbot (developer)
2022-03-25 14:23

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.intrastat.spain/-/merge_requests/5 [^]

- Issue History
Date Modified Username Field Change
2022-03-07 13:05 mgonzalezh New Issue
2022-03-07 13:05 mgonzalezh Assigned To => Jorge Bravo
2022-03-07 13:06 Jorge Bravo Assigned To Jorge Bravo => psanjuan
2022-03-07 13:22 mgonzalezh Relationship added caused by 0047958
2022-03-22 14:45 psanjuan Proposed Solution updated
2022-03-22 23:21 mgonzalezh Proposed Solution updated
2022-03-25 01:03 hgbot Note Added: 0136003
2022-03-25 01:04 hgbot Note Added: 0136004
2022-03-25 01:05 hgbot Note Added: 0136005
2022-03-25 14:22 hgbot Resolution open => fixed
2022-03-25 14:22 hgbot Status new => closed
2022-03-25 14:22 hgbot Note Added: 0136062
2022-03-25 14:22 hgbot Note Added: 0136063
2022-03-25 14:22 hgbot Note Added: 0136064
2022-03-25 14:22 hgbot Note Added: 0136065
2022-03-25 14:23 hgbot Note Added: 0136066
2022-03-25 14:23 hgbot Note Added: 0136067


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker