Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gantt MspExport throws error if export empty project #8021

Closed
chuckn0rris opened this issue Dec 8, 2023 · 0 comments
Closed

Gantt MspExport throws error if export empty project #8021

chuckn0rris opened this issue Dec 8, 2023 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@chuckn0rris
Copy link

Forum post

Hi there,

We've encountered an issue with the Gantt MspExport where an error surfaces if the export is triggered on an empty project.

This is reproducible in the msprojectexport example https://bryntum.com/products/gantt/examples/msprojectexport/ when removing the project.load() call and clicking the export button.

Uncaught TypeError: Cannot read properties of undefined (reading 'internalId')
    at _MspExport.getCalendarsData (gantt.module.js?472449:63:2390227)
    at _MspExport.generateExportData (gantt.module.js?472449:63:2388038)
    at _MspExport.export (gantt.module.js?472449:63:2388604)
    at Button.onAction (ab9d592a-6d42-49c0-8311-993fef326970:60:48)
    at Button.callback (gantt.module.js?472449:10:37593)
    at Button.trigger (gantt.module.js?472449:10:75010)
    at Button.onInternalClick (gantt.module.js?472449:10:786582)
    at HTMLButtonElement.o (gantt.module.js?472449:10:184504)

Please could this be raised as a bug?

Thanks,
Callum

@chuckn0rris chuckn0rris added bug Something isn't working premium forum Issues from forum OEM OEM customer labels Dec 8, 2023
@matsbryntse matsbryntse self-assigned this Dec 9, 2023
@matsbryntse matsbryntse added ready for review Issue is fixed, the pull request is being reviewed and removed ready for review Issue is fixed, the pull request is being reviewed labels Dec 9, 2023
@matsbryntse matsbryntse added this to the 5.6.3 milestone Dec 11, 2023
@SergeyMaltsev SergeyMaltsev added the resolved Fixed but not yet released (available in the nightly builds) label Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer premium resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants