[Helma-user] "Invalid Prototype Name"

Juerg Lehni juerg at scratchdisk.com
Wed Mar 28 20:23:13 CEST 2007


The message could be a bit more specific about what's going on, i.e.:

No prototype defined for prototype mapping "PROTO" - Using default  
prototype "DEFAULT".

On 28 Mar 2007, at 14:14, Hannes Wallnoefer wrote:

> Hi Paul,
>
> what this error means is that we got an object from the database whose
> _prototype column contains a value - in this case "email" - that is
> not a valid prototype name.
> "using default" in this context means that the object will use the
> default prototype associated with that database table.
>
> So please check if any table has the value "email" in a column mapped
> as _prototype, and that "email" in your app. If otherwise, this would
> be a bug.
>
> I admit that the error message is not really very comprehensible. I
> had to look at the code myself to understand what it means. Any
> suggestions are welcome.
>
> hannes
>
> 2007/3/28, Paul Alexandrow <paul at alexandrow.org>:
>> Hi List,
>>
>> Currently debugging an huge application I did not write, I'm  
>> greateful
>> for any help on the following log message, which I'm not able to
>> reproduce, but, according to the customer, occurrs repeatedly:
>>
>> Invalid prototype Name: email - using default
>>
>> I already dug into Helma's source where that Message originates,  
>> but was
>> not able to fully understand how things work there (basically the
>> extensionMap in the DbMapping class) in the time I had available.
>>
>> My first - and unfortunately only - guess was, that this might  
>> come from
>> a db entry with the _prototype column set to "email", while no  
>> prototype
>> "email" is defined. This was not the case.
>>
>> Any help on how this log message can be triggered is highly  
>> appreciated
>> as it would supply me with valuable information about what to  
>> search for
>> in the application I'm sitting on.
>>
>> TIA,
>> Paul
>> _______________________________________________
>> Helma-user mailing list
>> Helma-user at helma.org
>> http://helma.org/mailman/listinfo/helma-user
>>
> _______________________________________________
> Helma-user mailing list
> Helma-user at helma.org
> http://helma.org/mailman/listinfo/helma-user



More information about the Helma-user mailing list