bug: 3th form of same table doesn't sync right

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

bug: 3th form of same table doesn't sync right

Postby Harjo » Tue Jul 22, 2003 11:08 pm

In the CRM-demo: goto actions.
first: filter: faxes. ( in the upper header)
then goto the details of the first fax.
Try to print this fax only. this doesn't work. (first it gives a message that there are no messages, en than all the records are shown in print-preview.

I have the same problem in my solution.
I have one table with forms in: record-view, list-view and print-view. If I filter for example 3 out of 10 records than my record-view and my listview are showing: 1 out of 3. but my printview shows still the previous foundcount.
It looks like the 3th form of the same table doesn't sync right with the currentfountcount.
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Jan Blok » Wed Jul 23, 2003 3:23 pm

This is indeed a crm solution bug
A foundset is shared across forms based on the same table and as long as:
-useSeparatefoundset property is not used
-you don't do controller.loadRecords(xxxxx) on one of those forms via javascript

the last one is used to jump from actions to actionDetails, so in this senario you have to transfer the current foundset again from actionDetails to printFax with:
forms.printFax.controller.loadRecords(foundset)
just before showPrintPreview call on the printfax form.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Postby Harjo » Fri Aug 08, 2003 11:39 am

OkM-i, so I have changed the method: printfax (just deleted the "//" before the specefic line)

but it goes wrong when you only have 2 related records.
It's rather complecated but I give it a try!

To reproduce, goto CRM, after that goto Employees,
goto the employDetails of: Jim Smith. Delete all actions of: Jim Smith, except for two faxes. (so you only have two related actions)

Go, in this form, to the details of the first Action
Push the: PrintFax button, after that click the CLOSE button

Now it goes wrong! Servoy is ending now on the other related Action!!
If you push the button: Printfax again, it is not showing the second related Action, but the first again.

This only happens when you have 2 related records. If you make 3 related record (in this case: Actions) this problem does not occur!
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Harjo » Tue Aug 19, 2003 11:25 pm

Can anyone re-produce this problem?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby jcompagner » Thu Aug 21, 2003 11:27 am

Yes i found the problem
fixed in then next build after 1.1
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby Harjo » Thu Aug 21, 2003 11:41 am

Thanks, do you know when the next build is coming out?
And will it be a RC or R-Release?
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby jcompagner » Thu Aug 21, 2003 12:26 pm

this week we will try to release a beta of 1.1.1 and then next week the release of 1.1.1.

so it will not take long :)
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 24 guests