Feng Forum

Support => Feng Office 2 => : neopartizan November 02, 2012, 01:13:07 PM

: Data is saved but disappears! - Workspace Permissions Problem
: neopartizan November 02, 2012, 01:13:07 PM
After the update to the latest release:
I try to save the data (time tracking, tasks) - I click save: and the taks-list or time-tracking list is updated - I can see my entry. But after I reload the page - my last entry is gone.

So I can't safe nothing! Please help.
: Re: Data not saved!
: franponce87 November 02, 2012, 04:55:24 PM
This should not be happening. Which version are you using? 2.2.1?
Are you standing within a workspace while saving that information? Have you checked your database and made sure no new records are being generated?

Best regards,
Francisco
: Re: Data not saved!
: neopartizan November 05, 2012, 09:50:55 AM
Hello Francisco.

OK. I needed some more time to discover the real problem. I got it.
I'm using the latest release: 2.2.1.

The data is saved. BUT: there is somehow a problem with the rights-management or something like that. It's gone crazy! I'll try to explain:

USECASE:
- I'm logged in as a Superadmin.
- I type in a new task or a time/timeslot
- I save it: and I can see the entry right in the current list.
... now I change the workspace and return back to the task-list OR I go to "Generate report" -> and there is no entry anymore. It's either in the task-list nor in the time-report.
- I do refresh the browser; I do restart the browser, I do relogin -> nothing helps. There are no entries - which I wrote shortly.
...
PROBLEM FOUND:
- I click on "Edit Workspace"  - in the current workspace where I'm in.
- I uncheck the Permissions-Options "Groups/administrators". SAVE
- There is still no entry to see
- I go again to the  "Edit Workspace"
- I check in the Permissions-Options "Groups/administrators". SAVE
- Now I can see the entry!

... after some time - the entries disappear again. And I have to repeat the action with Workspace-Permissions for each Workspace - to see the entries! :(
: Re: Data not saved!
: neopartizan November 05, 2012, 10:03:31 AM
FYI:

- I changed / re-checked all permissions for Admin-Group/all Workspaces. It won't help. :(
- I have the same problem with data under all tabs: E-Mails, Documents, Notes etc.
: Re: Data is saved but disappears! - Workspace Permissions Problem
: neopartizan November 07, 2012, 06:40:27 AM
Still fighting with the same issue.
Any idea?  ???
: Re: Data is saved but disappears! - Workspace Permissions Problem
: chen November 12, 2012, 04:04:14 AM
We had exactly the same problem when we updated to 2.2.1. We had to roll back to version 2.2 because it just became unusable. The tasks and events people created kept disappearing from their views.
: Re: Data is saved but disappears! - Workspace Permissions Problem
: lngstone November 12, 2012, 01:33:02 PM
We have the same problem here.

Apparently group permissions are not applied.
In order to grant correct permissions to users we have to apply them to every single user for every workspace and not to a group where he/she is in.
Obviously this is a pain, so developers, please, if the bug is confirmed try to give us a solution ASAP.
Thank you for your efforts.

Please note: we found that quick edit and full edit have different behaviours. This issue apparently only affects full edit forms (i.e. the task full edit form).
: Re: Data is saved but disappears! - Workspace Permissions Problem
: neopartizan November 13, 2012, 07:05:55 AM
I'm glad to hear - we are not alone with that problem. So it's not system-specific but a release-bug.

Guys... please, please fix that bug!
Thanks for your support and great job.
: Re: Data is saved but disappears! - Workspace Permissions Problem
: derryck November 14, 2012, 03:43:20 AM
This has been driving me crazy for the past two days, Glad to see others having the same issue. Looked in log file and found a few errors that might help track it down.

#1 ERROR: Error: Undefined variable: user in '/application/views/account/system_permissions.php' on line 31 (error code: 8)

#1 ERROR: Error: Undefined variable: all_perm_deleted in '/application/helpers/permissions.php' on line 674 (error code: 8)
#2 ERROR: Error: Invalid argument supplied for foreach() in '/application/helpers/permissions.php' on line 674 (error code: 2)


#1 ERROR: Error: Undefined variable: company in '/application/views/administration/list_users.php' on line 73 (error code: 8)
#2 ERROR: Error: Undefined variable: company in '/application/views/administration/list_users.php' on line 94 (error code: 8)

and this one seen a lot

#1 ERROR: Error: Undefined variable: content in 'application/views/feed/ical_export.php' on line 2 (error code: 8)

Any help guys would be great
: Re: Data is saved but disappears! - Workspace Permissions Problem
: pwightm November 18, 2012, 01:38:41 PM
I, too, had the problem where objects in "private" workspaces disappear after refreshing the page.  My cache/log.php reported a different error, though:

Session "default" started at 2012-11-18T14:46:21+0000
#1 ERROR: Error: Wrong parameter count for array_unique() in '/var/www/fengoffice/application/models/ContentDataObject.class.php' on line 1467 (error code: 2)
Time since start: 1.7841649055481 seconds
-------------------------------------------------------------------------------

The line in question appears to be related to generating a list of unique permissions for the user:

$gids = array_unique($allowed_gids, SORT_NUMERIC);

A little research revealed that the optional second parameter "sort_flags" wasn't added to the array_unique function until PHP 5.2.9.  I'm running CentOS 5.8 (to mirror a RHEL 5 production server), and the "up-to-date" PHP version is v5.1.6 for my OS release.  (Note: The FengOffice v2.2.1 readme.txt indicates that any PHP version greater than or equal to 5 meets requirements but 5.2+ is recommended... It seems v5.2.9 should be the minimum.)

I've tested two solutions for this issue:
1) Remove the reference to "SORT_NUMERIC" from the array_unique function call.
2) Replace the default "php" package with the one called "php53" (PHP v5.3.3).

