BPM data form constantly has "compile" errors

So I’m not really sure where to start here. I have a BPM data form that I am using from a UBAQ that that I am calling from code. When I get this message, I can open it in customization mode, save it, and then the error goes away. Then after a few days (it’s really inconsistent) I get a buyer that says that they are getting this message. Then I have to go into customization mode again, open it, save it, and it’s fine for a while.

Does anyone have any ideas on what to start looking at to try and see make this stop derping out? It’s really frustrating for the users and me.

Customization Maintenance could get you started.

Is it clear what the compiles errors are when it occurs? Is it always the same error?

No. I can’t catch the error, because it never fails in customization mode. I suppose I can try and wire it up to DNSpy to run it there. The thing is, there isn’t even any code in there. It’s just a BAQ combo added.

Sounds like a cache issue to me.

1 Like

Smells like it to me too. However, no one is making any changes, so I don’t know what could be changing to cause the cache issues.

1 Like

Ghosts. You have ghosts in your code.

3 Likes

I’m not even using any code for this one!!!

5 Likes

Next time it’s in an error state, I’ll open that up before I “Fix” it and see if it gives me any clues.

I’ve been trying to break it in dev so I can see what’s going on, but of course I can’t get to break on demand…

3 Likes

classic, that’s tough. Interested to know what you find.

I’ve never had occasion to use a BPM Data Form, so my thoughts are possibly/probably pretty off the mark. But that’s never stopped me before!

Can Personalizations come into play with BPM Data Forms? It wouldn’t be something like that?

That’s a good thought. Possibly? I’m trying to think of how I would check that, since opening the screen in customization mode fixes it. :thinking: Probably see if deleting personalizations in customization maintenance fixes it for the user. Usually a personalization breaks and stays broken no matter what until you delete it, but maybe not with these forms. That will be another thing I check when I get a report of it being broken.

And since it’s only this user that’s been telling me that it’s a problem, it does seem like something that’s only affecting them, which could point to personalizations.

You might be onto something!

2 Likes

I think you can see personalizations in Customization Maintenance, no? Oh, never mind, I see that you mentioned that in your response. I never learned to read too good.

1 Like