CMFActivity: use pformat instead of repr in ZMI's Activities tab
This improves readability when activity_kw, args or kw are big.
Showing
-
Owner
This is a good change, thank you.
Nevertheless, I think I should point out that relying on "large" activity arguments is a bad idea in general. What "large" means is of course fuzzy. As a rule of thumb I would recommend avoiding going over 10kB:
- document path ? fine
- list of 200 paths, possibly with a few small other values associated with each ? probably fine
- same with 100k items ? bad
- email body ? bad, store in ZODB and pass its path to the activity
- document content ? bad, store in ZODB and pass its path to the activity
Please register or sign in to comment