Luke | 2 Jan 22:32 2010

Seriousness of bug in 1.2.18

Hello

I know that no developers probably want to be bothered with non 1.3 
issues, but this one is annoying, and I am concerned that it might either 
have side effects that are serious, or might be the result of something 
serious.

Steps to replicate:

1.  AP -> Add transaction.
2.  Choose a pristine vendor.
3.  Enter an item.  You may need to do so with a dollar and cents amount, 
but a whole dollar amount probably works as well.
4.  Enter a payment in the payments section, exactly balancing the above 
entered debt.
5.  Click update.

At which point, you should see something like this:

"
       Vendor [__United States Postal Service_________]

              Credit Limit 0 Remaining NaN
"

The problem is the "NaN", of course--that should not be, and I don't know 
why it is.

I don't really give a fig about credit limits for vendors in my business, 
but it doesn't mean that nobody else does; and as I said, it might be part 
(Continue reading)

Paul Wrightson | 13 Jan 20:45 2010

AUTH SMTP and TLS

Hi guys,
There was some discussion a while ago about authenticated SMTP. I think someone posted a solution using a
sendmail replacement.
I - of course - went a different route.
I modified Mailer.pm to use Net::SMTP::TLS to connect to the Submission (587 TLS) port of my mail server,
authenticate and send mail from the AR "email" and "recurring transactions" sections.
Its a bit of a hack - and I did have to patch a know bug in the latest Net::SMTP::TLS - I would be happy to tidy it up
a bit and post it if anyone would like to try it.

Paul W

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Chris Travers | 14 Jan 19:07 2010

Re: AUTH SMTP and TLS

If the patch is clean and works, maybe we can put it in addons.
Please submit it here.

On Wed, Jan 13, 2010 at 11:45 AM, Paul Wrightson <paul@...> wrote:
> Hi guys,
> There was some discussion a while ago about authenticated SMTP. I think someone posted a solution using a
sendmail replacement.
> I - of course - went a different route.
> I modified Mailer.pm to use Net::SMTP::TLS to connect to the Submission (587 TLS) port of my mail server,
authenticate and send mail from the AR "email" and "recurring transactions" sections.
> Its a bit of a hack - and I did have to patch a know bug in the latest Net::SMTP::TLS - I would be happy to tidy it
up a bit and post it if anyone would like to try it.
>
> Paul W
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Ledger-smb-devel mailing list
> Ledger-smb-devel@...
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
(Continue reading)

David Godfrey | 15 Jan 10:00 2010
Picon

Access Denied Error.

Hi All,

I am getting an access denied error after selecting a part (when 
entering a vendor invoice).

If I enter a unique description there are no problems, only if I am 
offered a choice of parts, then I get the error.

I copied /ir.pl to sbts-ir.pl
I copied /bin/ir.pl to /bin/sbts-ir.pl
I copied /bin/io.pl to /bin/sbts-io.pl
I altered the line
  require bin/io.pl in bin/sbts-ir.pl
    to read
  require bin/sbts-io.pl
I added an entry to menu.ini to call sbts-ir.pl add invoice

I then made a minor modification to bin/ir.pl
At this stage it is purely cosmetic, in preparation for functional changes.

I figure I need to change something else to solve the permissions 
problem, but not sure what yet.
Anyone have any thoughts?

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
(Continue reading)

David Godfrey | 15 Jan 11:32 2010
Picon

Re: Access Denied Error.

Solved.
Had to add sbts-ir.pl to LedgerSMB::Sysconfig::scripts
probably will have to also add sbts-io.pl

David

David Godfrey wrote:
> Hi All,
>
> I am getting an access denied error after selecting a part (when 
> entering a vendor invoice).
>
> If I enter a unique description there are no problems, only if I am 
> offered a choice of parts, then I get the error.
>
> I copied /ir.pl to sbts-ir.pl
> I copied /bin/ir.pl to /bin/sbts-ir.pl
> I copied /bin/io.pl to /bin/sbts-io.pl
> I altered the line
>   require bin/io.pl in bin/sbts-ir.pl
>     to read
>   require bin/sbts-io.pl
> I added an entry to menu.ini to call sbts-ir.pl add invoice
>
> I then made a minor modification to bin/ir.pl
> At this stage it is purely cosmetic, in preparation for functional changes.
>
> I figure I need to change something else to solve the permissions 
> problem, but not sure what yet.
> Anyone have any thoughts?
(Continue reading)

shaker Khzym | 15 Jan 17:08 2010
Picon

Re: AUTH SMTP and TLS

We have also written an add on to do authenticated smtp using perl, if anyone is interested we can submit what we have written

Markus (for Shaekir)

