Content-Length: 257969 | pFad | http://github.com/lowcoder-org/lowcoder/commit/1f6ed884d7bfb9944bf4ae162bcdd75b9b1cf4bd

98 Merge pull request #1512 from lowcoder-org/fix/null_category · lowcoder-org/lowcoder@1f6ed88 · GitHub
Skip to content

Commit 1f6ed88

Browse files
authored
Merge pull request #1512 from lowcoder-org/fix/null_category
Fix null pointer exception when editingApplicationDSL is null
2 parents 2894883 + 36f0611 commit 1f6ed88

File tree

1 file changed

+1
-1
lines changed
  • server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/application/model

1 file changed

+1
-1
lines changed

server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/application/model/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public Mono<ApplicationQuery> getQueryByViewModeAndQueryId(boolean isViewMode, S
142142
public Mono<Map<String, Object>> getLiveApplicationDsl(ApplicationRecordService applicationRecordService) {
143143
return applicationRecordService.getLatestRecordByApplicationId(this.getId())
144144
.map(ApplicationVersion::getApplicationDSL)
145-
.switchIfEmpty(Mono.just(editingApplicationDSL));
145+
.switchIfEmpty(Mono.just(getEditingApplicationDSL()));
146146
}
147147

148148
public String getOrganizationId() {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/lowcoder-org/lowcoder/commit/1f6ed884d7bfb9944bf4ae162bcdd75b9b1cf4bd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy