Error: No factory specified

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

Re: Error: No factory specified

Stephan Eggermont-3
Ok, there is a bug in The ConfigurationOfDBXDriver,
the baseline has a versionString entry. That should be removed

After removing that (and renaming Cache) it loads.

Glorp loads already after renaming Cache.
I’m not sure the isKindOf: on ProtoObject is safe.
There is a renaming issue after loading Glorp (13188)

Stephan
Reply | Threaded
Open this post in threaded view
|

Re: Error: No factory specified

Sven Van Caekenberghe-2
Thanks, Stephan.

I will have a look and try to load/use Glorp myself towards the end of the week.

On 09 Apr 2014, at 11:08, Stephan Eggermont <[hidden email]> wrote:

> Ok, there is a bug in The ConfigurationOfDBXDriver,
> the baseline has a versionString entry. That should be removed
>
> After removing that (and renaming Cache) it loads.
>
> Glorp loads already after renaming Cache.
> I’m not sure the isKindOf: on ProtoObject is safe.
> There is a renaming issue after loading Glorp (13188)
>
> Stephan


Reply | Threaded
Open this post in threaded view
|

Re: Error: No factory specified

Markus Fritsche-4
In reply to this post by Stephan Eggermont-3


On 09.04.2014 00:51, Stephan Eggermont wrote:

> That would be nice but creates problems. There is existing third
> party code we want to use. We can be much more precise in naming, and
> should not use generic names for specific implementations.

> "When #totalWeight is no longer below #maximumWeight, the least
> recently used item of the cache is evicted (removed) to make room. „
> is not part of the Cache behavior, but of LRUCache.

Sorry for the noise, but cnr:


“There are only two hard problems in computer science: cache
invalidation and naming things.” -- Phil Karlton


Reply | Threaded
Open this post in threaded view
|

Re: Error: No factory specified

Esteban A. Maringolo
In reply to this post by Sven Van Caekenberghe-2
Renaming Cache to AbstractCache (or whatever else, it has no global
references) I was able to load Glorp and have it running with the
NativePostgresDriver.

However there are a mix of things that are innecesary interdependant.
For instance:
* Running the tests the default glorp login doesn't have any encoding
strategy, but it is required by the Glorp Session. So many tests fail.
* The Encoders are in the DBXTalk packages :)

I'm willing to help here, but what approach should we take here?
I look forward for advice and guidance to accomplish this.

Regards,

Esteban A. Maringolo


2014-04-09 6:22 GMT-03:00 Sven Van Caekenberghe <[hidden email]>:

> Thanks, Stephan.
>
> I will have a look and try to load/use Glorp myself towards the end of the week.
>
> On 09 Apr 2014, at 11:08, Stephan Eggermont <[hidden email]> wrote:
>
>> Ok, there is a bug in The ConfigurationOfDBXDriver,
>> the baseline has a versionString entry. That should be removed
>>
>> After removing that (and renaming Cache) it loads.
>>
>> Glorp loads already after renaming Cache.
>> I'm not sure the isKindOf: on ProtoObject is safe.
>> There is a renaming issue after loading Glorp (13188)
>>
>> Stephan
>
>

12