forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# breaking ## What modules/apps/knowledge-base/knowledge-base-api/src/main/java/com/liferay/knowledge/base/service/KBArticleLocalService.java Now there are 2 methods `unlockKBArticle()` replacing the previous one, and both of them need the `userId` as a parameter. ## Why The method `unlockKBArticle(long userId, long resourcePrimKey)` needs the `userId` parameter to check for the ownership of the lock, to avoid inadvertent unlocking of a Knowledge Base Article locked by a different user. Instead, the method `unlockKBArticle(long userId, long resourcePrimKey, boolean force)` with the `force` parameter set to `true`, is used to explicitly force the unlock, no matter the owner of the lock. ----
- Loading branch information
1 parent
2cfe6c2
commit 774ca21
Showing
6 changed files
with
24 additions
and
8 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
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
2 changes: 1 addition & 1 deletion
2
...se/knowledge-base-api/src/main/resources/com/liferay/knowledge/base/exception/packageinfo
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 |
---|---|---|
@@ -1 +1 @@ | ||
version 3.2.0 | ||
version 3.3.0 |
2 changes: 1 addition & 1 deletion
2
...base/knowledge-base-api/src/main/resources/com/liferay/knowledge/base/service/packageinfo
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 |
---|---|---|
@@ -1 +1 @@ | ||
version 13.0.0 | ||
version 14.0.0 |