Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
37a6f91d
Commit
37a6f91d
authored
Oct 05, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix constraint migration.
Some conditions were missing (WHY??).
parent
3326057a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
197 additions
and
1 deletion
+197
-1
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibAssignmentConstraint/person_state_constraint.xml
...ets/VifibAssignmentConstraint/person_state_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibComputerConstraint/reference_unicity_constraint.xml
.../VifibComputerConstraint/reference_unicity_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibEmailConstraint/email_unicity_constraint.xml
..._sheets/VifibEmailConstraint/email_unicity_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/computer_state_constraint.xml
...sePackingListLineConstraint/computer_state_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/resource_state_constraint.xml
...sePackingListLineConstraint/resource_state_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/software_release_state_constraint.xml
...gListLineConstraint/software_release_state_constraint.xml
+28
-0
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSoftwareProductConstraint/title_unicity_constraint.xml
...fibSoftwareProductConstraint/title_unicity_constraint.xml
+28
-0
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibAssignmentConstraint/person_state_constraint.xml
View file @
37a6f91d
...
...
@@ -32,6 +32,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
person_state_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
membership_portal_type_list
</string>
</key>
<value>
<string>
python: (\'Person\',)
</string>
</value>
...
...
@@ -44,6 +56,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Membership State Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getValidationState() in ("updated", "draft")
</string>
</value>
</item>
<item>
<key>
<string>
workflow_state_list
</string>
</key>
<value>
<string>
python: \'validated\'
</string>
</value>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibComputerConstraint/reference_unicity_constraint.xml
View file @
37a6f91d
...
...
@@ -40,6 +40,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
reference_unicity_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
message_invalid_attribute_unicity
</string>
</key>
<value>
<string>
Reference must be unique
</string>
</value>
...
...
@@ -48,6 +60,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Attribute Unicity Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getReference("") != ""
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibEmailConstraint/email_unicity_constraint.xml
View file @
37a6f91d
...
...
@@ -40,6 +40,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
email_unicity_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
message_invalid_attribute_unicity
</string>
</key>
<value>
<string>
Email must be unique
</string>
</value>
...
...
@@ -48,6 +60,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Attribute Unicity Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getCoordinateText("") != ""
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/computer_state_constraint.xml
View file @
37a6f91d
...
...
@@ -32,6 +32,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
computer_state_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
membership_portal_type_list
</string>
</key>
<value>
<string>
python: (\'Computer\',)
</string>
</value>
...
...
@@ -44,6 +56,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Membership State Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getAggregateValue(portal_type=\'Computer\') is not None
</string>
</value>
</item>
<item>
<key>
<string>
workflow_state_list
</string>
</key>
<value>
<string>
python: \'validated\'
</string>
</value>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/resource_state_constraint.xml
View file @
37a6f91d
...
...
@@ -32,6 +32,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
resource_state_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
membership_portal_type_list
</string>
</key>
<value>
<string>
python: (\'Service\',)
</string>
</value>
...
...
@@ -44,6 +56,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Membership State Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getResourceValue() is not None
</string>
</value>
</item>
<item>
<key>
<string>
workflow_state_list
</string>
</key>
<value>
<string>
python: \'validated\'
</string>
</value>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibPurchasePackingListLineConstraint/software_release_state_constraint.xml
View file @
37a6f91d
...
...
@@ -32,6 +32,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
software_release_state_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
membership_portal_type_list
</string>
</key>
<value>
<string>
python: (\'Software Release\',)
</string>
</value>
...
...
@@ -44,6 +56,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Category Membership State Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getAggregateValue(portal_type=\'Software Release\') is not None
</string>
</value>
</item>
<item>
<key>
<string>
workflow_state_list
</string>
</key>
<value>
<string>
python: (\'shared\', \'released\', \'published\')
</string>
</value>
...
...
master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSoftwareProductConstraint/title_unicity_constraint.xml
View file @
37a6f91d
...
...
@@ -38,6 +38,18 @@
<key>
<string>
id
</string>
</key>
<value>
<string>
title_unicity_constraint
</string>
</value>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
message_invalid_attribute_unicity
</string>
</key>
<value>
<string>
Title already exists
</string>
</value>
...
...
@@ -46,6 +58,22 @@
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Attribute Unicity Constraint
</string>
</value>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<key>
<string>
test_tales_expression
</string>
</key>
<value>
<string>
python: object.getTitle("") != ""
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
...
...
master/bt5/vifib_erp5/bt/revision
View file @
37a6f91d
207
\ No newline at end of file
208
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment