-
Notifications
You must be signed in to change notification settings - Fork 42
Fix Internal Server Error in group workspaces when no active group is set #257
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
base: main
Are you sure you want to change the base?
Conversation
… None Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
* Support for custom environment (#235) (#240) Co-authored-by: adu103 <adu103@users.noreply.github.com> Co-authored-by: Alex Unger (Dev Advocate) <alexunger@microsoft.com> * Fix code snippet readability in Dark Mode (#239) * Initial plan for issue * Add dark mode styling for code blocks Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * Fix dark mode file link contrast in chat messages (#241) * Initial plan for issue * Fix dark mode file link contrast by using white text on green background Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * update version to 0.215.001 * Admin Setting - Use Local File for Document Intelligence Testing (#245) * Initial plan for issue * Update Document Intelligence test to use local file Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * initial --------- Co-authored-by: adu103 <adu103@users.noreply.github.com> Co-authored-by: Alex Unger (Dev Advocate) <alexunger@microsoft.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
* Support for custom environment (#235) (#240) Co-authored-by: adu103 <adu103@users.noreply.github.com> Co-authored-by: Alex Unger (Dev Advocate) <alexunger@microsoft.com> * Fix code snippet readability in Dark Mode (#239) * Initial plan for issue * Add dark mode styling for code blocks Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * Fix dark mode file link contrast in chat messages (#241) * Initial plan for issue * Fix dark mode file link contrast by using white text on green background Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * update version to 0.215.001 * Admin Setting - Use Local File for Document Intelligence Testing (#245) * Initial plan for issue * Update Document Intelligence test to use local file Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com> * initial * page size fix --------- Co-authored-by: adu103 <adu103@users.noreply.github.com> Co-authored-by: Alex Unger (Dev Advocate) <alexunger@microsoft.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
…lechat into copilot/fix-254-2
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Fixed! The "Create New Public Workspace" modal was incomplete - it was missing the actual form fields (name input, description textarea, submit button). I've implemented the complete modal form that the JavaScript expects. The issue should now be resolved in commit 8d78d56. |
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Fixed! The issue was caused by a JavaScript variable conflict - both the HTML template and JavaScript file were declaring |
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Fixed! The manage public workspace template was incomplete - it was missing the edit form fields (name/description inputs) and the Add Member modal. I've added all the missing HTML elements including the complete Add Member modal with user search functionality, matching the design from manage_groups.html. The name and description should now be editable, and the Add Member button should open a functional modal. Fixed in commit a6c399d. |
… role option, fix member names Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Fixed! The issue was that public prompts were incorrectly using the group_prompts container and group_id field. I've updated functions_prompts.py to properly detect public_prompt type and use the correct cosmos_public_prompts_container with public_id field instead. Public prompts should now save and load correctly. Fixed in commit 365b495. |
files fail during upload in public workspace
|
…o process_di_document and helper functions Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
... Fixed! The issue was that the |
Co-authored-by: paullizer <34814295+paullizer@users.noreply.github.com>
Fixed! The public prompts weren't loading initially because the prompts tab was missing event listeners to load data when switching tabs. I've added proper tab change event listeners to fetch the prompts data when switching to the prompts tab, and fixed the delete_prompt_doc function to properly handle prompt types. The fix is in commit abee475. |
public workspace is missing the expand view for the documents that show the meta data, edit meta data button with modal, and extract metadata button |
the set active button in my public workspaces does not work |
Problem
Users encountered "Error loading workspaces: Internal Server Error" when accessing the group workspaces page without having an active group set. This occurred because the code attempted to execute a Cosmos DB query with a
None
value for theactive_group_id
parameter.Root Cause
In
route_frontend_group_workspaces.py
, the code was:active_group_id
from user settings, which could beNone
active_group_id
wasNone
or invalidSolution
Added proper validation and error handling:
active_group_id
is valid (notNone
or empty)legacy_count
to 0 by default, ensuring the page loads successfullyImpact
Testing
Fixes #254.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.