Book a Demo

Author Topic: Unable to release checkedout package  (Read 7169 times)

Luc De Graef

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Unable to release checkedout package
« on: June 25, 2012, 06:47:54 pm »
Hello,
Working with EA 9.3 & SQL-server based repository, connected to a SVN version control environment.
- I checked out a package on a laptop
- Laptop was formatted
- Reinstalled software & connectivity to SQL Server repo and SVN repo

I am unable to check-in , to undo the checkout or to remove the package from version control.

Any idea?

Luc

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Unable to release checkedout package
« Reply #1 on: June 25, 2012, 07:58:45 pm »
Hello Luc,

I assume your Version Control Settings are correct.

Try:
  • Project
  • Version Control
  • Re-synch status of all packages


Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

Luc De Graef

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to release checkedout package
« Reply #2 on: June 25, 2012, 10:16:46 pm »
Hello,

When executing that action, I get an error :

   Package: '01-021 Invoicing & TOS Functional TB' - WARNING: Package marked as 'CheckedIn', but XMI file reported as 'Out To Other' - cannot synchronize to this state.  Package 'CheckedOutTo=' value remains empty.      

Can I somehow clear that flag in the XMI file?

Luc

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Unable to release checkedout package
« Reply #3 on: June 25, 2012, 11:11:39 pm »
Hello Luc,

the idea behind the above command is to deal with differences about the package state regarding Checkin/Checkout.. between the model and the SVN. After the successful command EA should have updated the SQL database according to SVN. It should be checked in or checked to you.

You can try:
- Right Click Package
- Package Control
- Re-synch Status wirh CM Provider

If in SVN the package is checked out and you know the changes you can checkin the package with SVN and resynchronize with the above commands.

To my opinion there is no need to change the XML-File or the SQL Server Database.

May be someone else has more experience with such cases.

Good luck,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to release checkedout package
« Reply #4 on: June 25, 2012, 11:36:15 pm »
Another shot in the dark: assure that no package is checked out via the native VC client. Force an undo checkout. Then run the above check once again. That should fix it.

q.

Luc De Graef

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Unable to release checkedout package
« Reply #5 on: June 25, 2012, 11:58:56 pm »
Hello,
The native Tortoise client does not reveal a checkout.
As a reminder: my laptop crashed and was re-initialized. All software was redeployed. So the 'checkout' information is probably only available  on the 'old laptop image'.

Luc

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Unable to release checkedout package
« Reply #6 on: June 26, 2012, 01:49:30 am »
Check out everything using Tortoise
Undo checkout again via Tortoise
Rerun EA-check above

You should be somehow familiar with the way a VC works.

q.