RE: [Arsperl-users] ars_GetEntry and DATE Fields
Brought to you by:
jeffmurphy
|
From: Barr, S. <sc...@am...> - 2005-07-18 22:58:33
|
Well this is groovie!
I am trying to compile the 1.84 package against 5.1.2 p1280 (API v9) =
remedy libs... In my environment, described below, 1.82 is just fine and =
dandy but dead as a duck for 1.84
First off, there are several things that, at first glance, need to have =
#if AR_EXPOERT_VERSION tags around them...
e.g.
ARS.xs
> // ARArchiveInfoStruct infoStruct;
>
> // hv_store(RETVAL, =20
> // "archiveInfo",=20
< // strlen("archiveInfo") ,
> // perl_ARArchiveInfoStruct(ctrl, &infoStruct), 0);
>
> //#if AR_EXPORT_VERSION >=3D 8L
> // &infoStruct,
> //#endif
Support.c
> //hv_store(hash, "option", strlen("option") , =
newSViv(in->option), 0);
And when I run make test I get this:
[scbarr@devrmdy-0101 /opt/ar/ARSperl-1.84]$ sudo make test
amazon.com authorized use only. scbarr@devrmdy-0101 Password:
PERL_DL_NONLAZY=3D1 /usr/bin/perl -Iblib/arch -Iblib/lib =
-I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use =
Test::Harness qw(&runtests $verbose); $verbose=3D0; runtests @ARGV;' =
t/*.t
t/00connect.........ok
t/01import..........NOK 1FAILED test 1
Failed 1/1 tests, 0.00% okay
t/02export..........Use of uninitialized value in subroutine entry at =
t/02export.t line 30.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 41.
Use of uninitialized value in subroutine entry at t/02export.t line 41.
Use of uninitialized value in concatenation (.) at t/02export.t line 45.
t/02export..........ok
t/09qualifier.......NOK 4FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/10alink...........NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10entry...........not ok ([ERROR] Form does not exist on server =
(ARSperl Test) (ARERR #303))
t/10entry...........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/10getescalation...NOK 3FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
t/10getftinfo.......ok
t/10getlist.........Can't locate Test/More.pm in @INC (@INC contains: =
blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux =
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux =
/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/i386-linux =
/usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 =
/usr/lib/perl5/site_perl/5.6.0/i386-linux =
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 =
/usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 =
/usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i386-linux =
/usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux =
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at =
t/10getlist.t line 7.
BEGIN failed--compilation aborted at t/10getlist.t line 7.
t/10getlist.........dubious
Test returned status 2 (wstat 512, 0x200)
t/11entry...........ok
t/12lotsoffields....NOK 104FAILED tests 2-104
Failed 103/104 tests, 0.96% okay
t/13join............defined(%hash) is deprecated at t/13join.t line 68.
(Maybe you should just omit the defined()?)
t/13join............NOK 7FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/20merge...........NOK 5FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------=
------
t/01import.t 1 1 100.00% 1
t/09qualifier.t 4 3 75.00% 2-4
t/10alink.t 4 2 50.00% 3-4
t/10entry.t 255 65280 10 9 90.00% 2-10
t/10getescalati 4 2 50.00% 3-4
t/10getlist.t 2 512 ?? ?? % ??
t/12lotsoffield 104 103 99.04% 2-104
t/13join.t 7 6 85.71% 2-7
t/20merge.t 5 4 80.00% 2-5
Failed 9/13 test scripts, 30.77% okay. 130/157 subtests failed, 17.20% =
okay.
make: *** [test_dynamic] Error 29-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Tuesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to =
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and =
assistance.
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Liam Strand
Sent: Monday, July 18, 2005 11:44 AM
To: ars...@ar...
Subject: RE: [Arsperl-users] ars_GetEntry and DATE Fields
Scott -
I tried this out and it looks like Date fields do not work in ARSPerl
v1.82... If you upgrade to v1.84 it works like a champ.=20
Hope this helps...
Liam Strand / ICS
661.224.2700
www.yesICS.com
=20
Confidential:
This message is intended for the sole use of the individual/client to
whom it is addressed. This message may contain or have attached
programs, information and methodologies which are proprietary, and their
expression in this document is copyrighted with all rights reserved by
Intelligent Computing Services Inc. If the reader of this message is not
the intended recipient, please notify the sender immediately at the
number above.=20
-----Original Message-----
From: Barr, Scott [mailto:sc...@am...]=20
Sent: Monday, July 18, 2005 10:56 AM
To: ars...@ar...
Subject: [Arsperl-users] ars_GetEntry and DATE Fields
ARS Perl v.1.82
ARS v 5.1.2 p1389
Redhat Linux 2.4.25-1.5asmp
That's data type 13... Not Date Time fields...
Anyone have any issues or know of lack of support for DATE fields?
For what ever reason when I do an ars_GetEntry on a table with DATE
fields I get values for all the other fields but no values for DATE data
type fields.
There is a FieldID entry in the Perl Hash but no value. I can get the
value via SQL or the WUT but it's a big N-O when using ARS Perl.
-Scott
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|