Glorp Exceptions/Errors Issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Glorp Exceptions/Errors Issue

Brad Selfridge
In "Pharo 4.0", it appears that the GLORP exception and error definitions are missing some method definitions. The offending/not defined methods are:

InvalidSessionSetup>>raiseErrorString:
MultipleMappingsForInstanceVariable>>raiseRequest
NoTableFound>>raiseRequest

I'm wondering if this is a Pharo issue, (do I need to load a Pharo GLORP package), or is this a real problem?

Brad Selfridge
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Exceptions/Errors Issue

Esteban A. Maringolo
It might be a missing method in the Pharo version, however #raiseRequest isn't a valid selector in the context of Pharo exceptions.

Do you have the full stack of it?

Regards!


El viernes, 27 de mayo de 2016, 13:49:15 (UTC-3), Brad Selfridge escribió:
In "Pharo 4.0", it appears that the GLORP exception and error definitions are
missing some method definitions. The offending/not defined methods are:

InvalidSessionSetup>>raiseErrorString:
MultipleMappingsForInstanceVariable>>raiseRequest
NoTableFound>>raiseRequest

I'm wondering if this is a Pharo issue, (do I need to load a Pharo GLORP
package), or is this a real problem?





-----
Brad Selfridge
--
View this message in context: <a href="http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894.html" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforum.world.st%2FGlorp-Exceptions-Errors-Issue-tp4897894.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHjBoRJ6oG7AMvVZtOV4E2rYa3w0w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforum.world.st%2FGlorp-Exceptions-Errors-Issue-tp4897894.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHjBoRJ6oG7AMvVZtOV4E2rYa3w0w&#39;;return true;">http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894.html
Sent from the GLORP mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Exceptions/Errors Issue

Alan Knight
In reply to this post by Brad Selfridge
Those looks like old-style VW exception methods. Probably those just need to be converted to ANSI exception selectors. There might have been compatibility code in Pharo, or in some add-on package that provided those.

On Fri, May 27, 2016 at 9:49 AM Brad Selfridge <[hidden email]> wrote:
In "Pharo 4.0", it appears that the GLORP exception and error definitions are
missing some method definitions. The offending/not defined methods are:

InvalidSessionSetup>>raiseErrorString:
MultipleMappingsForInstanceVariable>>raiseRequest
NoTableFound>>raiseRequest

I'm wondering if this is a Pharo issue, (do I need to load a Pharo GLORP
package), or is this a real problem?





-----
Brad Selfridge
--
View this message in context: http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894.html
Sent from the GLORP mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Exceptions/Errors Issue

Esteban A. Maringolo
They were leftovers from a bad migration of code. I noticed I had those too in the latest migration from VW to Pharo 5 (to be announced).

Apparently there aren't tests covering such cases, and you have to do stuff like Brad was doing to trigger them.

Regards!

El viernes, 27 de mayo de 2016, 16:39:34 (UTC-3), alan.knight escribió:
Those looks like old-style VW exception methods. Probably those just need to be converted to ANSI exception selectors. There might have been compatibility code in Pharo, or in some add-on package that provided those.

On Fri, May 27, 2016 at 9:49 AM Brad Selfridge <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="8ly5bxKmPQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">bssel...@...> wrote:
In "Pharo 4.0", it appears that the GLORP exception and error definitions are
missing some method definitions. The offending/not defined methods are:

InvalidSessionSetup>>raiseErrorString:
MultipleMappingsForInstanceVariable>>raiseRequest
NoTableFound>>raiseRequest

I'm wondering if this is a Pharo issue, (do I need to load a Pharo GLORP
package), or is this a real problem?





-----
Brad Selfridge
--
View this message in context: <a href="http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894.html" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforum.world.st%2FGlorp-Exceptions-Errors-Issue-tp4897894.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHjBoRJ6oG7AMvVZtOV4E2rYa3w0w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fforum.world.st%2FGlorp-Exceptions-Errors-Issue-tp4897894.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHjBoRJ6oG7AMvVZtOV4E2rYa3w0w&#39;;return true;">http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894.html
Sent from the GLORP mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8ly5bxKmPQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">glorp-group...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="8ly5bxKmPQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">glorp...@....
Visit this group at <a href="https://groups.google.com/group/glorp-group" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/group/glorp-group&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/glorp-group&#39;;return true;">https://groups.google.com/group/glorp-group.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Exceptions/Errors Issue

Brad Selfridge
In reply to this post by Esteban A. Maringolo
I have the latest and greatest version of GLORP installed:

Garage(NicolasAnquetil.13)
GarageGlorp(GuillermoPolito.5)
Glorp(GuillermoPolito.44)
PostgresV2(EstebanMaringolo.16)
Brad Selfridge
Reply | Threaded
Open this post in threaded view
|

Re: Glorp Exceptions/Errors Issue

Esteban A. Maringolo
The latest release is targeted at Pharo 5 only, however the latest
version for Pharo 4 shouldn't be GuillermoPolito.44, it should be
Glorp-GuillermoPolito.101.

What version of Pharo are you using?


Esteban A. Maringolo


2016-05-31 15:37 GMT-03:00 Brad Selfridge <[hidden email]>:

> I have the latest and greatest version of GLORP installed:
>
> Garage(NicolasAnquetil.13)
> GarageGlorp(GuillermoPolito.5)
> Glorp(GuillermoPolito.44)
> PostgresV2(EstebanMaringolo.16)
>
>
>
> -----
> Brad Selfridge
> --
> View this message in context: http://forum.world.st/Glorp-Exceptions-Errors-Issue-tp4897894p4898431.html
> Sent from the GLORP mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "glorp-group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
> Visit this group at https://groups.google.com/group/glorp-group.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/glorp-group.
For more options, visit https://groups.google.com/d/optout.