Expand my Community achievements bar.

SOLVED

Production version issue

Avatar

Level 2
The code ran fine under beta3. I've changed the configuration
files to match the new names, loaded in the new libraries and jars
and recompiled. However, when I attempt to call the fill() method
on my dataservice I get this error: (Please notice the reference to
C:\dev\enterprise_beta3\frameworks\mx\data\ConcreteDataService.as.
This path does not exist on my machine and it still refers to
beta3). Does this mean I am still missing a vital change to some
configuration??



ReferenceError: Error #1065: Variable
mx.data:DataConsumer::internalSubscribe is not defined.

at
mx.data::DataConsumer/initConsumer()[C:\dev\enterprise_beta3\frameworks\mx\data\DataConsumer.as:85]

at mx.data::ConcreteDataService/
http://www.adobe.com/2006/flex/mx/internal::reconnect()[C:\dev\enterprise_beta3\frameworks\mx\data\C...

at
mx.data::ConcreteDataService/fill()[C:\dev\enterprise_beta3\frameworks\mx\data\ConcreteDataService.as:595]

at
mx.data::DataService/fill()[C:\dev\enterprise_beta3\frameworks\mx\data\DataService.as:482]

at
components::sales/initApp()[C:\workspace\metalsmith-flex\components\sales.mxml:23]

at
components::sales/___Canvas1_creationComplete()[C:\workspace\metalsmith-flex\components\sales.mxml:3]

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.core::UIComponent/set
initialized()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:1161]

at
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:687]

at Function/
http://adobe.com/AS3/2006/builtin::apply()

at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789]

at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732]
1 Accepted Solution

Avatar

Correct answer by
Level 2


I bet you didn't create a new project but used the previous
one.

Go to the project properties > Flex Build Path

then pick Library Path

there is an entry for enterprise.swc I guess, you should edit
that entry and point it to the same folder but fds.swc (in case you
deployed this new version of FDS in the same place)



HTH



View solution in original post

3 Replies

Avatar

Correct answer by
Level 2


I bet you didn't create a new project but used the previous
one.

Go to the project properties > Flex Build Path

then pick Library Path

there is an entry for enterprise.swc I guess, you should edit
that entry and point it to the same folder but fds.swc (in case you
deployed this new version of FDS in the same place)



HTH



Avatar

Level 2
Absolutely correct. Thank you very much.

Avatar

Level 2
I had the exact same problem, that's why I knew the problem
and the solution :)