forked from zkoss/zk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZK-5598: CKEditor requests ExecutionImpl.encodeURL with null value, c…
…auses NPE in embedded mode (zkoss#3094) Co-authored-by: Jumper Chen <[email protected]>
- Loading branch information
1 parent
a1f09ca
commit 6ba34ad
Showing
5 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!-- | ||
B100-ZK-5598.html | ||
Purpose: | ||
Description: | ||
History: | ||
Fri Dec 15 15:40:13 CST 2023, Created by jamson | ||
Copyright (C) 2023 Potix Corporation. All Rights Reserved. | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<script src="http://localhost:8080/zktest/zkau/web/js/zkmax/embedded/index.js"></script> | ||
</head> | ||
<body> | ||
<div>Set Library Property org.zkoss.web.servlet.http.embedded.enabled to true in zk.xml to enable embedded mode.</div> | ||
<div>If you didn't see the ckeditor below, the bug still exist</div> | ||
<div>(This bug triggered when use absolute-path to embedded a zul.</div> | ||
<div id="zkapp"/> | ||
<script>zEmbedded.load('zkapp', 'http://localhost:8080/zktest/test2/B100-ZK-5598.zul');</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
B100-ZK-5598.zul | ||
Purpose: | ||
Description: | ||
History: | ||
Fri Dec 15 15:40:05 CST 2023, Created by jamson | ||
Copyright (C) 2023 Potix Corporation. All Rights Reserved. | ||
--> | ||
<zk> | ||
<ckeditor value="To test this issue, you have to open B100-ZK-5598.html and follow the guides."/> | ||
</zk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters