Issue 72291 - Form wizard creates a read-only document
Summary: Form wizard creates a read-only document
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.1
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: dbaneedsconfirm
QA Contact: issues@dba
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2006-12-05 12:27 UTC by clytie
Modified: 2007-06-10 22:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Screenshot of read-only form created by form wizard from editable table (97.20 KB, image/png)
2006-12-05 12:27 UTC, clytie
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description clytie 2006-12-05 12:27:02 UTC
TCM: 110012-3

1. click "Forms" icon in Database pane
2. click "Use Wizard to Create Form"
3. select Table1 in "Tables or queries"
4. move all of entries from "Available fields" to "Fields in the form"
5. Click "Next" 
6. Click "Next"
7. Check all of arrange pattern with label placement combination
8. select second one and click "Next"
9. Click next
10. Check all of style border combination
11. Click "Next"
12. enter form name with native language
13. check "Work with the form" and click "Finish"

These instructions used a table I had created in previous steps. I had been able to edit the table. When I 
open the table now, it is editable. But when I follow these instructions and create a form from it, the 
form is read-only.

I can see no step where I made it read-only. The "Edit File" button is greyed out on the toolbar.

I don't think this should happen. None of the other files I have created have been read-only, and I 
haven't seen anything about setting file permissions. All these files are in the same directory. 

I'm testing 2.1.0rc2 Vietnamese on an Intel Mac. Screenshot attached.
Comment 1 clytie 2006-12-05 12:27:49 UTC
Created attachment 41148 [details]
Screenshot of read-only form created by form wizard from editable table
Comment 2 pavel 2006-12-05 12:32:34 UTC
.
Comment 3 pavel 2006-12-05 12:32:44 UTC
.
Comment 4 christoph.lukasiak 2007-01-16 14:52:00 UTC
if i understand you right, you open the form with a doubleclick? then it is in
'insert' view - if you make a right-click (open kontext) on your form and choose
'edit', you open your form in edit view - does this fix you problem?
Comment 5 clytie 2007-01-17 05:12:15 UTC
No. What happened was: I created the form from my database, using the wizard. This task is part of 
TCM, that's why there are so many steps and checking in it.

As you can see from the steps, there is no double-clicking. There is no form to start with. You have a 
database open, which you have been editing. You choose the Table icon. Then you choose to create the 
table, using the Wizard. You go through the steps described, copying all the fields over to your form, 
choosing the second arrange pattern, choosing "work with this form", entering a native-language 
filename, and that's it!

But when your form opens automatically, when you close the wizard, the form titlebar says "read-only". 
But I didn't choose anything about read-only. Why is this form read-only?

I hope that explains it better for you. :)

The TCM test number is quoted in the original issue item, as are all the steps from it. It is a standard 
release-checking task. But I don't think it is supposed to create a read-only form. Is it?
Comment 6 Frank Schönheit 2007-01-17 07:02:21 UTC
The "readonly" in the title is misleading. In fact, this only applies to the
*text document* which contstitutes the form, but not to the data which you are
about to edit with the form.

There is an issue for this usuability thing, but I can't find it ATM.
Comment 7 viccannost 2007-05-27 22:16:49 UTC
Have the same problem. Tested with OO 2.2.1 RC2 on Linux and OO 2.2 on Win XP. 
Can update tables directly but forms created from these tables are always
read-only. Cannot updated data using the form. The "add new record" button is
inactive and if any data is added/changed in an existing record it is not accepted.
Comment 8 viccannost 2007-05-27 22:28:36 UTC
Also noticed that while I am working on the database a file
"mydatabasename".odb.lck is created in the directory where my database file is
stored. Disappears when I close the database. No idea where this comes from but
looks like it might be part of the problem.
Comment 9 Mechtilde 2007-05-27 22:35:14 UTC
please, give us also a screenshot

or is it the same as clytie's screenshot shows.

There you can see that you can change the data not the form design.
'
Comment 10 viccannost 2007-05-28 02:13:58 UTC
I guess it was power of suggestion and bad eyesight. Been playing with this for
number of weeks. Obviously missed the "added new record" triangle. But after
reading comments went back and tried more carefully. And, yes it does work.
Apologies.
Comment 11 Mechtilde 2007-06-10 22:09:31 UTC
as viccannost said
set to worksforme 
Comment 12 Mechtilde 2007-06-10 22:10:00 UTC
.