I was very encouraged in an initial experiment with VCF to see that it seemed to support encrypted and external classes.

However, as soon as I converted my main project I was unable to reopen it because of the bug described below.

Save as Version Control overwrites encrypted
externals where there is a subclass relationship and breaks them for use
either in that or any other project using those classes.

Even more nastily, it doesn't warn you it is going to overwrite files!

http://www.realsoftware.com/feedback/viewreport.php?reportid=rggsvwyj has the files attached for the following steps.

--------
I started with the 1.TestVCFormatOriginal.rbp where all the classes were included.

Next I made the two classes AParent and ASub external.

The project saves, reopens and validates OK, see 2.TestVCFormatWithExternals.rbp

----
copy the working files from 2.TestVCFormatWithExternals.rbp to "OK prior overwrite"

---

Now save 2.TestVCFormatWithExternals.rbp to Version Control Format ->
3.TestVCFormatWithExternals.rbvcp

After the Save As it validates OK

reopen  2.TestVCFormatWithExternals.rbp and it still validates OK.

---

Introducing Encryption into the scenario:
Go back to 1.TestVCFormatOriginal.rbp and create 4.TestVCFormatWithEncrypted.rbp
with the little classes renamed encParent and encSub and encrupted
(password is "demo")

Make those encrypted classes external -> 5.TestVCFormatWithEncryptedExternals.rbp

----
copy the working files from 5.TestVCFormatWithEncryptedExternals.rbp to "OK prior overwrite"

---

*** the fateful save!
save 5.TestVCFormatWithEncryptedExternals.rbp as Version Control Format. ->
5.TestVCFormatWithEncryptedExternals.vcp
- validates OK after the save
- on reopen, error "The external item encParent is references another external item..."
- try reopening 5.TestVCFormatWithEncryptedExternals.rbp - same error



-------------

EncryptedParentWarning.png shows the warning when you try to open a project like this (from an earlier run)



TestVersionControlFormat:
        1.TestVCFormatOriginal.rbp
        2.rbres
        2.TestVCFormatWithExternals.rbp
        3.TestVCFormatWithExternals.rbvcp
        4.TestVCFormatWithEncrypted.rbp
        5.rbres
        5.TestVCFormatWithEncryptedExternals.rbp
        5.TestVCFormatWithEncryptedExternals.rbvcp
        AAREADME TestVersionControlFormat.txt
        AParent.rbo
        App.rbbas
        ASub.rbo
        encParent.rbo
        encSub.rbo
        ExternalParentWarning.png
        MenuBar1.rbmnu
        OK prior overwrite:
                2.TestVCFormatWithExternals.rbp
                5.TestVCFormatWithEncryptedExternals.rbp
                AParent.rbo
                ASub.rbo
                encParent.rbo
                encSub.rbo
        Window1.rbfrm



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to