Skip to content

SRF 5.0.0 with datatables : restore support for datatype Page in printouts #1033

@D-Groenewegen

Description

@D-Groenewegen

When I recently tried the datatables format, I merely got a plain table and the browser reported Uncaught TypeError: can't access property "scroller", options is undefined. If I add |link=none, the error message is instead Uncaught TypeError: can't access property "result", data.query is undefined. The ultimate cause for both message is probably the same because when I log the value of data that is received by the init function, it proves to be false. The getData() method fails for some reason.

I have kept all settings that are specific to datatables at their defaults.

The format worked again when I removed most of the property printouts. Those with data type 'Text' or 'Date' do not seem to be causing any trouble but as soon as I add a property of datatype 'Page', the above issue appears again.

Sincere apologies if this issue was fixed by one of the more recent commits! I did look through them but did not spot anything that seemed relevant.

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