Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3018,10 +3018,12 @@ else if (DataSourceUtils.VIEW_DATASOURCE.equals(tableNode.getServerName()))
{
changedEditing.put(child.getUUID(), editingPersist);
}
}

// TODO maybe here update used DB severs/tables here instead of sooner? or maybe both now and before... (there is another todo added in the same commit in SolutionDeserializer where it currently does that)

}

// Update solution server proxies after all persists are fully processed including deletions.
// This ensures the data source collection reflects the current state of the solution.
ModelUtils.updateSolutionServerProxies(solution, ApplicationServerRegistry.get().getDeveloperRepository());

// update the last modified time for the web client.
solution.updateLastModifiedTime();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,11 +326,11 @@ public Object visit(IPersist o)
return CONTINUE_TRAVERSAL;
}

});
// TODO isn't this done too soon? I mean a deleted form from disk for example would not yet be removed from the solution at this point right? (see the other TODO that was added in ServoyModel in the same commit)
ModelUtils.updateSolutionServerProxies(solution, repository);
});

// ModelUtils.updateSolutionServerProxies() moved to ServoyModel.handleChangedFiles()
// for better timing - after all persists are fully processed including deletions
return changedFilesCopy; // what remains of the day
}
catch (Exception e)
Expand Down