diff options
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index a7059c1..100f158 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -228,8 +228,12 @@ KAsync::Job<qint64> Pipeline::modifiedEntity(void const *command, size_t size) | |||
228 | } | 228 | } |
229 | auto modifyEntity = Commands::GetModifyEntity(command); | 229 | auto modifyEntity = Commands::GetModifyEntity(command); |
230 | Q_ASSERT(modifyEntity); | 230 | Q_ASSERT(modifyEntity); |
231 | Q_ASSERT(modifyEntity->modifiedProperties()); | 231 | QList<QByteArray> changeset; |
232 | auto changeset = BufferUtils::fromVector(*modifyEntity->modifiedProperties()); | 232 | if (modifyEntity->modifiedProperties()) { |
233 | changeset = BufferUtils::fromVector(*modifyEntity->modifiedProperties()); | ||
234 | } else { | ||
235 | Warning() << "No changeset available"; | ||
236 | } | ||
233 | const qint64 baseRevision = modifyEntity->revision(); | 237 | const qint64 baseRevision = modifyEntity->revision(); |
234 | const bool replayToSource = modifyEntity->replayToSource(); | 238 | const bool replayToSource = modifyEntity->replayToSource(); |
235 | // TODO rename modifyEntity->domainType to bufferType | 239 | // TODO rename modifyEntity->domainType to bufferType |