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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
ca43eeee
Commit
ca43eeee
authored
Aug 23, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_pdm: software product must be linked to a project
parent
f34af04b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
110 deletions
+2
-110
master/bt5/slapos_pdm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
...rtalTypePropertySheetTemplateItem/property_sheet_list.xml
+1
-0
master/bt5/slapos_pdm/PropertySheetTemplateItem/portal_property_sheets/SlapOSSoftwareProductConstraint/title_unicity_constraint.xml
...pOSSoftwareProductConstraint/title_unicity_constraint.xml
+0
-110
master/bt5/slapos_pdm/bt/template_portal_type_property_sheet_list
...t5/slapos_pdm/bt/template_portal_type_property_sheet_list
+1
-0
No files found.
master/bt5/slapos_pdm/PortalTypePropertySheetTemplateItem/property_sheet_list.xml
View file @
ca43eeee
...
...
@@ -2,6 +2,7 @@
<portal_type
id=
"Software Product"
>
<item>
DefaultImage
</item>
<item>
SlapOSSoftwareProductConstraint
</item>
<item>
SlapOSVirtualMasterConstraint
</item>
<item>
SlaposCapacity
</item>
</portal_type>
<portal_type
id=
"Software Product Individual Variation"
>
...
...
master/bt5/slapos_pdm/PropertySheetTemplateItem/portal_property_sheets/SlapOSSoftwareProductConstraint/title_unicity_constraint.xml
deleted
100644 → 0
View file @
f34af04b
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"Attribute Unicity Constraint"
module=
"erp5.portal_type"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_identity_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
_range_criterion
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
constraint_property
</string>
</key>
<value>
<tuple>
<string>
title
</string>
</tuple>
</value>
</item>
<item>
<key>
<string>
description
</string>
</key>
<value>
<string>
Title already exists
</string>
</value>
</item>
<item>
<key>
<string>
filter_parameter
</string>
</key>
<value>
<string>
python: {\'portal_type\': object.getPortalType(), \'title\': object.getTitle()}
</string>
</value>
</item>
<item>
<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>
</item>
<item>
<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>
<record
id=
"2"
aka=
"AAAAAAAAAAI="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"3"
aka=
"AAAAAAAAAAM="
>
<pickle>
<global
name=
"PersistentMapping"
module=
"Persistence.mapping"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
data
</string>
</key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_pdm/bt/template_portal_type_property_sheet_list
View file @
ca43eeee
Software Product Individual Variation | SlaposCapacity
Software Product | DefaultImage
Software Product | SlapOSSoftwareProductConstraint
Software Product | SlapOSVirtualMasterConstraint
Software Product | SlaposCapacity
Software Release | SlapOSSoftwareReleaseConstraint
Upgrade Decision | SlapOSVirtualMasterSourceProjectConstraint
\ 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