No context for deck_card
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, php
- Área
- backend
Línea de trabajo
The log shows Text’s SessionController calling ContextManager::getContext for the deck_card type, which is not registered. Start by tracing how Deck registers its Text context and compare it with the Text app’s context registration entry points. Done means opening a Deck card shows its text without the “File not found” error; the issue does not identify a failing test or the relevant Deck files.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
How to use GitHub
Describe the bug
After upgrading to Nextcloud 35.0.2 and using Deck 1.19.1 as the latest available version for Deck, Deck cards no longer show the text. Instead the message "File not found" ("Datei nicht gefunden") is shown.
Server details
Operating system:
Linux (OpenSUSE)
Web server:
Apache
Database:
PostgreSQL 17.11
PHP version:
8.4.27
Nextcloud version: (see Nextcloud admin page)
35.0.2
Signing status:
No errors have been found.
List of activated apps:
Enabled:
- activity: 8.0.0
- admin_audit: 2.0.0
- app_api: 35.0.0
- appstore: 2.0.0
- bookmarks: 17.0.0
- bruteforcesettings: 8.0.0
- calendar: 6.6.3
- camerarawpreviews: 1.1.4
- circles: 35.0.0
- cloud_federation_api: 2.0.0
- comments: 2.0.0
- contacts: 8.9.2
- contactsinteraction: 2.0.0
- cookbook: 0.11.12
- dashboard: 8.0.0
- dav: 2.0.0
- deck: 1.19.1
- encryption: 3.0.1
- event_update_notification: 2.10.0
- federatedfilesharing: 2.0.0
- federation: 2.0.0
- files: 3.0.0
- files_downloadlimit: 5.3.0
- files_external: 2.0.0
- files_lock: 35.0.1
- files_pdfviewer: 8.0.0
- files_reminders: 2.0.0
- files_sharing: 2.0.0
- files_trashbin: 2.0.0
- files_versions: 2.0.0
- firstrunwizard: 8.0.0
- groupfolders: 23.0.1
- logreader: 8.0.0
- lookup_server_connector: 2.0.0
- mail: 5.12.5
- maps: 1.8.0
- music: 3.2.1
- nextcloud_announcements: 7.0.0
- notes: 6.1.0
- notifications: 8.0.1
- oauth2: 2.0.0
- office: 1.1.0
- password_policy: 7.0.0
- photos: 8.0.0
- privacy: 7.0.0
- profile: 2.0.0
- provisioning_api: 2.0.0
- qownnotesapi: 26.8.1
- recommendations: 8.0.0
- related_resources: 6.0.0
- richdocumentscode: 26.4.502
- serverinfo: 7.0.0
- settings: 2.0.0
- sharebymail: 2.0.0
- sharing: 1.0.4
- support: 7.0.0
- survey_client: 7.0.0
- suspicious_login: 13.0.0
- systemtags: 2.0.0
- tasks: 0.18.1
- text: 9.0.1
- theming: 3.0.0
- twofactor_backupcodes: 2.0.0
- twofactor_nextcloud_notification: 9.0.0
- twofactor_totp: 17.1.0
- updatenotification: 2.0.0
- user_ldap: 2.0.0
- user_status: 2.0.0
- viewer: 8.0.0
- weather_status: 2.0.0
- webhook_listeners: 2.0.0
- workflowengine: 3.0.0
Disabled:
Nextcloud configuration:
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"nextcloud.mydomain.net"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "35.0.2.2",
"overwrite.cli.url": "https:\/\/nextcloud.mydomain.net",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"default_language": "de",
"default_locale": "de_DE",
"ldapIgnoreNamingRules": false,
"defaultapp": "dashboard,calendar",
"knowledgebaseenabled": true,
"allow_user_to_change_display_name": true,
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_smtpport": "25",
"log_type": "file",
"logfile": "",
"loglevel": 2,
"maintenance": false,
"maintenance_window_start": 100,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"encryption.legacy_format_support": false,
"encryption.key_storage_migrated": false,
"default_phone_region": "DE",
"data-fingerprint": "120ddfd484d3be5443d91ceb6a97d0d2",
"trashbin_retention_obligation": "auto, 365",
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"app_install_overwrite": []
}
}
Logs
Nextcloud log (data/nextcloud.log)
{
"method": "PUT",
"url": "/index.php/apps/text/session/deck_card/96/create",
"scriptName": "/index.php",
"message": "No context for deck_card (96) ",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:153.0) Gecko/20100101 Firefox/153.0",
"version": "35.0.2.2",
"exception": {
"Exception": "OCP\\Files\\NotFoundException",
"Message": "Context of type \"deck_card\" was not registered!",
"Code": 0,
"Trace": [
{
"file": "/data/vol02/nextcloud/apps/text/lib/Controller/SessionController.php",
"line": 63,
"function": "getContext",
"class": "OCA\\Text\\Context\\ContextManager",
"type": "->"
},
{
"file": "/data/vol02/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 198,
"function": "create",
"class": "OCA\\Text\\Controller\\SessionController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/data/vol02/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 86,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/data/vol02/nextcloud/lib/private/AppFramework/App.php",
"line": 138,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/data/vol02/nextcloud/lib/private/Route/Router.php",
"line": 324,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/data/vol02/nextcloud/lib/OC.php",
"line": 1238,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/data/vol02/nextcloud/index.php",
"line": 28,
"function": "handleRequest",
"class": "OC",
"type": "::"
},
{
"file": "/data/vol02/nextcloud/lib/OC.php",
"line": 1403,
"function": "{closure:/data/vol02/nextcloud/index.php:25}",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/data/vol02/nextcloud/index.php",
"line": 25,
"function": "handleRequests",
"class": "OC",
"type": "::"
}
],
"File": "/data/vol02/nextcloud/apps/text/lib/Context/ContextManager.php",
"Line": 57,
"message": "No context for deck_card (96) ",
"CustomMessage": "No context for deck_card (96) "
}
}
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.4k
- Forks
- 360
- Merge medio
- 1 d 17 h
- PR fusionados (30 d)
- 111
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/deck
-
0. Needs triage bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
CSV export leaves trailing commas in tags and assigned-user fieldsPosiblemente ocupada @Kumar-s75 la tomó hace 47 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Board clone API failure is treated as a successful board responsePosiblemente ocupada @Kumar-s75 la tomó hace 47 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nextcloud/deck#8334 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/deck
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
apex-dev-tools/apex-log-parser#199 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue hacktoberfest help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
ReadBufferStream.addBuffer adds the full ArrayBuffer of a typed array view, and ignores its byteOffsetPosiblemente ocupada @wayfarer3130 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Expo 57 example: pnpm install fails with ERR_PNPM_TRUST_DOWNGRADEPosiblemente ocupada @github-actions la tomó hoy. Abiertobug react-native team/client-libraries
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
PostHog/posthog-js#5442 · 1 comentario ·
Los mantenedores suelen responder en 1 día