Thread: [Arsperl-users] ARSystem Menu question...
Brought to you by:
jeffmurphy
|
From: wheeler, j. <whe...@em...> - 2005-04-14 04:05:34
|
Hi folks - I inherited control of an ARS 5.1 system almost 2 years ago and it has been running smoothly. Until now, the only work that I have been doing on the system was creating report scripts using ARSPerl, and those have worked without a problem. Now, however, there has been a renewed interest in adding functionality to the system for other internal departments. Since my main role is system administration, I have no training in form development and process flow, but I have a pretty good grasp on how the basics work. However, I am having a problem with creating a search-type menu. I just wanted to create a menu of names based on already existing names. What is happening is that the menu will only contain names that were entered by the user looking at the menu. I turned on SQL debugging, and you can see it make that call. However, it doesn't happen when I run as a member of the Administrators group. Below is one of the calls: SELECT T440.C1,C8,C536870927,C7,C8,C536870927,C7,C8 FROM T440 WHERE ((T440.C2 = 'smsusertest1') OR (T440.C4 = 'smsusertest1')) ORDER BY 6 ASC,7 ASC,8 ASC Here is the same menu call, made from an account the Admin group: SELECT T440.C1,C8,C536870927,C7,C8,C536870927,C7,C8 FROM T440 ORDER BY 6 ASC,7 ASC,8 ASC If anyone is able to offer suggestions as to what I am doing wrong, please do so offlist - since this isn't ARSPerl related... Thanks in advance! jeff |
|
From: Kelly L. <kel...@ra...> - 2005-04-14 12:29:40
|
Hi Jeff, I would check the permissions on the field that you are searching on. = It sounds like it may only have the default "Submitter" permission group on = it. This would only allow the user to see entries that have that user listed = in the 'Submitter' field. Try adding a permission group appropriate for = that user; "public" for testing purposes or if you don't have any other main permission groups. You should then see all of the entries in that = search menu. Feel free to give me a call if you have any questions. Kelly Logan Cybernetic Solutions, Inc. (313) 586-8334 kel...@cy... P.S.: I would have sent this off-list, but I didn't see your contact information in your message. -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of wheeler, jeff Sent: 04/14/2005 12:05 AM To: 'ars...@ar...' Subject: [Arsperl-users] ARSystem Menu question... Hi folks - I inherited control of an ARS 5.1 system almost 2 years ago and it has = been running smoothly. Until now, the only work that I have been doing on = the system was creating report scripts using ARSPerl, and those have worked without a problem. Now, however, there has been a renewed interest in adding functionality to the system for other internal departments. =20 Since my main role is system administration, I have no training in = form development and process flow, but I have a pretty good grasp on how the basics work. However, I am having a problem with creating a search-type menu. I just wanted to create a menu of names based on already existing names. What is happening is that the menu will only contain names that = were entered by the user looking at the menu. I turned on SQL debugging, and = you can see it make that call. However, it doesn't happen when I run as a member of the Administrators group. Below is one of the calls: SELECT T440.C1,C8,C536870927,C7,C8,C536870927,C7,C8=20 FROM T440 =20 WHERE ((T440.C2 =3D 'smsusertest1') OR (T440.C4 =3D 'smsusertest1'))=20 ORDER BY 6 ASC,7 ASC,8 ASC Here is the same menu call, made from an account the Admin group: SELECT T440.C1,C8,C536870927,C7,C8,C536870927,C7,C8=20 FROM T440=20 ORDER BY 6 ASC,7 ASC,8 ASC =20 If anyone is able to offer suggestions as to what I am doing wrong, = please do so offlist - since this isn't ARSPerl related... Thanks in advance! jeff ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users |
|
From: Misi M. <mi...@rr...> - 2005-04-14 18:06:40
|
Hi,
I am having problems doing "make test" on Solaris 8 with ARSPerl 1.83 and
ARAPI version 6.3.
"make test" gives me a lot of errors, but I did a "make install" anyway.
This is what happens when i try to use ARS:
# perl
use ARS;
Can't locate auto/ARS/autosplit.ix in @INC (@INC contains:
/usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .) at
/usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
at ARS.pm line 64
This is some of the output from "make test":
# make test
...
t/10getlist..........Can't locate auto/ARS/autosplit.ix in @INC (@INC
contains: /data/urbekl/ARSperl-1.83/blib/lib
/data/urbekl/ARSperl-1.83/blib/arch
/usr/local/lib/perl5/5.8.5/sun4-solaris
/usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.8.5/sun4-solaris /usr/local/lib/perl5/5.8.5
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl .) at
/usr/local/lib/perl5/5.8.5/AutoLoader.pm line 160.
at ARS.pm line 64
t/10getlist..........NOK 2# Failed test (t/10getlist.t at line 20)
# GetListEscalation (-1) [ERROR] RPC call failed (RPC: Can't encode
arguments) (ARERR #91)
t/10getlist..........NOK 4# Failed test (t/10getlist.t at line 28)
# GetListFilter (-1) [ERROR] RPC call failed (RPC: Can't encode arguments)
(ARERR #91)
t/10getlist..........NOK 6# Failed test (t/10getlist.t at line 36)
# GetListSchema [ERROR] RPC call failed (RPC: Can't encode arguments)
(ARERR #91)
t/10getlist..........ok 9/9# Looks like you failed 3 tests of 9.
t/10getlist..........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 2, 4, 6
Failed 3/9 tests, 66.67% okay
...
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/02export.t 0 139 ?? ?? % ??
t/10alink.t 0 139 ?? ?? % ??
t/10entry.t 22 5632 10 18 180.00% 2-10
t/10getlist.t 3 768 9 3 33.33% 2 4 6
t/12lotsoffields.t 104 102 98.08% 3-104
t/13join.t 7 5 71.43% 3-7
t/20merge.t 5 2 40.00% 4 6
Failed 7/13 test scripts, 46.15% okay. 119/154 subtests failed, 22.73% okay.
make: *** [test_dynamic] Error 29
#
These are the system specific things i installed prior to arsperl:
binutils-2.11.2-sol8-sparc-local
gcc_small-3.4.2-sol8-sparc-local
libiconv-1.8-sol8-sparc-local
make-3.80-sol8-sparc-local
perl-5.8.5-sol8-sparc-local
SUNWarc
SUNWhea
SUNWlibm
Best Regards - Misi, RRR AB, http://www.rrr.se
|
|
From: Jeff M. <jcm...@je...> - 2005-04-14 18:23:35
|
what did "make" say? |