Re: Strange Bug (?)
Re: Strange Bug (?)
- Subject: Re: Strange Bug (?)
- From: Jonathan Meijer <email@hidden>
- Date: Tue, 14 Sep 2004 11:37:16 -0400
Ok now I'm seeing some stuff... When ERCoreBusinessLogic is not added,
this is what I see:
1. I click the magnifying glass next to entity Block and this is what I
see in the log:
DEBUG 11:21:06 (er.directtoweb.rules.entity.fire:192) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CANDIDATES for
keyPath: entity
10 : *true* => entity = entityForPageConfiguration
[er.directtoweb.ERDKeyValueAssignment] From:
ERDirectToWeb.framework/Resources
DEBUG 11:21:06 (er.directtoweb.rules.entity.fire:200) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -FIRE: entity
depends on: () = (entity) value: Block
DEBUG 11:21:06 (er.directtoweb.rules.entity.cache:210) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CACHE: entity
depends on: () = (entity) value: Block
2. I click return, and then on the magnifying glass next to entity
Medal and this is what I see in the log:
DEBUG 11:22:38 (er.directtoweb.rules.entity.cache:210) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CACHE: entity
depends on: () = (entity) value: Block
DEBUG 11:22:38 (er.directtoweb.rules.entity.cache:210) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CACHE: entity
depends on: () = (entity) value: Block
WARN 11:22:38 (NSLog :41)
-<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
<er.extensions.ERXGenericRecord 0x31cfec> valueForKey(): lookup of
unknown key: 'blockName'.
This class does not have an instance variable of the name blockName or
_blockName, nor a method of the name blockName, _blockName,
getBlockName, or _getBlockName
[2004-09-14 11:22:38 EDT] <WorkerThread6>
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
<er.extensions.ERXGenericRecord 0x31cfec> valueForKey(): lookup of
unknown key: 'blockName'.
This class does not have an instance variable of the name blockName or
_blockName, nor a method of the name blockName, _blockName,
getBlockName, or _getBlockName
at
com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleQ
ueryWithUnboundKey(NSKeyValueCoding.java:1316)
etc.
When ERCoreBusinessLogic is added, this is what I see:
3. I click on the magnifying glass next to entity Block and this is
what I see in the log:
DEBUG 11:25:01 (er.directtoweb.rules.entity.fire:192) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CANDIDATES for
keyPath: entity
10 : *true* => entity = entityForPageConfiguration
[er.directtoweb.ERDKeyValueAssignment] From:
ERDirectToWeb.framework/Resources
DEBUG 11:25:01 (er.directtoweb.rules.entity.fire:200) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -FIRE: entity
depends on: ("pageConfiguration") = (ListBlock, entity) value: Block
DEBUG 11:25:01 (er.directtoweb.rules.entity.cache:210) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CACHE: entity
depends on: ("pageConfiguration") = (ListBlock, entity) value: Block
4. I click return, and then on the magnifying glass next to entity
Medal, and the log says:
DEBUG 11:34:06 (er.directtoweb.rules.entity.fire:192) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CANDIDATES for
keyPath: entity
10 : *true* => entity = entityForPageConfiguration
[er.directtoweb.ERDKeyValueAssignment] From:
ERDirectToWeb.framework/Resources
DEBUG 11:34:06 (er.directtoweb.rules.entity.fire:200) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -FIRE: entity
depends on: ("pageConfiguration") = (ListMedal, entity) value: Medal
DEBUG 11:34:06 (er.directtoweb.rules.entity.cache:210) Page:
er.neutral.ERNEUQueryAllPage - Configuration: null -CACHE: entity
depends on: ("pageConfiguration") = (ListMedal, entity) value: Medal
And I get no exception.
Seems like the rules are fine, but something else isn't, but that's the
end of my expertise :P
Any idea?
Jonny
Am 14.09.2004 um 16:34 schrieb Jonathan Meijer:
> Has anyone experienced the same?
Nope, and there's nothing like strange D2W bugs:)
What you could do is try to use the logging options to find out more:
log4j.category.er.directtoweb.rules.D2WTraceRuleFiringEnabled=DEBUG
log4j.category.er.directtoweb.rules.ERD2WTraceRuleFiringEnabled=DEBUG
log4j.category.er.directtoweb.rules=INFO
log4j.category.er.directtoweb.rules.entity=DEBUG
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden