Skip to content

Cleanse MemberData may be breaking PEMs #64

Description

@TamarEGranor

ℹ Computer information

  • VFP version: 9 SP2 build 7423
  • PEMEditor version: 7.41.19
  • Last PEMEditor version w/o bug (if available): Don't know

📝 Provide detailed reproduction steps (if any)

I don't have a repro yet, but this is what I think happened.

  1. Open a form. I suspect it needs to be complex to run into this. It may need to be at or near the MemberData size limit.
  2. Open PEM Editor.
  3. Right-click and choose MemberData Tools | Cleanse MemberData
  4. Choose Yes to Proceed

✔️ Expected result

Cleanse memberdata and make room for more.

❌ Actual result

Usually what I expect, but occasionally, stuff gets messed up. Mostly, it appears what happens is the _Memberdata property isn't restored exactly right and it messes with some other stuff in the Properties memo. In one case, I thought I'd entirely lost the memberdata (that is, my capitalization was gone). In another case, some properties appeared to be missing. In both these cases, when I opened the form as a table, and cleaned up issues with the memberdata property, the problems went away. In the most recent case, the memberdata XML was mixed in with some other properties in the Properties memo.

This has happened twice with the same form, so it is possible there's something wrong with the form, but I'm pretty sure both times, it happened after I'd cleansed the memberdata. For sure, that's true for the second time.

The second time, some properties of controls on the form that contained expressions were messed up, as well, with a bunch of "garbage" characters appearing in front of the actual data.

Before I put too much effort into trying to find a repro, wondering whether anyone else has seen anything like this.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions