Donate Share

webERP web-based ERP Accounting

Tracker: Bugs

9 No submit button for new stock category - ID: 1772050
Last Update: Comment added ( daintree )

There appears to be a bug near line 486 in StockCategories.php revision 1.9
in WebERP 3.07. The line of code for the submit button:

echo '<CENTER><input type="Submit" name="submit" value="' . _('Enter
Information') . '">';

is now included in the if (isset($SelectedCategory)) { block whereas in
revision 1.8 it was not. The change means that the button only appears if a
category is selected for edit, not if you want to add a new category. Since
there doesn't appear to be any other way of adding a new category, this
appears to be a bug. I see that revision 1.9 was added on Aug 5 2007, only
3 days before WebERP 3.07 was released. Perhaps it was inadvertently added
before the new release, or perhaps testing was inadvertently overlooked.

When I encountered the bug I looked for a prior stable release but couldn't
find one. I see the WebERP demo is 3.06. It would be nice if at least the
release before the current one was available for download. If a release has
been out for a while users can see that it is likely to be stable. If a
stable release is available and a new release has been out only 3 days,
then not only do users have the choice of a stable version if they want,
but they also have a stable version to fall back on if the latest has any
problems.

Apart from this the software looks pretty well designed and high quality -
well done!

Regards

Graham


Graham ( grahamch ) - 2007-08-11 00:15

9

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2007-08-13 09:56
Sender: daintreeProject Admin


Many thanks for this .... have released a 3.071 version with this fix and
the stock categories adding bug squashed.

Phil


Date: 2007-08-12 03:50
Sender: grahamch


I fixed it by just moving the line containing the submit button from
inside the if isset($SelectedCategory)) { block to after it so that it
covers both cases.

Graham


Date: 2007-08-12 02:59
Sender: nobody

Logged In: NO

b
My wife told me you should do this after line 409 from
StockCategories.php
------------------------------------------------------------

//http://sourceforge.net/tracker/index.php?func=detail&aid=1772050&group_id=70949&atid=529585
echo '<input type=hidden name="PropertyCounter" value=' .
$PropertyCounter . '>';

echo '<CENTER><input type="Submit" name="submit" value="' .
_('Enter Information') . '">';
// My little contrib

-----------------------------------------------

Thanks


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-08-13 09:56 daintree
resolution_id None 2007-08-13 09:56 daintree
priority 5 2007-08-13 09:56 daintree
close_date - 2007-08-13 09:56 daintree