Bug Report #1648652145646

OS info

  • Operating System : Windows 10.0.19044
  • Wappler Version : 4.7.1

Problem description

Appconnect.js line removed from main layout

Steps to reproduce

  1. add new page and save
  2. review main page in code view - line deleted

Can you recreate this on a new blank project or does this happen on a specific project?
Also - if this happens on a specific project then please post the debug log here:

I did the restart with logging process prior to submitting these. It jumped to a folder and displayed a Report zip file. Did you receive it? All are in same project.

You need to attach the zip file in your topic.

This does not seem to be happening in a new project.

Here the file.

report1648652536278.zip (543.6 KB)

Sorry couldn’t really reproduce this. App Connect remain on main pages. We also do not have automation deleting of it …

So something else must be wrong. Try to isolate the problem more.

here’s what I’ve done:

  1. Reset computer
  2. Start Wappler with logging
  3. The current project is missing
    a. Add new project by Open an Existing folder
    b. Project opens as normal
  4. create new layout2
    a. add Notifications and header with a paragraph
    b. save
  5. Add new dynamic page - attached to original layout1
    a. appconnect deleted
  6. Add new dynamic page - attached to original layout2
    a. appconnect remains intact
  7. Add new dynamic page - attached to original layout1
    a. appconnect deleted
  8. Add new dynamic page - attached to original layout2
    a. appconnect remains intact
  9. copy contents of layout1 in layout 2
    a. Add new dynamic page - attached to modified layout2
    b. appconnect deleted
  10. Reset layout2 to original content
    a. Add new dynamic page - attached to modified layout2
    b. appconnect remains intact

Layout file attached.

layouts.zip (4.3 KB)

What are your project options and selected frameworks?

Also could you try to reproduce it on a brand new project? Then supply step by step guide.

It’s something in the layout1 file. Here’s the steps:

  1. New project
  2. main & index created as normal
  3. Add new page - appconnect intact
  4. copy content from layout1/old project into main layout new project
  5. add new page
  6. appconnect removed

BTW - thanks for the help

How do you do that and what is the content?

Select all, copy code from old file, paste the code into the second file

So that causes the whole problem? If you do not replace the layout content then everything works fine?

In the two layout files submitted layout 1 is what I was working with when appconnect started disappearing. Spend several days attempting to learn what was happening. Finally, I discovered that the appconnect line was being removed.
At the same time I noticed the theme (Bug Report #1648652536642) issue begin to happen with every new page.

Suggestions from the Teodor led me on the path to try copying all of the code from the original layout(1) file to the new layout(2) file.

Well try to see if there are any problems without copying and pasting full files.

There was and is. This all happened before these troubleshooting steps.

So you are loosing app connect on each new project with regular page creation without any copy and paste?

Maybe you can shoot a small video demonstrating the problem.

This also includes the theme resetting issue based on a new page being added. Not displayed here is the formatter.js line being removed when I add formatting to a value - this has currently become more sporadic and I’m just used to adding it back at this time.

Wappler - The Visual Web App Creator 2022-03-31 10-27-24

Here’s my latest update:

  1. Updated to 4.7.2
  2. Forced update of App Connect & Components/Server Connect Framework. Should this take 20+ minutes?
  3. Opened layout page
  4. Added new page
  5. Reviewed layout page to see these lines removed in addition to appconnect.

You are Isengard the same troublesome layout page all the time.

Maybe remake it or move first the appconnect script include more to below.