Skip to content

TypeError: Cannot read property 'contentData' of undefined #18

@sergiyz57918

Description

@sergiyz57918

Run into a strange issue with the bridge:
When we pass the following array fm-webviewer-bridge module in Angular seems to return NULL
[ { "CreatedBy" : "Sergiy", "CreationTimestamp" : "2021-08-03 14:39:25", "ModifiedBy" : "Sergiy", "PrimaryKey" : "FA46DE03-6CC2-BF4F-9433-C7DAF7368302", "allDay" : "", "backgroundColor" : "", "borderColor" : "", "className" : "Appointment", "classNames" : "", "color" : "red", "constraint" : "", "daysOfWeek" : "", "description" : "", "display" : "", "duration" : "", "durationEditable" : "", "editable" : "", "end" : "2021-08-22T08:15:00", "endRecur" : "", "endTime" : "", "eventBackgroundColor" : "green", "eventColor" : "red", "id" : "EV000000000808", "isReminderOn" : "1", "leadIdFK" : "LD-037-8764", "oldID" : "Ev0069616", "overlap" : "", "rrule" : "Sergiy", "start" : "2021-08-22T08:00:00", "startEditable" : "", "startRecur" : "", "startTime" : "", "status" : "", "textColor" : "", "title" : "event 1", "url" : "" }, { "CreatedBy" : "Sergiy", "CreationTimestamp" : "2021-08-03 14:39:25", "ModifiedBy" : "Sergiy", "PrimaryKey" : "FA46DE03-6CC2-BF4F-9433-C7DAF7368302", "allDay" : "", "backgroundColor" : "", "borderColor" : "", "className" : "Appointment", "classNames" : "", "color" : "red", "constraint" : "", "daysOfWeek" : "", "display" : "", "duration" : "", "durationEditable" : "", "editable" : "", "end" : "2021-08-22T09:15:00", "endRecur" : "", "endTime" : "", "eventBackgroundColor" : "green", "eventColor" : "red", "id" : "2", "isReminderOn" : "1", "leadIdFK" : "LD-999-9991", "oldID" : "Ev00699996", "overlap" : "", "rrule" : "Sergiy", "start" : "2021-08-22T09:00:00", "startEditable" : "", "startRecur" : "", "startTime" : "", "status" : "", "textColor" : "", "title" : "event 2", "url" : "" }, { "CreatedBy" : "Sergiy", "CreationTimestamp" : "2021-08-03 14:39:25", "ModifiedBy" : "Sergiy", "PrimaryKey" : "FA46DE03-6CC2-BF4F-9433-C7DAF7368302", "allDay" : "", "backgroundColor" : "", "borderColor" : "", "className" : "Sergiy", "classNames" : "", "color" : "red", "constraint" : "", "daysOfWeek" : "", "display" : "", "duration" : "", "durationEditable" : "", "editable" : "", "end" : "2021-08-22T09:30:00", "endRecur" : "", "endTime" : "", "eventBackgroundColor" : "green", "eventColor" : "red", "id" : "3", "isReminderOn" : "1", "leadIdFK" : "LD-999-9999", "oldID" : "Ev0069616", "overlap" : "", "rrule" : "Sergiy", "start" : "2021-08-22T09:15:00", "startEditable" : "", "startRecur" : "", "startTime" : "", "status" : "", "textColor" : "", "title" : "event 3", "url" : "" } ]

However, if we reduce the number of fields or remove 3rd element of the array fm-webviewer-bridge returns data properly. Looks like there is a limit to how much raw data could be passed via fm-webviewer-bridge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions