This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 2efedf59e87f3ec1eb41f1c6de89d7f9fe60626b
Author: Monica-CodingWorld <[email protected]>
AuthorDate: Thu Dec 25 12:44:52 2025 +0530

    FINERACT-2423: Fix invalid Liquibase changelog filename with space
    
    Apply spotless formatting
    
    FINERACT-2423: Add Liquibase changeset to fix invalid 0072 filename
    
    FINERACT-2423: Remove unnecessary whitespace in changelog-tenant.xml
    
    FINERACT-2423: Add Apache license header to Liquibase changelog
    
    FINERACT-2423: Add Apache license header to Liquibase changeset
    
    Fix for FINERACT-2423: [Your fix description]
    
    - Applied code formatting (spotlessApply)
    - Passed SpotBugs checks
    - Passed Checkstyle test checks
---
 .../db/changelog/tenant/changelog-tenant.xml       |  3 +-
 .../parts/0071_1_fix_invalid_filename_for_0072.xml | 46 ++++++++++++++++++++++
 ...72_add_result_and_status_to_command_source.xml} |  3 ++
 3 files changed, 51 insertions(+), 1 deletion(-)

diff --git 
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml 
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
index 2b164480b9..7ec556dae5 100644
--- 
a/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
+++ 
b/fineract-provider/src/main/resources/db/changelog/tenant/changelog-tenant.xml
@@ -91,7 +91,8 @@
     <include 
file="parts/0069_add_unique_constraint_for_reversal_external_id_of_loan_transactions.xml"
 relativeToChangelogFile="true"/>
     <include 
file="parts/0070_add_event_configuration_for_delinquency_range_change_event.xml"
 relativeToChangelogFile="true"/>
     <include 
file="parts/0071_add_external_id_support_for_loan_transaction.xml" 
relativeToChangelogFile="true"/>
-    <include file="parts/0072_add_result_and status_to_command_source.xml" 
relativeToChangelogFile="true" />
+    <include file="parts/0071_1_fix_invalid_filename_for_0072.xml" 
relativeToChangelogFile="true"/>
+    <include file="parts/0072_add_result_and_status_to_command_source.xml" 
relativeToChangelogFile="true" />
     <include file="parts/0073_add_result_status_code_to_command_source.xml" 
relativeToChangelogFile="true" />
     <include file="parts/0074_add_last_cob_business_date_column_to_loan.xml" 
relativeToChangelogFile="true"/>
     <include file="parts/0075_add_processed_commands_purge_job.xml" 
relativeToChangelogFile="true" />
diff --git 
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0071_1_fix_invalid_filename_for_0072.xml
 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0071_1_fix_invalid_filename_for_0072.xml
new file mode 100644
index 0000000000..9201423188
--- /dev/null
+++ 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0071_1_fix_invalid_filename_for_0072.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+<databaseChangeLog
+        xmlns="http://www.liquibase.org/xml/ns/dbchangelog";
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+        xsi:schemaLocation="
+           http://www.liquibase.org/xml/ns/dbchangelog
+           http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd";>
+
+    <changeSet id="fix-0072-invalid-filename"
+               author="fineract"
+               runOnChange="false"
+               runAlways="false">
+
+        <comment>
+            Fix invalid space in Liquibase changelog filename for Windows 
compatibility
+        </comment>
+
+     <update tableName="DATABASECHANGELOG">
+            <column name="filename" 
value="db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml"/>
+            <column name="md5sum" />
+            <where>filename = 'db/changelog/tenant/parts/0072_add_result_and 
status_to_command_source.xml'</where>
+        </update>
+
+    </changeSet>
+
+</databaseChangeLog>
diff --git 
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and
 status_to_command_source.xml 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
similarity index 89%
rename from 
fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and
 status_to_command_source.xml
rename to 
fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
index 1b72369f74..2b6a0094be 100644
--- 
a/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and
 status_to_command_source.xml   
+++ 
b/fineract-provider/src/main/resources/db/changelog/tenant/parts/0072_add_result_and_status_to_command_source.xml
@@ -24,12 +24,14 @@
                    
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog 
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.1.xsd";>
 
     <changeSet id="1" author="fineract" context="postgresql">
+        <validCheckSum>9:b1a2065c6c2f9fba5035e700435a80ab</validCheckSum>
         <renameColumn newColumnName="status"
                        oldColumnName="processing_result_enum"
                        tableName="m_portfolio_command_source"/>
     </changeSet>
 
     <changeSet id="2" author="fineract" context="mysql">
+        <validCheckSum>9:9c4456b507915a0ee7a16edca4cddb46</validCheckSum>
         <renameColumn newColumnName="status"
                       oldColumnName="processing_result_enum"
                       tableName="m_portfolio_command_source"
@@ -37,6 +39,7 @@
     </changeSet>
 
     <changeSet id="3" author="fineract">
+    <validCheckSum>9:b5a7d85155d23aadde3403c2d0a8c75d</validCheckSum>
         <addColumn tableName="m_portfolio_command_source">
             <column name="result" type="TEXT"/>
         </addColumn>

Reply via email to