revert Menu.is_public requiredness
authorMonish Deb <monish.deb@jmaconsulting.biz>
Sat, 9 Apr 2022 02:05:54 +0000 (07:35 +0530)
committerMonish Deb <monish.deb@jmaconsulting.biz>
Thu, 14 Apr 2022 04:36:02 +0000 (10:06 +0530)
CRM/ACL/DAO/ACLEntityRole.php
CRM/Upgrade/Incremental/php/FiveFortyNine/ACL.bool.php
CRM/Upgrade/Incremental/php/FiveFortyNine/Report.bool.php
xml/schema/ACL/ACLEntityRole.xml
xml/schema/Event/ParticipantStatusType.xml
xml/schema/Financial/PaymentProcessorType.xml

index 5d03b57ff5d4a5baa08a9439cba79dd216a6c15c..b88aceb5d6da054051254618ae8bdf1ecd8ecc42 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/ACL/ACLEntityRole.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:9c4c402f2b82415b38365ed3293e0b26)
+ * (GenCodeChecksum:b7a657943e1cf6e84d93e4b729fe7d10)
  */
 
 /**
@@ -188,7 +188,7 @@ class CRM_ACL_DAO_ACLEntityRole extends CRM_Core_DAO {
           'description' => ts('Is this property active?'),
           'required' => TRUE,
           'where' => 'civicrm_acl_entity_role.is_active',
-          'default' => '0',
+          'default' => '1',
           'table_name' => 'civicrm_acl_entity_role',
           'entity' => 'ACLEntityRole',
           'bao' => 'CRM_ACL_BAO_ACLEntityRole',
index bfabe0b6babca7834fbd851170bf1a19e8e4db86..3eaf4d9ec5e01e3a56be18af4c4f91dd47cb3d8d 100644 (file)
@@ -1,4 +1,6 @@
 <?php
 return [
-  // DAO changed, but nothing in upgrader?
+  'civicrm_acl_entity_role' => [
+    'is_active' => "DEFAULT 1 COMMENT 'Is this property active?'",
+  ],
 ];
index 545e3ede8e82dd66b823c6cf9fa4094c6dda9f84..ec96aabdb88a3c2cb1cbc7999bfa5123ae3d8caa 100644 (file)
@@ -1,11 +1,7 @@
 <?php
 return [
-  'civicrm_report_instance' => [
-    'is_active' => "DEFAULT 0 COMMENT 'Is this entry active?'",
-    'is_reserved' => "DEFAULT 0",
-  ],
   'civicrm_report_instance' => [
     'is_active' => "DEFAULT 1 COMMENT 'Is this entry active?'",
+    'is_reserved' => "DEFAULT 0",
   ],
-    // WTF
 ];
index d4bab2912e23b7ab8f5d670988fe630526461d57..d7d710bfb154c39c4c70c48a51a80f026c2f50ca 100644 (file)
@@ -62,7 +62,7 @@
     <title>ACL Entity Role is Active</title>
     <type>boolean</type>
     <comment>Is this property active?</comment>
-    <default>0</default>
+    <default>1</default>
     <required>true</required>
     <add>1.6</add>
   </field>
index 5899eafec9b324a1f5695b92b06068c5512c379f..03d0265645bb94e5538cffbebf1be94210a20ac4 100644 (file)
@@ -70,9 +70,8 @@
     <name>is_active</name>
     <title>Participant Status is Active</title>
     <type>boolean</type>
-    <default>1</default>
     <comment>whether this status type is active</comment>
-    <default>0</default>
+    <default>1</default>
     <required>true</required>
     <add>3.0</add>
   </field>
index ab3e93b9ef6f074010e403f05edb020fb2311225..3d4f076f705604aa3e0ae1b873fdc9749d359c92 100644 (file)
@@ -55,7 +55,6 @@
     <required>true</required>
     <comment>Is this processor active?</comment>
     <add>1.8</add>
-    <default>1</default>
   </field>
   <field>
     <name>is_default</name>
@@ -65,7 +64,6 @@
     <required>true</required>
     <comment>Is this processor the default?</comment>
     <add>1.8</add>
-    <default>0</default>
   </field>
   <index>
     <name>UI_name</name>