Discussion:
[Erp5-dev] Folder_viewContentList - a small improvement
Bartłomiej Górny
2006-02-20 19:44:52 UTC
Permalink
A proposed solution to a minor, but annoying problem with deleting
objects from the Folder_viewContentList form:

All columns (id, title, portal_type and description) are searchable -
the search box on 'portal_type' column always displays None, and when
you try to delete an object, the Folder_viewDeleteDialog gets it as an
argument, and displays an empty list, since there are no objects of
portal_type 'None'.

I'd suggest to state explicitly which columns in Folder_viewContentList
are searchable - and set only id, title and description.

Bartek
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
Yoshinori Okuji
2006-02-20 20:05:27 UTC
Permalink
Post by Bartłomiej Górny
A proposed solution to a minor, but annoying problem with deleting
All columns (id, title, portal_type and description) are searchable -
the search box on 'portal_type' column always displays None, and when
you try to delete an object, the Folder_viewDeleteDialog gets it as an
argument, and displays an empty list, since there are no objects of
portal_type 'None'.
I'd suggest to state explicitly which columns in Folder_viewContentList
are searchable - and set only id, title and description.
Bartek
I fixed this bug many weeks ago, I think. Indeed, it does not happen in my
box.

YO
--
Yoshinori Okuji, Nexedi Research Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com
Bartłomiej Górny
2006-02-21 12:45:06 UTC
Permalink
Post by Yoshinori Okuji
Post by Bartłomiej Górny
A proposed solution to a minor, but annoying problem with deleting
All columns (id, title, portal_type and description) are searchable -
the search box on 'portal_type' column always displays None, and when
you try to delete an object, the Folder_viewDeleteDialog gets it as an
argument, and displays an empty list, since there are no objects of
portal_type 'None'.
I'd suggest to state explicitly which columns in Folder_viewContentList
are searchable - and set only id, title and description.
Bartek
I fixed this bug many weeks ago, I think. Indeed, it does not happen in my
box.
Ok, I'll do a full checkout and see if it works.

BTW, do you have a bugtracker where, if I find a bug, I could check if
it is already reported/taken care of?

B.
Post by Yoshinori Okuji
YO
--
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"
Loading...