#921 Removal of a Address item in the Entity/Address info fails

1.4
closed-fixed
None
5
2014-01-17
2013-12-14
No

Removal of an item in Contact info (by clicking the Delete button) results in:

Error!

Attribute (city) is required at constructor LedgerSMB::Entity::Location::new (defined at LedgerSMB/Entity/Location.pm line 280) line 37
LedgerSMB::Entity::Location::new('LedgerSMB::Entity::Location', '_script_handle', 'LedgerSMB::Scripts::contact', 'session_id', 100, 'warn_expire', 0, 'have_latex', 1, 'dbversion', 1.4.0, 'stylesheet', 'ledgersmb.css', '_user', 'LedgerSMB::User=HASH(0xb440d60)', 'company', 'efficito', 'credit_id', 8, 'script', 'contact.pl', ...) called at LedgerSMB/Scripts/contact.pm line 603 LedgerSMB::Scripts::contact::delete_location('LedgerSMB=HASH(0xb090610)') 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(0xb446e2c)', 'Try::Tiny::Catch=REF(0xb3549f8)') called at lsmb-request.pl line 119 LedgerSMB::Handler::call_script('contact.pl', 'LedgerSMB=HASH(0xb090610)') called at lsmb-request.pl line 84 require lsmb-request.pl called at /usr/local/lsmb/contact.pl line 8

Discussion

  • Chris Travers

    Chris Travers - 2014-01-17
    • summary: Removal of a contact item in the Entity/Contact info fails --> Removal of a Address item in the Entity/Address info fails
     
  • Chris Travers

    Chris Travers - 2014-01-17
    • assigned_to: Chris Travers
     
  • Chris Travers

    Chris Travers - 2014-01-17
    • status: open --> closed-fixed
     
  • Chris Travers

    Chris Travers - 2014-01-17

    svn 6498