Skip to content

Commit

Permalink
[BasicUI] Fix build after a method renaming in core framework (#2557)
Browse files Browse the repository at this point in the history
Related to openhab/openhab-core#3652 that renamed method setPageId into
updateSubscriptionLocation

Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored May 2, 2024
1 parent 14a6c9e commit 93f758b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ protected void service(@NonNullByDefault({}) HttpServletRequest req, @NonNullByD
// we are at the homepage, so we render the children of the sitemap root node
if (subscriptionId != null) {
if (subscriptions.exists(subscriptionId)) {
subscriptions.setPageId(subscriptionId, sitemap.getName(), sitemapName);
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), sitemapName);
} else {
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
}
Expand All @@ -185,7 +185,7 @@ protected void service(@NonNullByDefault({}) HttpServletRequest req, @NonNullByD
// we are on some subpage, so we have to render the children of the widget that has been selected
if (subscriptionId != null) {
if (subscriptions.exists(subscriptionId)) {
subscriptions.setPageId(subscriptionId, sitemap.getName(), widgetId);
subscriptions.updateSubscriptionLocation(subscriptionId, sitemap.getName(), widgetId);
} else {
logger.debug("Basic UI requested a non-existing event subscription id ({})", subscriptionId);
}
Expand Down

0 comments on commit 93f758b

Please sign in to comment.