Both appear to correct the disappearing object problem.  It should be noted that I had to modify/reset permissions for each workspace after making either change before the vanished objects would reappear.  This seems to work for both user-level and group-level permission assignments.

Hope this helps someone out there.

I'm new to Feng Office (just learned about it Tuesday) but really like what I've seen so far.  Keep up the good work!
: Re: Data is saved but disappears! - Workspace Permissions Problem
: cjs December 13, 2012, 08:22:22 AM
Guys,

There indeed is a bug. The resolution is simple:

1. The permissions applied are NOT applied by clicking on the object and selecting the radio buttons. These need to be further applied by clicking 'Apply to all submembers' or 'Apply to all members' below the radio buttons. The selection should turn BOLD GREEN. If it does not, then the permissions are not applied apparently. This solution worked for me.

2. Another bug is that e.g. if you have a workspace in the highest level i.e. below 'ALL', then this 'Apply to all submembers' thing does not work to this workspace. However this works to the child workspaces. So till the bug is resolved, the work around is to make a dummy workspace and make your workspace a child of it and click 'Apply to all submembers'. This worked for me at least.

Hope this works for you guys.

CJ
: Re: Data is saved but disappears! - Workspace Permissions Problem
: veelineen February 17, 2013, 01:25:55 PM
problem appears for me in 2.2.3.1 editing the permissions helps, till a task is added by using the full form, have to edit permissions again at that moment.
Please some solution!
: Re: Data is saved but disappears! - Workspace Permissions Problem
: dominusego February 18, 2013, 02:17:53 AM
+1
: Re: Data is saved but disappears! - Workspace Permissions Problem
: rasvan March 27, 2013, 11:54:35 AM
same here
Session "default" started at 2013-03-27T13:56:24+0000
#1 ERROR: Error: Undefined index: multi_assignment in '/var/www/html/application/models/project_tasks/ProjectTasks.class.php' on line 430 (erro$
#2 ERROR: Error: Undefined index: multi_assignment in '/var/www/html/application/models/project_tasks/ProjectTasks.class.php' on line 430 (erro$
#3 ERROR: Error: Undefined index: multi_assignment in '/var/www/html/application/models/project_tasks/ProjectTasks.class.php' on line 430 (erro$
Time since start: 0.7099130153656 seconds

: Re: Data is saved but disappears! - Workspace Permissions Problem
: Interpolat March 27, 2013, 07:11:50 PM
Am also experiencing this similar loss of data.  First noticed it in 2.3 and now upgraded to 2.4 but problem persists.  Any response from the developers on this???
: Re: Data is saved but disappears! - Workspace Permissions Problem
: franponce87 March 28, 2013, 11:00:55 AM
Next version will have further improvements when upgrading from Feng Office 1.X to Feng Office 2.X: timeslots, reports and templates permissions will be created for non admin users.

On the meantime, if you have already performed the upgrade from one version to another, you may always change the permissions manually and then you should be able to add timeslots and such as you did before.. This happens due to the changes and improvements in the permissions system, which are a lot.

Best regards,
Francisco
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Rolandua March 28, 2013, 12:58:14 PM
Hello everybody.
I'm FO user since 2009. It's very nice and simple system for small office. We liked it very much till 2.x version :)

I noticed the same problem with permissions and disappearing tasks and notes, when upgrade my FO to  2.2.x.
I think problem in this (FO 2.2.2 - Workspace and group permissions problem) has the one reason.

I was very angry and FO forum has no answer. All work was impossible.
But in spite of other project on the same hosting (where is my FO) I had to upgrade my PHP version from 5.2.6 to 5.3.22 (with APC).
After that I found that FO problem with permission inside project and tasks disappeared.

I ask everyone to try in order to find out is that really a solution?
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Karco-QC April 02, 2013, 02:24:31 PM
Which version of PHP you use ?
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Karco-QC April 02, 2013, 02:27:42 PM
Sorry ... I just saw your version of PHP was updated. I had the same problem and the source was PHP version
: Re: Data is saved but disappears! - Workspace Permissions Problem
: franponce87 April 04, 2013, 04:21:15 PM
Hello Rolandua and Karco-QC!

Thank you both for letting everyone know about how you solved this issue!
We were not aware about this possibility, and hopefully other people will be benefited as well.

