Ticket Q558252
Visible to All Users

"Invalid value for field 'MY_EVENT_ID" problem during the migrating from VCL 13.1 to VCL 13.2

created 11 years ago

I use a form to insert and edit scheduler evnnts inherited by yours:
TfrmCustomEventEditor = class(TcxSchedulerCustomEventEditor)
After upgrading from VCL 13.1 to 13.2 i am able to build, anyway when using the application on the creation of a new scehduler event (=OK on the CustomEventEfitor form) i have the following error
"Invalid value for field 'MY_EVENT_ID"
where MY_EVENT_ID refers to TcxSchedulerDBStorage.FieldNames.ID
could you please suggest a solution?
Moreover it is not possible to open an old Event. i have Access Violation.
This occurs on

Delphi
function TcxSchedulerEvent.GetEventType: TcxEventType; begin Result := GetValueDefault(FStorage.FEventTypeField, etNone); end;
Show previous comments (8)
DevExpress Support Team 11 years ago

    We are working on your request, but it can take us some time to examine it. We will get back to you once we have any results or need additional information. Thank you for your patience.

    FF FF
    Francesco Faleschini 11 years ago

      Thanks for informing me, I hope you can find a solution (either a fix or suggest a better impelmentation) in a short time.

      FF FF
      Francesco Faleschini 11 years ago

        I would appreciate a lot if you can give me a tentaive date for a solution. Thanks.

        Answers approved by DevExpress Support

        created 11 years ago (modified 11 years ago)

        Hello,
        I have examined your project and found the cause of the problem. The GUID_EVENTO field is of the integer type and cannot accept a GUID value. Thus, as a solution, you can either set the storTest.GenerateGUIDForID property to False or better set the storTest.FieldNames.ID property to RecID.

          Show previous comments (12)
          FF FF
          Francesco Faleschini 11 years ago

            Thanks, you is it possible to know by when it will be fixed?

            DevExpress Support Team 11 years ago

              I am afraid that I do not have any ETA for now. Our developers will do their best to resolve the problem as soon as they can.

              FF FF
              Francesco Faleschini 11 years ago

                just to close this ticket i inform you that after a lot of attempts i managed to solve this problem (refer to my original post, non the latetest comments). by setting GenerateGUIDForID to False and then setting the ID using Event.SetCustomFieldValueByName. A long struggle but finally 13.1 -> 13.2 update completed. You can mark this as solved.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.