tanishqgandhi1908 opened a new issue, #8345:
URL: https://github.com/apache/texera/issues/8345
### What happened?
Renaming a dataset from its Settings tab updates the title, but nothing else
on the page is refreshed. Every path shown on the page still contains the old
name, and those paths no longer resolve:
- "Versions & Files": clicking any file in the tree leaves the preview stuck
on "File content is loading" forever. The request 404s, then a follow-up 500s.
- The file path shown above the preview still reads
/dataset/<owner>/<old-name>/....
- "Data Card": "Latest version file" still shows the old path.
- The same stale path is what the single-file download uses.
- Reloading the page fixes everything, so this is only a refresh problem —
but until you reload, the dataset looks broken.
Expected: after a successful rename, the file tree and the Data Card facts
are refetched under the new name.
The model detail page already does this — after renaming a model, its file
path immediately shows the new name and files still open.
**The same rename also breaks an upload that is in flight**
Renaming is not blocked while a file is uploading, and the upload is
addressed by the name it started with, so renaming mid-upload loses the upload:
1. Start uploading a file to a dataset ("Versions & Files" → Browser &
Upload Files).
2. While it is still uploading, go to Settings and rename the dataset. The
rename succeeds.
3. The file's data uploads fine, but the call that completes the upload
fails with 400 {"code":400,"message":"Dataset not found"} — it is still asking
for the old name.
4. The panel sits on "Uploading: 1 file(s)" / "Finished: 0 file(s)" and
never finishes, and a row is left behind in dataset_upload_session.
The model page blocks this: its name field and Save button are disabled
while an upload is in flight. On the dataset page both stay enabled.
Renamed to sensor-readings-renamed, but the file path still says
sensor-readings and the preview hangs (console output overlaid so it fits in
one screenshot):
<img width="1440" height="900" alt="Image"
src="https://github.com/user-attachments/assets/7f26be13-be6d-4e8e-823c-2e0919209c0b"
/>
The Data Card's "Latest version file" keeps the old name too:
<img width="1440" height="900" alt="Image"
src="https://github.com/user-attachments/assets/186988ff-2bce-4c7c-a05b-233cbb955e3b"
/>
### How to reproduce?
1. Open a dataset with at least one version and a couple of files: Your Work
→ Datasets → click a dataset.
2. Go to Settings, change "Dataset name", click Save. The title updates and
a success toast appears.
3. Go back to "Versions & Files" and click any file in the tree.
4. The preview never loads. With the console open you get a 404 followed by
a 500 and ERROR HttpErrorResponse.
5. Open "Data Card": "Latest version file" still shows the old name in its
path.
### Version/Branch
1.4.0-incubating-SNAPSHOT (main)
### Commit Hash (Optional)
246f7bc50
### What browsers are you seeing the problem on?
_No response_
### Relevant log output
```shell
Failed to load resource: the server responded with a status of 404 (Not
Found)
Failed to load resource: the server responded with a status of 500 (Server
Error)
ERROR HttpErrorResponse
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]