Re: "Invalid Prototype Name"
"Hannes Wallnoefer" <[email protected]>
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>: > 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 > [email protected] > http://helma.org/mailman/listinfo/helma-user >