Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sub-Calendar not displaying events. #248

Closed
james7342 opened this issue May 21, 2023 · 4 comments
Closed

Sub-Calendar not displaying events. #248

james7342 opened this issue May 21, 2023 · 4 comments

Comments

@james7342
Copy link

james7342 commented May 21, 2023

Describe the bug

Secondary module on a separate page with a Sub-Calender configured to pull from a main calendar.

To Reproduce

Steps to reproduce the behavior:

  1. Have a Main Event Module on a page with Events.
  2. Create secondary page and add event module.
  3. In Edit Settings for Event module on the secondary page and add a Sub-Calender for Main Event module as selected.
  4. On secondary page module will display events.
  5. Restart Application Pool from PB/Server/Restart Application
  6. Notice on Secondary Page No events are shown.
  7. Edit Settings to check and don't make any changes but select "Update"
  8. Module on secondary page will show events unit application is restarted.

Expected behavior

Settings and events should be shown through Application Restart

Screenshots

Working
screenshot_871

After "Restart of application"
screenshot_872

Edit Settings and only click "Update"
screenshot_873

Events Displayed again.
screenshot_874

Error log

Will attempt with debug Dll's to see if any errors are log, but nothing with build Dll's.

Additional context

I know there is a current issue with settings not being saved. This worked for the longest time and broke recently after trying to turn off ToolTips on the module. Which those settings didn't seem to save or show unitil a restart of the application also. So I think it's some what related to issue #231

@james7342
Copy link
Author

james7342 commented May 22, 2023

Slight edit to "7. Edit Settings to check and don't make any changes but select "Update"". Ran into a condition where clicking "update" didn't fix it. I had to make a change, then click update and the events showed. The change I made was turning off ToolTip for Month view and updating. Which will not show in the edit settings if you go back in. I'll open a new defect to cover that.

Opened new issue #249

@james7342
Copy link
Author

Debug DLL"s installed. Duplicated the issue and nothing written to admin log or Portal/_default/Logs/ after "Restart Application" or "Edit Settings/update"

@james7342
Copy link
Author

james7342 commented May 22, 2023

I think I might have figured this one out. I still have some more testing but I think it's related #229. Looking in the DB I had these 2 values in the ModuleSettings with the Module ID of the module the page that had the issues. I deleted both of these from the table and so far so good after a "Restart Application"

ModuleCategoryIds | System.Collections.ArrayList
ModuleLocationIds | System.Collections.ArrayList

I found this by comparing the DB from a prior working state to today. In the working DB the values for these settings were -1.

@james7342
Copy link
Author

Closing. Deleting the above values from the ModuleSettings table resolved the issue after multiple application restarts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant