Project

General

Profile

Actions

Bug #6634

closed

Error message popup not generated when saving to a write protected directory.

Added by Artur Szostak over 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
12/17/2014
Due date:
% Done:

100%

Estimated time:
Spent time:
Bugzilla-Id:

Description

In the Kepler GUI a message popup window should appear when the saving of a file fails.
To reproduce the problem, run the following commands in a POSIX terminal (on Fedora 20 in this case):

curl https://code.kepler-project.org/code/kepler/releases/installers/2.4/kepler-2.4-linux.tar.gz | tar xzf -
mkdir my_workspace
chmod -w my_workspace
cp ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml original_configuration.xml
cat original_configuration.xml | head -n 257 > ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml
echo " <property name=\"_alternateDefaultOpenDirectory\" value=\"`pwd`/my_workspace\" class=\"ptolemy.kernel.util.StringAttribute\"/>" >> ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml
cat original_configuration.xml | tail -n 1 >> ./kepler-2.4/common-2.4.0/configs/ptolemy/configs/kepler/configuration.xml
./kepler-2.4/kepler.sh

Once Kepler has started (you might have to close the initial "welcome"/"upgrade" popup windows), follow these instructions:

Click on the "File->Save" item from the menu bar.
Click on the "OK" button in the "Please enter a name for this workflow" pupup window.
Click on the "Save" button in the "Save" popup window.

No error message popup appears, even though there is a log message in the terminal about "permission denied".

Actions

Also available in: Atom PDF