Edgewall Software

Ticket #6143 (reopened defect)

Opened 15 months ago

Last modified 2 months ago

Error on browsing Plone collective

Reported by: enzo.cesanelli@… Owned by: cboos
Priority: high Milestone:
Component: version control Version: 0.10.4
Severity: normal Keywords:
Cc:

Description (last modified by cboos) (diff)

If you try to browse the collective sorted by reversed date order on:
http://dev.plone.org/collective/browser/?order=date&desc=1

This error is generated:

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 406, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 143, in process_request
    self._render_directory(req, repos, node, rev)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 189, in _render_directory
    info = sorted(info, key=browse_order, reverse=desc)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 188, in browse_order
    return a['is_dir'] and dir_order or 0, file_order(a)
  File "/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py", line 176, in file_order
    return changes[a['rev']]['date_seconds']
KeyError: 'date_seconds' 

Attachments

Change History

  Changed 15 months ago by cboos

  • owner changed from jonas to cboos
  • component changed from general to version control
  • description modified (diff)
  • milestone changed from not applicable to 0.10.5

Another symptom of the changeset info being used but not provided (probably due to a permission check).

Note: see get_changes in trac/versioncontrol/web_ui/util.py.

  Changed 10 months ago by cboos

  • status changed from new to closed
  • resolution set to wontfix
  • milestone 0.10.5 deleted

Actually this is problem that can be located to http://dev.plone.org/collective/browser/root/EasyShop/branches/diefenbach-3.0 and the fact that there's a missing changeset [51954].

Probably consecutive to another occurrence of the issue #5440.

follow-up: ↓ 4   Changed 10 months ago by enzo.cesanelli@…

I've noted the issue to Kai, the mantainer of EasyShop?. He fixed it and now the Plone Collective by date works again!

in reply to: ↑ 3   Changed 10 months ago by cboos

Replying to enzo.cesanelli@gmail.com:

I've noted the issue to Kai, the mantainer of EasyShop?. He fixed it ...

I'm curious how. Did something had to be done at the SVN level or was it only a matter of doing the resync (full or for that revision only)?

  Changed 2 months ago by enzo.cesanelli@…

  • status changed from closed to reopened
  • resolution wontfix deleted

Same issue, again... :( Does not exist any way to prevent it? Thanks,

Enzo

  Changed 2 months ago by cboos

This time it's PloneServicesCenter/trunk/i18n and r74514 which didn't "sync". As usual, no idea why...

Is that changeset "normal" at the svn level? i.e. does a svn log --xml --verbose -r74514 work? (what's the svn URL by the way?)

Add/Change #6143 (Error on browsing Plone collective)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.