You are here: Foswiki>Tasks Web>Item8799 (12 Feb 2015, GeorgeClark)Edit Attach

Item8799: phantom topics

pencil
Priority: Low
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiStore
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
if you create a .txt file in a web, but don't give the web server permission to view it, then goto view it via foswiki (trunk)

you get shown what appears to be a valid but empty topic, which has a created date of whenever you view'd it.

needs to be compared to 1.0, and to wonder what error the user should see

-- SvenDowideit - 30 Mar 2010

Same behaviour in 1.0.9

I'm reluctant to add a check for file write permissions, as this is an edge case - it will only occur as the result of a shell operation on the server.

Therefore confirming, but downgrading to low.

-- CrawfordCurrie - 08 Apr 2010

Checking on 1.1.3, same thing. Briefly looking at Store, it doesn't verify if an open or read fails, only the save actions. We do have the file permission checks in configure that would find this condition, except they are limited to the number of checks performed to keep configure runtime reasonable.

It would probably be better for store to include error handling for every open.

-- GeorgeClark - 13 Mar 2011
 

ItemTemplate edit

Summary phantom topics
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component FoswikiStore
Priority Low
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 12 Feb 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy