Comments (7)
I'm also affected by this issue, when trying to select an attachment for a card the file browser is not working and shows up but remains in a disabled state. The file browser works correctly from other apps.
Client details:
OS: docker latest
Browser: Firefox
Version Nextcloud: 29.0.0.19
Deck: 1.13.0
Device: desktop
from deck.
got the exactly same error, any one has solution for this?
dock: 1.13
nextCloud: 29.0.1
from deck.
Same problem. We have analyzed logs and error msgs and tried various fixes, but didn't help.
Here's a Chat GPT analysis based on our error messages:
The error messages you've provided from your Nextcloud 29.0.0 instance, specifically concerning the DECK app, highlight a PHP coding issue in the DECK app's ConfigService.php. Here’s a breakdown of the key components of the error and what they might indicate about the underlying problem:
Error Details
Both error messages point to the same issue within a method in the ConfigService.php file at line 234. The error message:
"Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter"
This error is typical of a function or method declaration in PHP where an optional parameter (one with a default value) is placed before a required parameter (one without a default value) in the function's signature. This is problematic in PHP because it forces all parameters defined after an optional parameter to also be treated as optional, which can lead to unexpected behavior or errors.
Context of the Error
The errors are triggered during GET requests to the Nextcloud server:
URL /ocs/v2.php/apps/user_status/api/v1/user_status?format=json
URL /ocs/v2.php/apps/notifications/api/v2/notifications?format=json
These URLs suggest that the requests are related to fetching user status and notifications, respectively.
Analyzing the Impact
Although the URLs involved in the errors pertain to user statuses and notifications, the error originates from the deck app's codebase, suggesting that the DECK app might be extending or interacting with these areas of Nextcloud.
This might indicate that there's a broader integration issue within the DECK app that could be affecting its ability to properly manage or access file structures as you’ve been experiencing.
Steps to Resolve
Review and Modify Code: The immediate resolution would be to check the ConfigService.php file around line 234 and adjust the parameter order. The optional parameter $userId should be placed after all required parameters, or it should be made required by removing its default value if that contextually makes sense.
Update and Test: After making code changes, thoroughly test the DECK app in a development environment to ensure that the change does not negatively affect other functionalities.
Check for Updates: Verify if there's an update available for the DECK app that addresses this issue. Sometimes, such problems are quickly fixed once identified, and an update might already be available.
Fallback Plan: If the issue is critical and a fix is not readily available, consider rolling back to an earlier version of the DECK app or Nextcloud where this issue was not present, if such a rollback would not cause other issues.
We tried that, but it didn't help either.
Client details:
OS: Linux
Browser: Chrome, Firefox
Version Nextcloud: 29.0.0 deck: 1.13.0
Device: desktop
from deck.
This is probably related to the new File Picker dialog
nextcloud/server#39792
from deck.
Same happens when trying to achieve the same but in the calendar app
from deck.
Same happens when trying to achieve the same but in the calendar app
Yeah, indeed. Also still persists in the calendar app after upgrading it today to latest 4.7.4.
So perhaps sth the main nc branch should have an eye on.
In Mail i.e. it works as it should.
from deck.
Same happens when trying to achieve the same but in the calendar app
In calendar it seems to be fixed with te actual version 4.7.6
from deck.
Related Issues (20)
- ability to move card to a column that is outside of the viewport (by drag and drop)
- Warning: no app in context HOT 1
- Nextcloud menu shows just Icon, no description
- Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at ConfigService.php#234 HOT 2
- After updating to version 29.0.2: INVALID_HASH Error HOT 3
- Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter HOT 1
- Create board view based on used board tag
- Duplicate HOT 1
- Tag filter search
- [Bug]: Activity could not be loaded.
- after delete list unable to add new lists due to UI overlap undelete window HOT 1
- Feature request: add icon for cards having a description HOT 3
- Enter due-date in Title
- Card description not saved when creating via "N" shortcut
- Allow users to only see tasks assigned to them
- Can’t attach files to cards anymore HOT 1
- Problem with sharing the files from the files of nextcloud ... HOT 1
- Add attachement to card on Android failed HOT 5
- Clone a Card HOT 1
- Option to create a calendar entry of a card in addition to a task entry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deck.