Bug #39860
Not possible to save edited files in fileadmin (TYPO3 6.0 Alpha3)
Status: | Resolved | Start date: | 2012-08-16 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Andreas Wolf | % Done: | 0% |
|
Category: | File Abstraction Layer (FAL) | Spent time: | - | |
Target version: | 6.0.0-beta2 | |||
TYPO3 Version: | 6.0 | Is Regression: | ||
PHP Version: | Sprint Focus: | |||
Complexity: | medium |
Description
I'm using TYPO3 6.0 Alpha3 as an admin user.
First I created a html file in fileadmin which works fine. After that I edited the file and tried to save it by using the save button.
With t3editor I get the alert message "[object Object]".
With deactivated t3editior I get the error message "1: You are not allowed to edit files!"
Related issues
Associated revisions
[BUGFIX] Files contents cannot be changed
Setting file contents failed for two reasons:
a) The permissions were incorrectly read from TSconfig and
b) We used a new "update" permission that was not present
in the default configuration, so without manually setting it,
a file could never be updated, even by admins.
This commit changes the "update" permission back to "edit", which was
also used in the pre-FAL era.
Change-Id: I408a19257a50868f7978ffac32eefbd410117e2d
Resolves: #37812
Resolves: #39860
Resolves: #39949
Releases: 6.0
Reviewed-on: http://review.typo3.org/14257
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
History
#1 Updated by Jessica Jagodzinski almost 3 years ago
It has nothing to do with permissions. I've tried it with 777.
#2 Updated by Michael Stucki almost 3 years ago
- Category set to File Abstraction Layer (FAL)
- Complexity set to medium
#3 Updated by Andreas Wolf almost 3 years ago
The error "You are not allowed to edit files" is fixed with the patch for #37812.
The other error (for the AJAX call) seems to be related to T3Editor. I got the following message from the server:
<t3err>No backend function registered for ajaxID "T3Editor::saveCode::saveCode".</t3err>
#4 Updated by Andreas Wolf almost 3 years ago
- Status changed from New to Accepted
#5 Updated by Andreas Wolf almost 3 years ago
- Status changed from Accepted to Under Review
#6 Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14257
#7 Updated by Andreas Wolf almost 3 years ago
The T3Editor problem might be fixed with #40359.
#8 Updated by Gerrit Code Review almost 3 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14257
#9 Updated by Steffen Ritter almost 3 years ago
- Assigned To set to Andreas Wolf
#10 Updated by Steffen Ritter almost 3 years ago
- Target version set to 6.0.0-beta2
#11 Updated by Gerrit Code Review almost 3 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14257
#12 Updated by Anonymous almost 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset cfd107268c3173f1fe8e05027bc7d049e9293fff.