You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2014/01/28 22:35:32 UTC

Re: [Apache Bloodhound] #539: Product-scope TracAdmin commands don't take effect until tracd is restarted

#539: Product-scope TracAdmin commands don't take effect until tracd is restarted
------------------------+-------------------------------
  Reporter:  rjollos    |      Owner:  rjollos
      Type:  defect     |     Status:  review
  Priority:  major      |  Milestone:  Release 8
 Component:  dashboard  |    Version:
Resolution:             |   Keywords:  tracadmin command
------------------------+-------------------------------

Comment (by rjollos):

 I've tested with the latest patches, but I'm still seeing the issues
 described in comment:description and comment:3:

  1. Grant a permission to a subject through web admin.
  1. Refresh the page. On repeated refresh the action will sometimes be
 associated with the subject, and other times not.

 This was also reported on the
 [http://markmail.org/message/rfurv6tzjbqhgomt mailing list] today.

 The same general issue can be seen when renaming wiki pages and refreshing
 the TitleIndex. The old or new page will randomly appear with each
 refresh.

  1. Open trac-admin:
  {{{#!sh
  $ trac-admin $env
  > product admin prod1 config set components trac.wiki.* disabled
 }}}
  1. Refresh `/products/prod1/wiki`. The component will not be disabled
 until `tracd` is restarted.

 All of these issues were seen with TracStandalone (make sure to //not//
 pass the `-r` flag to `tracd`).

 The `ProductEnvironment` is retrieved from the cache when the page is
 refreshed, and I don't see a mechanism by which the cache will be
 invalidated when a request is sent and the `ProductEnvironment` is
 retrieved from the cache.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/539#comment:17>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker