gregh3269 commented on code in PR #247:
URL: https://github.com/apache/roller/pull/247#discussion_r4562392879


##########
app/src/main/java/org/apache/roller/weblogger/business/jpa/JPAWeblogManagerImpl.java:
##########
@@ -110,6 +114,18 @@ public void removeWeblog(Weblog weblog) throws 
WebloggerException {
         
         // remove contents first, then remove weblog
         this.removeWeblogContents(weblog);
+        
+        // Clear frontpage weblog if set
+        if (WebloggerRuntimeConfig.isFrontPageWeblog(weblog.getHandle())) {

Review Comment:
   weblog.getHandle() should never be null?   
   
   <img width="954" height="139" alt="image" 
src="https://github.com/user-attachments/assets/b399861c-5f36-4fa4-83aa-e768106b0dd3";
 />
   
   If it has no value ie blank, something had gone wrong else ware, ie out of 
scope of this mod. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to