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

CRUD operations for TaskStore works different in Chrome and Firefox #7768

Closed
chuckn0rris opened this issue Oct 31, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working forum Issues from forum high-priority Urgent to have fixed large-account Reported by large customer OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@chuckn0rris
Copy link

chuckn0rris commented Oct 31, 2023

Forum post

User noticed that problem in Chrome as well, but I was not able to reproduce that in there.

Open demo in Chrome, try to delete task, see 4 responses in the console.

Screen.Recording.2023-10-31.at.12.03.20.mov

Open demo in Firefox, try to delete task, see only 1 responses in the console.

Screen.Recording.2023-10-31.at.12.04.09.mov

Code:

import { TaskStore, ProjectModel, Gantt } from '../../build/gantt.module.js';
import shared from '../_shared/shared.module.js';

const gantt = new Gantt({
    appendTo : 'container',
    project : new ProjectModel({
        taskStore : new TaskStore({
            readUrl: "./tasks.json",
            createUrl: "/api/create",
            updateUrl: "/api/update",
            deleteUrl: "/api/delete",
            writeAllFields: true,
            autoLoad: true,
            autoCommit: true,
        }),
        startDate: "2019-01-12",
    }),
    columns: [
        { type : 'name', width : 250 },
    ],
});
@chuckn0rris chuckn0rris added bug Something isn't working forum Issues from forum large-account Reported by large customer OEM OEM customer labels Oct 31, 2023
@isglass isglass added the high-priority Urgent to have fixed label Nov 3, 2023
@JockeLindberg JockeLindberg self-assigned this Nov 3, 2023
@JockeLindberg JockeLindberg added this to the 5.6.1 milestone Nov 10, 2023
@JockeLindberg JockeLindberg added resolved Fixed but not yet released (available in the nightly builds) and removed in progress labels Nov 10, 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 high-priority Urgent to have fixed large-account Reported by large customer OEM OEM customer resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

3 participants