Multiple _anvil_designer imports added automatically

I’ve started to notice that the _anvil_designer imports sometimes duplicate themselves (see pic below). Is that as a result of something I’m doing?

Always get nervous when “things” happen that change code.

image

Looks like a potential bug.
Any more details?
one app/all apps?
One file/all files?
Any particular action that triggers it?
Is it recent? Since when?
(As well as browser/os)

I will endeavour to gather as much info as I can. I kind of just noticed it today, which reminded me that I also noticed it a couple of times in the last week or so. Vague, I know. I’ll pay attention and report back.

What I do know -

  • Ubuntu 22.04, FF 110.0 (64-bit)
  • only one file in this app so far (I’ll check other recent apps)
  • couldn’t even tell you exactly when it happened, let alone what I did immediately beforehand. I haven’t worked on this particular form for a bit.
  • I don’t transfer apps around using git, everything is created/edited using the online IDE.

I guess I could go back in time and step through previous git commits, see when it appeared? I hate git, and I always seem to mess something up when I play with it, so it would be with a sense of dread …

edit - that form was a duplicate from another form. The old form does not have that issue, and duplicating it again doesn’t recreate the issue either. So, not sure how valuable that info is.

1 Like