> From: chris-R++z9odRhOKXmMXjJBpWqg@public.gmane.org
> Date: Thu, 14 Jan 2010 10:07:11 -0800
> To: ledger-smb-devel-5NWGOfrQmneRv+LV9MX5upmplPMkL2fr@public.gmane.orget
> Subject: Re: [Ledger-smb-devel] AUTH SMTP and TLS
>
> If the patch is clean and works, maybe we can put it in addons.
> Please submit it here.
>
> On Wed, Jan 13, 2010 at 11:45 AM, Paul Wrightson <paul-AFYub0ZmsP3SUeElwK9/Pw@public.gmane.org> wrote:
> > Hi guys,
> > There was some discussion a while ago about authenticated SMTP. I think someone posted a solution using a sendmail replacement.
> > I - of course - went a different route.
> > I modified Mailer.pm to use Net::SMTP::TLS to connect to the Submission (587 TLS) port of my mail server, authenticate and send mail from the AR "email" and "recurring transactions" sections.
> > Its a bit of a hack - and I did have to patch a know bug in the latest Net::SMTP::TLS - I would be happy to tidy it up a bit and post it if anyone would like to try it.
> >
> > Paul W
> >
> > ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Ledger-smb-devel mailing list
> > Ledger-smb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
> >
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Ledger-smb-devel mailing list
> Ledger-smb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

Say Happy New Year with Messenger for Mobile. See more.
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ledger-smb-devel mailing list
Ledger-smb-devel@...
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
Michael Richardson | 15 Jan 17:11 2010
Picon

message-id header invalid


A colleague noticed that the invoice I emailed him had an invalid
Message-Id. Actually, it was his spam filter that noticed.  It should
have <> around the ID.

commit 54831ebfed46ef757c8449581df2c35d5aec83bb
Author: Michael Richardson <mcr@...>
Date:   Fri Jan 15 11:09:41 2010 -0500

    fixed msg id of generated emails

diff --git a/LedgerSMB/Mailer.pm b/LedgerSMB/Mailer.pm
index c1128d0..593fc3a 100755
--- a/LedgerSMB/Mailer.pm
+++ b/LedgerSMB/Mailer.pm
 <at>  <at>  -54,7 +54,7  <at>  <at>  sub send {
     my $boundary = time;
     $boundary = "LSMB-$boundary";
     $domain =~ s/(.*?\ <at> |>)//g;
-    my $msg_id = "$boundary\ <at> $domain";
+    my $msg_id = "<$boundary\ <at> $domain>";

     $self->{contenttype} = "text/plain" unless $self->{contenttype};

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Chris Travers | 15 Jan 17:53 2010

Re: Access Denied Error.

On Fri, Jan 15, 2010 at 2:32 AM, David Godfrey <lsmbdev@...> wrote:
> Solved.
> Had to add sbts-ir.pl to LedgerSMB::Sysconfig::scripts
> probably will have to also add sbts-io.pl

Sorry, forgot about that in our phone conversation.

only top-level scripts need to be added.  Included scripts do not.

Best Wishes,
Chris Travers

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Chris Travers | 15 Jan 18:21 2010

Re: message-id header invalid

On Fri, Jan 15, 2010 at 8:11 AM, Michael Richardson <mcr@...> wrote:
>
> A colleague noticed that the invoice I emailed him had an invalid
> Message-Id. Actually, it was his spam filter that noticed.  It should
> have <> around the ID.

I will look at committing the fix thanks.
>
> commit 54831ebfed46ef757c8449581df2c35d5aec83bb
> Author: Michael Richardson <mcr@...>
> Date:   Fri Jan 15 11:09:41 2010 -0500
>
>    fixed msg id of generated emails
>
> diff --git a/LedgerSMB/Mailer.pm b/LedgerSMB/Mailer.pm
> index c1128d0..593fc3a 100755
> --- a/LedgerSMB/Mailer.pm
> +++ b/LedgerSMB/Mailer.pm
>  <at>  <at>  -54,7 +54,7  <at>  <at>  sub send {
>     my $boundary = time;
>     $boundary = "LSMB-$boundary";
>     $domain =~ s/(.*?\ <at> |>)//g;
> -    my $msg_id = "$boundary\ <at> $domain";
> +    my $msg_id = "<$boundary\ <at> $domain>";
>
>     $self->{contenttype} = "text/plain" unless $self->{contenttype};
>
>
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Ledger-smb-devel mailing list
> Ledger-smb-devel@...
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
Luke | 24 Jan 06:59 2010

Bug in 1.2.18

I believe I've found a bug in 1.2.18.  Can someone confirm?

Go to cash -> payments.
Select all, update.

At this point you're asked to choose a vendor.

I had, for example:

amazon.com (address)
Luke (me - address)
bunch of others

Choose something other than the first (I chose Luke), and hit continue.

For me, what happened next, is that the dropdown for vendor reflected 
"amazon.com", but the address was my mailing address for the Luke vendor.

Wrongness.  So, I chose myself (again) from the dropdown, and hit update, 
at which point it was fine.

Weird...  and a trap for anyone who isn't paying attention.

Luke

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

Gmane