Best regards,
Francisco
: Re: Data is saved but disappears! - Workspace Permissions Problem
: alx April 04, 2013, 06:04:00 PM
Updating PHP to a newer version did not solve the problem in my case. I don't know whether the version of PHP was what caused it initially or a bug in the upgrade process from FO 2.2.1 to 2.2.2, but once you have it, it keeps propagating.

As has already been mentioned in the thread titled "FO 2.2.2 - Workspace and group permissions problem", the problem does not seem to exist any longer in a clean installation of version 2.2.4.1. Hopefully, the source of the problem will be discovered and dealt with in the future.
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Arthur Mullard May 13, 2013, 10:06:23 AM
We have some problem.

Updating to never PHP did not solve issue.

Re-applying user permissions to workspaces/sub workspaces is not really a suitable workaround. I does work but you have to do this for EVERY new object created!

Is this issue fixed in 2.3, can Feng people confirm? We'll have to leave Feng after a several years increasing use if this can't be fixed which is vey sad - but its just unusable otherwise.

 :(
: Re: Data is saved but disappears! - Workspace Permissions Problem
: alx May 25, 2013, 02:41:28 PM
Dear Arthur,

If you already have this annoying bug, upgrading to 2.3 will not resolve the problem :(

However, if you can afford a clean installation, using 2.2.4.1 or later does not have this bug any more.

Regards,
Alex
: Re: Data is saved but disappears! - Workspace Permissions Problem
: franponce87 May 28, 2013, 10:55:49 AM
The 2.3 does not have that issue, but, if you already had it before hand, you will still have it unless you apply some changes. Why? Because the data has already been written into your database and it is likely the references are different on most databases as it would depend on how the installation went.

Instead of reassigning all of the workspaces permissions I suggest one of the followings:

A: Run the rebuild_sharing_table.php file.
However, this are no guarantees that this solves the issue.

B: Change permissions manually:
1- Go to a user
2- Get to the Permissions screen
3- Change a permission and then change it back (so that the system notice that there was a change in between)
4- Save the changes

C: Subscribe to our services so that we can look into your database and figure out what is going on exactly, as guessing is not that helpful and it is time consuming.

Best regards,
Francisco
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Arthur Mullard May 29, 2013, 05:20:11 PM
Thanks for that. Unfortunately l have already tried A (no success) and B (this works but you have to redo it every time a new object is created!).

What is the price of C?
: Re: Data is saved but disappears! - Workspace Permissions Problem
: franponce87 May 31, 2013, 01:05:39 PM
Hello Arthur,

Sorry that option A and B did not work out.

Option C should work as I am confident my colleagues will be able to have a look at it and solve it. Concerning the costs, well, it would actually depend on many variables.
If you are really considering this possibility, feel free to drop me a PM or an email for further information.

Best regards,
Francisco
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Peter-Oghma July 04, 2013, 06:57:55 AM
Hi All,

We are facing the same issue or a very similar one.
We upgraded our FengOffice Community Edition System from 2.2.4 to 2.3.
The upgrade was successful.
But:

Whe someone change anything in a task (priority, estimated hours, assignee or anything else), the task is disappeared.
When we try to reach it with direct URL (from the notification e-mail what we got from FengOffice), we cannot reach it because of permissions.
After that I give all permission to the user for the appropriate Workspace, he reach the task again. Unfortunately when someone change the task again, the task disappear agan.

Any idea or suggestion?

Thanks,
Peter
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Peter-Oghma July 09, 2013, 06:15:30 AM
Nothing?
: Re: Data is saved but disappears! - Workspace Permissions Problem
: gepd July 26, 2013, 01:23:06 PM
I had the same problem, I had to go back to the previous version, still is any solution?
: Re: Data is saved but disappears! - Workspace Permissions Problem
: Baveskara July 29, 2022, 02:07:28 PM
Secure Amoxicilina Medicine Shipped Ups buy cialis online without prescription (http://buycialikonline.com)
: stromectol 6 mg
: Baveskara September 05, 2022, 07:27:28 PM
Whether you are shopping online or in-person, you ll need a prescription for ED pills, since there are no over-the-counter medications for erectile dysfunction where can i buy stromectol (http://iverstromectol.com/) 2021 Oct 12;8 744012
: comedy cialis
: Baveskara October 14, 2022, 11:58:13 PM
where to buy cialis online forum (https://bestcialis20mg.com) The introduction of an oral contraceptive facilitated the loosening of sexual mores, which had been largely enforced by the fear of unwanted pregnancy
: buy cialis online australia forum
: Baveskara December 02, 2022, 03:32:08 AM
arjuna bahco reciprocating saw blades ?? Regardless of the biased behavior of the regime, in spite of the corruption, in spite of everything, there was still a minimum of national consensus, ?? said Altaqi at the Orient Research Center what is stromectol used for (https://stromectol.ink) Brandt; Catherine Q Sun; Marlene Millen; Christopher A
: tadalafil use for
: Baveskara January 10, 2023, 08:44:30 PM
priligy (dapoxetine) (http://priligy.homes) Although these studies appear to demonstrate a benefit from intralesional verapamil, drawing a definitive conclusion on the efficacy of this treatment remains difficult without a well constructed, double blinded, placebo controlled study