flextrine icon indicating copy to clipboard operation
flextrine copied to clipboard

Error when merging

Open SimonVanherweghe opened this issue 14 years ago • 1 comments

regarding this issue

In the Programma object, I'm changing the value of the property named inhoud to 'nieuwe inhoud'

[trace] [INFO] org.davekeen.flextrine.orm.EntityManager Merging [Programma id=6] [trace] [INFO] org.davekeen.flextrine.orm.EntityRepository Updating [Programma id=6] to [Programma id=6] {repository=Programma, idHash=6} [Fault] exception, information=ReferenceError: Error #1065: Variabele nieuwe inhoud is niet gedefinieerd. at global/flash.utils::getDefinitionByName() at mx.utils::DescribeTypeCache$/describeType() at org.davekeen.flextrine.util::EntityUtil$/isEntity()[trunk/src/main/actionscript/org/davekeen/flextrine/util/EntityUtil.as:54] at org.davekeen.flextrine.orm::EntityRepository/onPropertyChange()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/EntityRepository.as:617] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at Entities::ProgrammaEntityBase/set inhoud() at org.davekeen.flextrine.util::EntityUtil$/mergeEntity()[trunk/src/main/actionscript/org/davekeen/flextrine/util/EntityUtil.as:228] at org.davekeen.flextrine.orm::EntityRepository/http://www.flextrine.com/2011/org/davekeen/flextrine::updateEntity()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/EntityRepository.as:246] at org.davekeen.flextrine.orm.walkers::LocalMergeWalker/beforeWalk()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/walkers/LocalMergeWalker.as:106] at AbstractWalker/doWalk()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/walkers/AbstractWalker.as:91] at AbstractWalker/walk()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/walkers/AbstractWalker.as:63] at org.davekeen.flextrine.orm::EntityManager/addLoadedEntityToRepository()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/EntityManager.as:744] at org.davekeen.flextrine.orm::EntityManager/merge()[trunk/src/main/actionscript/org/davekeen/flextrine/orm/EntityManager.as:306]

SimonVanherweghe avatar Jun 08 '11 07:06 SimonVanherweghe

May I check what version of the Flex SDK you are using?

ccapndave avatar Jun 16 '11 12:06 ccapndave