[Rt-commit] rt branch, 4.2/initialdata-cf-acl, updated. rt-4.2.4-99-g141ca2c

Kevin Falcone falcone at bestpractical.com
Wed Jun 4 14:01:35 EDT 2014


The branch, 4.2/initialdata-cf-acl has been updated
       via  141ca2cc634c70c543677aae679ac46d6720234a (commit)
      from  e8be193456ff45228480c97adaefc5352c1b78ef (commit)

Summary of changes:
 t/data/initialdata/initialdata | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

- Log -----------------------------------------------------------------
commit 141ca2cc634c70c543677aae679ac46d6720234a
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Jun 4 13:52:16 2014 -0400

    Test of the Queue/ObjectId failures
    
    These tests are based on the RTIR initialdata file which identified the
    problem and fail on 4.2-trunk because of warnings generated during the
    initialdata load of t/api/initialdata.t
    
    I suspect we want to enhance our initialdata sample with any further
    Handle::InsertData hacking (or docs/initialdata.pod updates).

diff --git a/t/data/initialdata/initialdata b/t/data/initialdata/initialdata
index 355ddb5..4d45a4e 100644
--- a/t/data/initialdata/initialdata
+++ b/t/data/initialdata/initialdata
@@ -44,3 +44,28 @@
         Stage          => 'TransactionBatch',
     },
 );
+
+ at CustomFields = (
+    {
+        Name        => 'Favorite color',
+        Type        => 'FreeformSingle',
+        LookupType  => 'RT::Queue-RT::Ticket',
+        Queue       => 'Test Queue',
+    },
+);
+
+ at Groups = (
+    {
+        Name        => 'Test Employees',
+        Description => 'All of the employees of my company',
+    }
+);
+
+ at ACL = (
+    { GroupId       => 'Test Employees',
+      GroupDomain   => 'UserDefined',
+      CF            => 'Favorite Color',
+      Queue         => 'Test Queue',
+      Right         => 'SeeCustomField',
+    },
+);

-----------------------------------------------------------------------


More information about the rt-commit mailing list