Menu

#1380 Errors not handled graceful enough

1.4
closed-fixed
nobody
None
1.4
5
2015-08-09
2015-06-29
No

What permissions are necessary to mark an account as obsolete?
I get:

Access Denied
More information has been reported in the error logs at LedgerSMB.pm line
776.

dbversion: 1.4.12, company: sswbooks

*If nothing else, I wish this was a lot more graceful a reply.*

PL/pgSQL function "accountsave" line 29 at SQL statement at LedgerSMB.pm
line 586.
2015/06/29 14:58:47 - ERROR - LedgerSMB::dberror LedgerSMB.pm (773) --
Logging SQL State 42501, error 7, string ERROR: permission denied for
relation account_link
CONTEXT: SQL statement "DELETE FROM account_link
WHERE account_id = in_id
and description in ( select description
from
account_link_description
where custom = 'f')"
PL/pgSQL function "account
save" line 29
at SQL statement
2015/06/29 14:58:47 - ERROR - LedgerSMB::_error LedgerSMB.pm (650) -- Access
Denied
More information has been reported in the error logs at LedgerSMB.pm line
776.
2015/06/29 14:58:47 - ERROR - LedgerSMB::_error LedgerSMB.pm (651) --
dbversion: 1.4.12, company: sswbooks
Died at LedgerSMB.pm line 664.
Compilation failed in require at /usr/share/ledgersmb/account.pl line 8.

Discussion

  • Anonymous

    Anonymous - 2015-08-09
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2015-08-09

    Fixed in 1.4.13