RTFM-2.1.40 :: Extract Article -> : HasRight called with no valid object (/usr/local/rt3//lib/RT/Principal_Overlay.pm:321)

RTFM-2.1.40 :: Extract Article → [crit]: HasRight called with no valid
object (/usr/local/rt3//lib/RT/Principal_Overlay.pm:321)

http://lists.bestpractical.com/pipermail/rt-devel/2003-March/003401.html

Gives a clue to what might be causing the inability to extract the data - I
can add it to the custom field but when you press save it doesnt save the
extracted data - ive checked the permissions with RTFM and they all seem
fine

Can anyone point me in the direction of what file permissions I might need
to change?

I’m sure its a simple one I’m just not sure where to look next any pointers?

Regards

Dave

RTFM-2.1.40 :: Extract Article → [crit]: HasRight called with
no valid object (/usr/local/rt3//lib/RT/Principal_Overlay.pm:321)

You might want to try 2.2.0RCsomething instead…

PGP.sig (186 Bytes)

Thanks for all the hard work!!
BUT - Will I be easily able to upgrade if I run your RC version or will I
get stuck :slight_smile:
(I’ve been stung before by running beta versions)

Regards

DavidOn 10/03/07, Jesse Vincent jesse@bestpractical.com wrote:

On Mar 10, 2007, at 10:41 AM, David Lane wrote:

RTFM-2.1.40 :: Extract Article → [crit]: HasRight called with no valid
object (/usr/local/rt3//lib/RT/Principal_Overlay.pm:321)

You might want to try 2.2.0RCsomething instead…

[rt-devel] rtfm 2 - problem creating classes

Gives a clue to what might be causing the inability to extract the data -
I can add it to the custom field but when you press save it doesnt save the
extracted data - ive checked the permissions with RTFM and they all seem
fine

Can anyone point me in the direction of what file permissions I might need
to change?

I’m sure its a simple one I’m just not sure where to look next any
pointers?

Regards

Dave


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Thanks for all the hard work!!
BUT - Will I be easily able to upgrade if I run your RC version or will I
get stuck :slight_smile:
(I’ve been stung before by running beta versions)

Right now you’re running a development snapshot. (The 2.1 series was the
development series for 2.2.) So, you’re just upgrading to a more recent
release in the same series.

This is an AT question, but it overlaps with RT and since there is a large
number of AT users in RT community I might get help here.

I write Perl script which reads all information about an Asset. I can get
all AT specific information exept of links, owners and administrators of
an asset.

Can anyone show an example of a code which does this?

Suppose you have an Asset list, you loop over it and you want to get list
of experts for each asset, administrators, and the links… this should be
something like:

while ($Asset = $Assets->Next) {
$Administrators=$Asset=> … ???
$Owners=$Asset=>…
$AssetOnWhichItDepends=$Asset=>…
$AssetsWhichDependOnThisAsset=$Asset=>…
$AssetWhichRefersTo=$asset=>…
$AssetReferredToBy=$Asset=>…
$AssetWhichRunsOn=$Asset=>…
$AssetsWhichRun=$Asset=>…
$ComponentOf=$Asset=>…
$Has Component=$Asset=>…
}

This should be a trivial thing to code, if you know how to do this.

Can anyone post an example?

Tom