T.R | Title | User | Personal Name | Date | Lines |
---|
1371.1 | The solution, I hope ... | UTRTSC::SMEETS | It's a long way to the south | Mon Sep 07 1992 15:25 | 20 |
| Hi Tansu,
re 1.
select in CM the element of which the status is "Element is being
edited by MANAGER"
Type: <WRITE CHANGE CM$SITELOG %KEY = $CM_KEY,LOCK_STATUS="Free"
<WRITE CHANGE CM$SITELOG %KEY = $CM_KEY,LOCK_FLAG="0"
<DUMP_CACHE
re 2.
Select form CM$FORM$LIBS and press FIND. Look if there's an entry for
DEVELOP.FLB with a lock flag which is not equal to 0. If so, change the
entry and make the lock flag 0.
Succes,
Martin Smeets
Digital Holland.
|
1371.2 | 'Being edited' & OA$USER = Question | CESARE::EIJS | All in 1 Piece | Mon Sep 07 1992 15:28 | 46 |
|
Hi Tansu,
Re 1)
If an element is in status 'Being edited' and you are the 'Last User',
CM will inform you who is editing the form BUT also asks you the
question if you want to continue.
E.g.:
+-----------------------------------------------------------------+
| EDIT operation |
| |
| Note: Element is being edited by MANAGER |
| |
| |
| |
| Do you want to continue? [Y/N] |
+-----------------------------------------------------------------+
Weren't you asked the question?
You won't be asked if you were another user than the user last editing
this element.
Re 2).
If you know for sure you are the only one using the form library,
perform:
SM CSZ LFL MFL
Modify the record in that the 'Last user' eqs "" and 'Lock flag' eq
"0".
Also check why this might have happened. However, the only reason from
the top of my head is a sudden death of ALL-IN-1 in the middle of
replacing a form in a form library (that would also explain the status
of the element 'Being edited').
Ciao,
Simon
|
1371.3 | ANd I forgot... | CESARE::EIJS | All in 1 Piece | Mon Sep 07 1992 15:35 | 23 |
|
Oeps,
You should modify record OA$SITE_DEV_<appl area>:DEVELOP.FLB.
Another thing to check is if you can get a lock on record:
LOCK_OA$SITE_DEV_<appl area>:DEVELOP.FLB
via:
DATA_FILE OPEN/READ/WRITE CM$LOCK CM$FORM$LIBS
DATA_FILE LOCK/ON CM$LOCK
DATA_FILE GET CM$LOCK "<record>" \GET #STATUS = OA$STATUS
DATA_FILE CLOSE CM$LOCK
GET #STATUS
The value of #STATUS should be 1.
Ciao,
Simon
|
1371.4 | And the Dutch clashed... | CESARE::EIJS | All in 1 Piece | Mon Sep 07 1992 15:47 | 1 |
|
|
1371.5 | | BODRUM::YEGEN | | Mon Sep 07 1992 15:56 | 15 |
| Lots of thanks,
.2 I got being edited after a failure in the form where ALL-IN-1 gave
a stack dump and the status was changed to Being edited.
.2 It did not prompted "DO you want to continue? ". We are currently
using version 2.43, might this be the reason?
The problem with DEVELOP.FLB lasts but I did not try reply 3 yet,
because SM CSZ LFL MFL was showing user as MANAGER and status as 0.
Best regards,
Tansu YEGEN
|
1371.6 | Again, oeps, V3.0 | CESARE::EIJS | All in 1 Piece | Mon Sep 07 1992 16:39 | 17 |
|
Tansu,
Yep, I was too quick and already in V3.0. In V2.3/V2.4 you're not
asked to continue. So reply .1 is the one to follow.
Concerning the locking, and if this is V2.4, check if CM_LOCK_LIB.SCP
contains the following line:
DATA_FILE LOCK/ON CM$LOCK
If you find the line, but the 'CM$LOCK' isn't there, modify the Script,
Move it to live and try again.
Ciao,
Simon
|