Skip to content

Migrate tickets tool doesn't work with VIEW access permission #771

Description

@gitblit

Originally reported on Google Code with ID 475

What steps will reproduce the problem?
1. Have a repository with the VIEW access permission set (gold shield, Restrict View,
Clone, & Push)
2. Attempt to migrate tickets from one service to another
3. Notice the repository is skipped. If all repositories are set like this, 0 tickets
are found.

What is the expected output? What do you see instead?
Tickets in all repositories (regardless of permissions) should be located and migrated.


What version of the product are you using? On what operating system?
GitBlit WAR 1.6.0, JDK 7u55, Windows 7, Tomcat 7.0.54 64-bit.

Command output:
C:\tomcat\webapps\ROOT\WEB-INF\lib>java -cp .\* com.gitblit.MigrateTickets com.gitblit.tickets.BranchTicketService
--baseFolder c:\gitblit
2014-07-28 14:30:17 [INFO ] Basefolder  : c:\gitblit
2014-07-28 14:30:17 [INFO ] Settings    : c:\gitblit\gitblit.properties
2014-07-28 14:30:17 [INFO ] JVM timezone: America/Denver (MDT -0600)
2014-07-28 14:30:17 [INFO ] App timezone: America/Denver (MDT -0600)
2014-07-28 14:30:17 [INFO ] JVM locale  : en_US
2014-07-28 14:30:17 [INFO ] App locale  : <client>
2014-07-28 14:30:17 [INFO ] Repositories folder : c:\gitblit\git
2014-07-28 14:30:17 [INFO ] Identifying repositories...
2014-07-28 14:30:18 [INFO ] 13 repositories identified with calculated folder sizes
in 540 msecs
2014-07-28 14:30:18 [INFO ] Lucene will process indexed branches every 2 minutes.
2014-07-28 14:30:18 [INFO ] Garbage Collector (GC) is disabled.
2014-07-28 14:30:18 [INFO ] Mirror service is disabled.
2014-07-28 14:30:18 [INFO ] Commit cache is disabled
2014-07-28 14:30:18 [INFO ] 0 repository models loaded for anonymous in 45 msecs

Migrated 0 tickets composed of 0 journal entries in 0 seconds

Reported by gibwar on 2014-07-28 20:31:17

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions