[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.5 beta 6, Parts search



Den 10-06-2016 kl. 10:39 skrev Erik Huelsmann:


On Fri, Jun 10, 2016 at 4:54 AM, Kaare Rasmussen <..hidden..> wrote:
Error!

The 'pattern' parameter (undef) to DateTime::Format::Strptime::new was an 'undef', which is not one of the allowed types: scalar scalarref
at /home/jasonic/perl5/perlbrew/perls/perl-5.20.0/lib/site_perl/5.20.0/DateTime/Format/Strptime.pm line 127.


Actually, it's all over the place, where there are date entry fields, e.g. Sales Order Entry. I can't be the only one seeing this?

No, I'm not seeing it in my local environment; nor are the automated testers complaining (although the latter could be a consequence of insufficient test-definition).

Is there a user-setting for the date format in your user_preferences table?


No, there's no date format. Actually, $LedgerSMB::App_State::User is an empty hash.

So, I've looked into this a bit. I wonder if it's a version issue. Seems that PGDate can both have ->{_pgobject_is_date} and ->is_time set to 0. For e.g. Sales Orders, the reqdate shows this at my installation.

That means that to_output doesn't return '' or define a $fmt.

/kaare
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel