T.R | Title | User | Personal Name | Date | Lines |
---|
2124.1 | Questions ... | IOSG::MAURICE | Because of the architect the building fell down | Tue Jan 19 1993 18:02 | 15 |
| Hi,
Yes you should be able to. The actual error is signalled when the
archive code finds that the TYPE field in the DOCDB is not "ARCHIVE"
(translated).
Are you running on a non-English system? (I suspect a translation
problem).
What is actually in the TYPE fields of the old DODCB records? Is it
different from the new DODCB records?
Cheers
Stuart
|
2124.2 | Yes a langauge version is Used (German) | BACHUS::BHP64::Verbraeken | Luctor et Emergo | Wed Jan 20 1993 16:33 | 45 |
| Yes customer is using the German Language Version
the type field when looking at the docdb
1. when using the original folder in docdb for the lookup
a. for a document archived during 2.4 it reads
ARCHIVED
b. for a document archived during 3.0 it reads
ARCHIV
2. when using the 'ARCHIVED documents' folder in docdb for the lookup.
a. for a document archived during 2.4 it reads
ARCHIVIERT
b. for a document archived during 3.0 it reads
ARCHIV
Or in a table it looks like this.
2.4 3.0
org folder ARCHIVED ARCHIV
archived doc folder ARCHIVIERT ARCHIV
When modifying the docdb type's in both folders to the 3.0 'ARCHIV' settings,
the documents can SUCCESSFULLY be retrieved !
This is ok for 1 doc but the customer has thousands of them !
Any hint or solu or patch is wellcome cause I wouldnot like to do this manually.
regards,
Luc
|
2124.3 | More questions | IOSG::MAURICE | Because of the architect the building fell down | Wed Jan 20 1993 18:10 | 42 |
| Hi,
We need to find the root cause before suggesting a workround. It may be:
a) A problem specific to your customer.
or
b) A problem specific to the German language version
What changed in V3.0 is that the TYPE field in the DOCDB became
translated. There are two symbols that need to be checked:
a) OA$_LANG_MAIL_TYPE. This is used on form DOCDB to control the
field translation, and on an English system looks like:
DOCUMENT,MAIL,ARCHIVE,DISTRIB LIST/DOCUMENT,MAIL,ARCHIVE,DISTRIB LIST
Can you get your version of this.
Also can you please check your version of form DOCDB has the
following Named Data for the TYPE field:
;;TYPE;;
/LANGUAGE=OA$_LANG_MAIL_TYPE
b) OA$ARCH_TYPE. This is the symbol used by Archiving to compare
against the value of the TYPE field in the DOCDB. It should match
the German translation of ARCHIVE in the the symbol
OA$_LANG_MAIL_TYPE.
From your evidence it suggests the two symbols are OK and have the
value "ARCHIV".
One possibility is that the TYPE field was not correct in V2.4, and if
so I think it would be best to have a procedure to convert the
incorrect ones. But before going down this path, it's best to check.
Cheers
Stuart
|
2124.4 | Its better to contact I18N ... | VNABRW::EHRLICH_K | Screaming for vengeance | Thu Jan 21 1993 08:43 | 47 |
| Hi Luc,
yes, you're right. There's really a problem with restoring archived
documents under Version V2.4 within ALL-IN-1 V3.0.
However Germany esp. Frankfurt (the I18N Centre) knows about it and has a fix
for it.
The fix is easy:
We changed the following line in sourcefile OA.A1$MSG (according to
OA$GT_CAB_DOCUMENT_TYPE_TABLE in OALLV.BLI):
from:
LANG_MAIL_TYPE <DOKUMENT,NACHRICHT,ARCHIVIERT,VERTEILERLISTE/DOCUMENT,MAIL,
ARCHIVE,DISTRIB LIST>
to:
LANG_MAIL_TYPE <DOKUMENT,NACHRICHT,ARCHIV,VERTEILERLISTE/DOCUMENT,MAIL,
ARCHIVE,DISTRIB LIST>
Warning: This bug in OA.A1$MSG can corrupt user's DOCDB.DAT.
You've run DOCDB.SCP for each user.
It changes records with TYPE "ARCHIV" or "ARCHIVIERT" to "ARCHIVE".
DOCDB.SCP
GET #DRAWER = #FIRST_DRAWER = FILECAB.%NEXT[""]
.LABEL START
CABINET SET_DRAWER #DRAWER
FOR CAB$ WITH .TYPE:U == "ARCHIV" OR .TYPE:U == "ARCHIVIERT" -
DO get #key = .%key\\ -
get oa$function = 'WRITE CHANGE CAB$ key=#key,TYPE="ARCHIVE"'
GET #DRAWER = FILECAB.%NEXT[#DRAWER]
.IF #DRAWER NES #FIRST_DRAWER .THEN GOTO START
.EXIT
But it's really better to contact Frankfurt because there are some more
language dependend fixes to some problems.
Best Regards
Charly_from_CSC_Vienna_Austria
|
2124.5 | Just German? | IOSG::MAURICE | Because of the architect the building fell down | Thu Jan 21 1993 16:37 | 7 |
| Hi Charly,
Is this problem isolated to German language systems?
Cheers
Stuart
|
2124.6 | not only German | FRAOST::RICHTER | | Fri Jan 22 1993 08:54 | 11 |
| No, unfortunately it is not.
We have this or similar problems in Danish, Finnish, French, Portuguese
and Spanish.
Bugfixes are available, but have to be tested. We are trying to get them
inserted into a possible future patch.
Regards,
Annette
|
2124.7 | working docdb.scp | VNABRW::KOCH | Back to the roots ... | Thu May 27 1993 18:16 | 20 |
| i've tested and corrected the Docdb.scp at a Customer Site.
it should be:
GET #DRAWER = #FIRST_DRAWER = FILECAB.%NEXT[""]
.LABEL START
CABINET SET_DRAWER #DRAWER
get #drawer
FOR CAB$ WITH .TYPE:U == "ARCHIVE " OR .TYPE:U == "ARCHIVIERT " -
DO get #z = .%key\\ -
WRITE CHANGE CAB$ key=#z,TYPE="ARCHIV "
GET #DRAWER = FILECAB.%NEXT[#DRAWER]
.IF #DRAWER NES #FIRST_DRAWER THEN .GOTO START
.EXIT
- thomas
If you have only documents within 1 drawer archived, then you don't
need the Drawer loop, and you can do a GET #DRAWER= "STANDARD" (or
"MAIN") instead
|