Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gitblit opened this issue Aug 12, 2015 · 3 comments
Closed

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

gitblit opened this issue Aug 12, 2015 · 3 comments

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

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

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Reported by James.Moger on 2014-08-12 18:37:47

  • Status changed: Accepted
  • Labels added: Milestone-1.6.1

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Fix pushed to master.

Reported by James.Moger on 2014-09-08 20:41:25

  • Status changed: Queued

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

v1.6.1 released

Reported by James.Moger on 2014-10-20 21:36:03

  • Status changed: Done

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix modified the milestone: 1.6.1 Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants