Commit 1acd3168 authored by Yusei Tahara's avatar Yusei Tahara

2008-09-24 yusei

* Fixed a bug in Requirement_generateRequirements.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23788 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a98d824
...@@ -132,8 +132,9 @@ for requirement_item in requirements_items:\n ...@@ -132,8 +132,9 @@ for requirement_item in requirements_items:\n
clean_requirements_key_list.append(new_1st_level_requirement_title)\n clean_requirements_key_list.append(new_1st_level_requirement_title)\n
\n \n
int_index = 0\n int_index = 0\n
if len(destination_obj.contentValues()):\n destination_object_subobject_list = destination_obj.contentValues(checked_permission=\'View\')\n
int_index = max([req.getIntIndex() for req in destination_obj.contentValues()])\n if len(destination_object_subobject_list):\n
int_index = max([req.getIntIndex() for req in destination_object_subobject_list])\n
\n \n
sub_requirement_int_index = 0\n sub_requirement_int_index = 0\n
int_index_step = 10\n int_index_step = 10\n
...@@ -227,6 +228,7 @@ return context.Base_redirect(form_id,\n ...@@ -227,6 +228,7 @@ return context.Base_redirect(form_id,\n
<string>new_1st_level_requirement_title</string> <string>new_1st_level_requirement_title</string>
<string>new_2nd_level_feat</string> <string>new_2nd_level_feat</string>
<string>int_index</string> <string>int_index</string>
<string>destination_object_subobject_list</string>
<string>len</string> <string>len</string>
<string>max</string> <string>max</string>
<string>append</string> <string>append</string>
......
2008-09-24 yusei
* Fixed a bug in Requirement_generateRequirements.
2008-09-22 yusei 2008-09-22 yusei
* Fixed Generate References bug. * Fixed Generate References bug.
......
605 607
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment