Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
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
Jérome Perrin
erp5
Commits
386b0e6b
Commit
386b0e6b
authored
May 27, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix list method returning duplicate uids
parent
e046d8f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
...eItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
+8
-3
bt5/erp5_ui_test/bt/revision
bt5/erp5_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
View file @
386b0e6b
...
...
@@ -51,11 +51,16 @@
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
from Products.PythonScripts.standard import Object\n
\n
def makeObject(uid):\n
def getUid():\n
return uid\n
return Object(uid=uid, getUid=getUid)\n
\n
object_list = []\n
for i in range(3):\n
object_list.append(\n
Object(uid=\'new_%s\' % i,\n
getUid = lambda: \'new_%s\' % i))\n
object_list.append(makeObject(\'new_%s\' % i))\n
\n
return object_list\n
</string>
</value>
</item>
...
...
bt5/erp5_ui_test/bt/revision
View file @
386b0e6b
710
\ No newline at end of file
711
\ 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