[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[6900] branches/1.3
- Subject: SF.net SVN: ledger-smb:[6900] branches/1.3
- From: ..hidden..
- Date: Wed, 26 Feb 2014 15:01:49 +0000
Revision: 6900
http://sourceforge.net/p/ledger-smb/code/6900
Author: einhverfr
Date: 2014-02-26 15:01:49 +0000 (Wed, 26 Feb 2014)
Log Message:
-----------
fix for 1028, internal server error saving part without updating
Modified Paths:
--------------
branches/1.3/Changelog
branches/1.3/LedgerSMB/IC.pm
branches/1.3/bin/ic.pl
Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog 2014-02-26 15:00:22 UTC (rev 6899)
+++ branches/1.3/Changelog 2014-02-26 15:01:49 UTC (rev 6900)
@@ -5,6 +5,7 @@
Changelog for 1.3.39
* Fixed Internal Server Error clicking through ar/ap report (Chris T, 1022)
* Fixed internal server error deleting part (Chris T, 1027)
+* Fixed Internal server error saving part with all vendor rows (Chris T, 1028)
Changelog for 1.3.38
* Fixed AR/AP transactions resetting currency/exchange rate (Chris T)
Modified: branches/1.3/LedgerSMB/IC.pm
===================================================================
--- branches/1.3/LedgerSMB/IC.pm 2014-02-26 15:00:22 UTC (rev 6899)
+++ branches/1.3/LedgerSMB/IC.pm 2014-02-26 15:01:49 UTC (rev 6900)
@@ -1,4 +1,3 @@
-
=head1 NAME
LedgerSMB::IC - Inventory Control backend
Modified: branches/1.3/bin/ic.pl
===================================================================
--- branches/1.3/bin/ic.pl 2014-02-26 15:00:22 UTC (rev 6899)
+++ branches/1.3/bin/ic.pl 2014-02-26 15:01:49 UTC (rev 6900)
@@ -3615,6 +3615,11 @@
$olditem = $form->{id};
+ check_vendor();
+ check_customer();
+ $form->{vendor_rows} += 1 if $form->{"vendor_$form->{vendor_rows}"};
+ $form->{customer_rows} += 1 if $form->{"customer_$form->{customer_rows}"};
+
# save part
$rc = IC->save( \%myconfig, \%$form );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits