Flex 2.0.1 Hotfix 2 and Cairngorm

Flex 2.0.1 Hotfix 2 has been released today, containing a collection of Flex 2.0.1 bug fixes.

As part of this release, some classes, which are not required as part of the core SDK, have been moved into Flex Data Services (FDS), now rebranded LiveCycle Data Services 2.5 (LCDS 2.5) and newly released.

However, because the ServiceLocator class of Cairngorm has a soft reference onto the Flex framework’s Consumer class, applying Hotfix 2 will cause the following compiler error in your Cairngorm application, unless you have fds.swc on your classpath.

1046: Type was not found or was not a compile-time constant: Consumer.

We will be releasing another version of Cairngorm and Cairngorm Enterprise, which will align themselves with the new class locations in Hotfix 2, and also be compatible with the standard Flex 2.0.1 release. In the meantime, if you update to Hotfix 2 or switch to LiveCycle Data Services 2.5, ensure you have fds.swc on your classpath. You can get this from the new LiveCycle Data Services 2.5 release.

7 Responses to Flex 2.0.1 Hotfix 2 and Cairngorm

  1. Steve says:

    Any ETA on when this will be released? Unfortunately we do not have fds.swc.

  2. Hi Steve,
    I hope to get this out somewhere sometime this week. In the meantime, you should be able to use fds.swc from the evaluation version of the newly released LiveCycle Data Services 2.5 – it should be requreid for compile-time only.
    Alistair

  3. Fabian says:

    Hi Alistair. The webservices has changed??. My app not work with HotFix 2. its use WebServices (SOAP). The problem this in which all the parameters do not arrive at the webservices. Also the objects given back by the webservies are not complete
    Some Idea?

  4. Hi Fabian,
    I don’t know of any WebServices change. Have you just migrated to Cairngorm 2.2, where we fixed a previous issue that required manually calling loadWSDL()?
    Its probably best that you contact support, or post some more details to the FlexCoders mailing list.
    Alistair

  5. superabe says:

    Is the fix for this (not having to link to fds.swc) avaialable yet?
    – superabe

  6. Philip says:

    On My mac machine, I am using eclipse 3.2.2 and Flex 2 sdk for eclipse and have applied hotfix 2. now I am getting following error:
    Severity and Description Path Resource Location Creation Time Id
    Could not resolve to a component implementation. CairngormSample/com/tagworldwide/cairngormsample/business Services.mxml line 5 1188546772342 229
    Please help.
    Philip

  7. Praba says:

    Hi
    Thanks It is very helpful for me to fix the problem with Hotfix 2 and cairngorm.
    Keep Posting.
    Thanks and Regards
    Praba.S