[Cuis-dev] ClassRenamedChangeRecord>>fileIn --- blank

Juan Vuletich juan at cuis.st
Sat Apr 8 07:12:52 PDT 2023


On 4/7/2023 8:33 PM, Andres Valloud via Cuis-dev wrote:
> Is there a reason why the method ClassRenamedChangeRecord>>fileIn has 
> had no code?  Class rename records in changes files are no-ops now.
>
> Andres.

Hi Andrés, All,

I did as follows.
- Started latest Cuis
- Created ClassA as subclass of object. Added some method.
- Opened ChangeSorted. Did FileOut and Remove on current change set.
- In the Browser, renamed ClassA to ClassB.
- Opened ChangeSorted. Did FileOut and Remove on current change set.

Then I exited Cuis without saving, and restarted it.
- Installed the first change set.
- Installed the second change set.
Then class appeared correctly renamed.

Also tried to load the second change set from a ChangesList opened from 
the file list, by selecting the change and applying it.
Class appeared correctly renamed.

However, when I tried to recover changes from my .user.???.changes file, 
the class rename wasn't done. As you say, Andrés, it is because of the 
missing behavior in ClassRenamedChangeRecord>>fileIn . Just posted a fix 
to GitHub.

Thanks for reporting!

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list