WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Report a Bug > WebGUI Bug Tracker Goto page «Previous Page   1 2    Next Page»

undefined activity

User fathertorque
Date 6/20/2007 4:47 pm
Severity Minor (annoying, but not harmful)
Version WebGUI 7.3.18
Views 549
Rating -1    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
fathertorque
My webgui.log is getting filled by this error, displayed every 30 secs or so:

main::[[undef]] - Pass in object came back undefined for activity (csactivity000000000001) using WebGUI::Asset::Wobject::Collaboration, new, UMxLhHczF8eCcLTYfY_PxQ.

Back to Top
Rate [
|
]
 
 
colink
Do you have a Collaboration System Asset with assetId UMxLhHczF8eCcLTYfY_PxQ ?

Back to Top
Rate [
|
]
 
 
fathertorque
Do you have a Collaboration System Asset with assetId UMxLhHczF8eCcLTYfY_PxQ ?


I have to dig into mysql to know? I tried to do a search for UMxLhHczF8eCcLTYfY_PxQ from the root manage assets page but it didn't show nothing.

Back to Top
Rate [
|
]
 
 
martink

The search won't work, but you don't have to (really) dig into mysql. Just create a SQLReport with the following query:

select className from asset where assetId = 'UMxLhHczF8eCcLTYfY_PxQ'

and post the result. That should answer Colins question. 



Back to Top
Rate [
|
]
 
 
fathertorque

The search won't work, but you don't have to (really) dig into mysql. Just create a SQLReport with the following query:

select className from asset where assetId = 'UMxLhHczF8eCcLTYfY_PxQ'

and post the result. That should answer Colins question. 

I created a SQL Report with your query put in the Query field (all other fields empty/default) but it doesn't show anything when I view it... When debug mode is activated I see * Debug: Query:select className from asset where assetId = 'UMxLhHczF8eCcLTYfY_PxQ' * Debug: Processed Placeholder parameters:

Back to Top
Rate [
|
]
 
 
martink

I created a SQL Report with your query put in the Query field (all other fields empty/default) but it doesn't show anything when I view it...

No worries, this just means that there is no asset with that assetId on your site.



Back to Top
Rate [
|
]
 
 
martink

What I think is going wrong is that somehow the WebGUI::Workflow::Activity::GetCsMail activity for CS 'UMxLhHczF8eCcLTYfY_PxQ' never completed after which this asset has been deleted. 

The workflow still tries to instantiate this CS and pass it to the activity, which of course fails because you cannot instantiate an asset that does not exist. Which is indeed what seems to happen according to the code generating the error message.



Back to Top
Rate [
|
]
 
 
fathertorque
Thanks for the help martink.
Is there a way to get rid of that error (it's flooding the log) and any chance to get a control into webgui to prevent it in the future?

Back to Top
Rate [
|
]
 
 
martink

As far as I know you can only get rid of it bydeleting some stuff from the database manually. What records, I do not know from heart. I might be wrong on this since I'm not that well aquainted with the Workflow system yet, however. So there might be another way (but I don't think so).

A temporary solution that could work is disabling the 'Get CS Mail' workflow in the Admin Console > Workflow > edit Get CS Mail screen. Do this only if you do not use the mail-to-collaboration system feature of collaboration systems. If I'm correct that will prevent your logs from being filled. When this bug is fixed you can turn it back on.



Back to Top
Rate [
|
]
 
 
fathertorque
could this be related to this? http://www.webgui.org/bugs/tracker/spectre-should-check-that-it-has-a-valid-workflow

Back to Top
Rate [
|
]
 
 
     Report a Bug > WebGUI Bug Tracker Goto page «Previous Page   1 2    Next Page»