Menu

#1155 1.4 Saving bank account for vendor error message, remark did not save

1.4
closed-fixed
None
9
2014-06-07
2014-05-25
No

Values entered as shown here:
HUBUD01 12345678-12345678-12345678 main account

I got the following error as shown below, but when I checked this vendor, I got the record contains the SWIFT and account number, but Remark was empty.

Error!

Attribute (iban) is required at constructor LedgerSMB::Entity::Bank::new (defined at LedgerSMB/Entity/Bank.pm line 150) line 51
LedgerSMB::Entity::Bank::new('LedgerSMB::Entity::Bank=HASH(0x4c328b8)', 'entitysave_bank_account', 1, 'dbh', 'DBI::db=HASH(0x2ef0ab0)') called at LedgerSMB/Entity/Bank.pm line 125 LedgerSMB::Entity::Bank::save('LedgerSMB::Entity::Bank=HASH(0x4c328b8)') called at LedgerSMB/Scripts/contact.pm line 678 LedgerSMB::Scripts::contact::save_bank_account('LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 108 LedgerSMB::Handler::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0xcba898)', 'Try::Tiny::Catch=REF(0x2ef06c0)') called at lsmb-request.pl line 120 LedgerSMB::Handler::call_script('contact.pl', 'LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 84 require lsmb-request.pl called at constructor LedgerSMB::Entity::Bank::new (defined at LedgerSMB/Entity/Bank.pm line 150) line 51 LedgerSMB::Entity::Bank::new('LedgerSMB::Entity::Bank=HASH(0x4c328b8)', 'entitysave_bank_account', 1, 'dbh', 'DBI::db=HASH(0x2ef0ab0)') called at LedgerSMB/Entity/Bank.pm line 125 LedgerSMB::Entity::Bank::save('LedgerSMB::Entity::Bank=HASH(0x4c328b8)') called at LedgerSMB/Scripts/contact.pm line 678 LedgerSMB::Scripts::contact::save_bank_account('LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 108 LedgerSMB::Handler::ANON() called at /usr/share/perl5/Try/Tiny.pm line 76 eval {...} called at /usr/share/perl5/Try/Tiny.pm line 67 Try::Tiny::try('CODE(0xcba898)', 'Try::Tiny::Catch=REF(0x2ef06c0)') called at lsmb-request.pl line 120 LedgerSMB::Handler::call_script('contact.pl', 'LedgerSMB=HASH(0x1ea7828)') called at lsmb-request.pl line 84 require lsmb-request.pl called at /opt/dev/stock14/contact.pl line 8

dbversion: 1.4.0, company: stock14

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2014-05-31
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Values entered as shown here:
     HUBUD01       12345678-12345678-12345678             main account
    
    • Priority: 5 --> 9
     
  • Chris Travers

    Chris Travers - 2014-06-07

    I have reproduced this and noticed that also can't delete bank accounts. I expect this to be fixed today or tomorrow.

     
  • Chris Travers

    Chris Travers - 2014-06-07
    • status: open --> closed-fixed
    • assigned_to: Chris Travers