Moonshine-IDE / Moonshine-IDE

Moonshine is a free and open source middleweight IDE built with ActionScript 3 for ActionScript 3, Apache Flex®, Apache Royale™, and Feathers development, with Cloud and Desktop support.
http://moonshine-ide.com/
Other
122 stars 16 forks source link

Trouble with Underscores in Generated Views #1098

Open JoelProminic opened 1 year ago

JoelProminic commented 1 year ago

I also had trouble with the view names in a project with underscores in the name "TestDominoVisualEditor_0923". I found that the agent needed to exclude the underscore in order to open the view.

      return agentDatabase.getView("All By UNID/CRUD/TestDominoVisualEditor0923");
      // return agentDatabase.getView("All By UNID/CRUD/TestDominoVisualEditor_0923"); // expected

In my earlier tests for this issue, the underscores were preserved, but this result seems to contradict this finding. I was seeing other strange behavior with this test, so it needs more investigation.

Originally posted by @JoelProminic in https://github.com/Moonshine-IDE/Moonshine-IDE/issues/1073#issuecomment-1260154461

I saw some inconsistent behavior for this, so I need more time to investigate.

JoelProminic commented 6 months ago

Going through the converted Mumble Meeting database for #1071, I found cases like this:

Original Name Actual Converted Name in HCL Notes
...\Meeting_old ...\Meetingold
...\_backup of Maint Request Form - 2014-11-06 8pm ...\backup of Maint Request Form - 2014-11-06 8pm
...\_backup_Meeting_2019_03_25 ...\backup_Meeting_2019_03_25

Only the first _ is excluded in the resulting view after running nsfodp.

The DXL shows the correct view name:

<view name="All By UNID\CRUD\_backup_Meeting_2019_03_25" ...