hcengineering / hcengineering/platform

[Bug] Controlled Documents - "New category" crashes on self-hosted v0.7.413

Open
#10,772 3 comments 0 reactions 1 assignee Claimed by @Learnobug View on GitHub
Dominant language
TypeScript
Stars
27.7k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

## Environment

- Huly version: v0.7.413 (also reproduced on v0.7.382)
- Deployment: Self-hosted (Docker Compose)
- Database: CockroachDB
- Role: OWNER

## Steps to reproduce

1. Open Controlled Documents module
2. Click dropdown next to "+ New document"
3. Click "New category"

## Expected behavior

Category creation dialog opens.

## Actual behavior

App crashes / bounces back to previous page.

## Console errors

1. `navigation.ts:44 Could not find document categories.`
2. Multiple warnings during client initialization:

```
context.js:63 no document found, failed to apply model transaction, skipping
_class="core:class:TxUpdateDoc"
```

(~20 occurrences with different objectIds, also TxRemoveDoc)

3. Exclude plugin list includes `server-documents:10`

## Additional context

- Upgraded from v0.7.382 to v0.7.413, issue persists on both versions.
- Full stack restart (docker compose down / up) did not resolve.
- MIGRATION.md confirms no manual changes required between these versions.
- Workspace service logs show no errors, starts normally with model version 0.7.343.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.