jpos / jPOS

jPOS Project
http://jpos.org
GNU Affero General Public License v3.0
607 stars 460 forks source link

Subfield not unset if only non bitmap field is removed #447

Open mukyz opened 2 years ago

mukyz commented 2 years ago

https://github.com/jpos/jPOS/blob/a2d7eaed46e500adbd443e16ed7805147e2a10d4/jpos/src/main/java/org/jpos/iso/ISOMsg.java#L404

!m.hasFields() returns false even if all fields are removed and the only one left is an empty bitmap field

ar commented 2 years ago

Can you provide a test case or code example to simulate this problem?