Cannot add limits to relantionship with Chrome

Bug #1053458 reported by Roger Orellana
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
I2CE
Fix Committed
High
Luke Duncan

Bug Description

Cannot add limits to relantionship with Chrome in 4.1.4

Luke Duncan (lduncan)
Changed in i2ce:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Carl Leitner (litlfred) wrote :

I tried this on OS X with Chrome version 21.0.1180.89 and I could not reproduce the error.

Mario and Roger,
Which version of Chrome were you using on Debian Squeeze?

Cheers,
-carl

Revision history for this message
Luke Duncan (lduncan) wrote :

I can duplicate this on Ubuntu Chrome Version 21.0.1180.89. The Add button submits the form but doesn't actually add a limit.

Revision history for this message
Luke Duncan (lduncan) wrote :

The error occurs when you have an operator and then try to add operands.

Revision history for this message
Carl Leitner (litlfred) wrote :

My failure to reproduce on OSX was for both the server + client running OSX.

I don't think the issue is with php/apache on OSX -- I had someone using chrome+ubuntu to access iHRIS+OSX and it failed.

For comparision, I added
  I2CE::raiseError(print_r($this->page->request(),true))
to I2CE_SwissFactory->updateValues(). The ouput of trying to set a field node as a limit to the primary form of the facility relationship was:
  [Tue Sep 25 09:50:13 2012] [error] [client ::1]
        Refered by : http://localhost/iHRIS/4_1_dev/manage/CustomReports/edit/relationships/facility
        I2CE: I2CE->raiseError (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/SwissFactory/lib/I2CE_SwissFactory.php:322)
              I2CE_SwissFactory->updateValues (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/CustomReports/lib/I2CE_Page_CustomReports.php:228)
              I2CE_Page_CustomReports->tryFactory (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/CustomReports/lib/I2CE_Page_CustomReports.php:170)
              I2CE_Page_CustomReports->action (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Page.php:513)
              I2CE_Page->displayWeb (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Page.php:466)
              I2CE_Page->display (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Wrangler.php:89)
              I2CE_Wrangler->wrangle (/Users/litlfred/Dropbox/scubas/thyme/ihris-manage/sites/Demo/pages/index.php:60)
        Array
        (
            [swissFactory] => Array
                (
                    [path] => /facility
                    [values] => Array
                        (
                            [/facility] => Array
                                (
                                    [display_name] => Facility List
                                    [description] => Facility information
                                )
                            [/facility/where] => Array
                                (
                                    [limit_operator] =>
                                    [limit_type] => limit
                                )
                        )
                    [options] => Array
                        (
                            [openedLinks] => Array
                                (
                                    [facility] => Array
                                        (
                                            [reporting_functions] => Array
                                                (
                                                    [/open] => 0
                                                )
                                            [where] => Array
                                                (
                                                    [/open] => 1
                                                )
                                        )
                                )
                        )
                )
        )

Revision history for this message
Roger Orellana (rjorellana) wrote : Re: [Bug 1053458] Re: Cannot add limits to relantionship with Chrome
Download full text (3.7 KiB)

Sorry for late reply.

I'm using Chrome version 22.0.1229.79-r158531 in Debian Squeeze.

On Tue, Sep 25, 2012 at 7:53 AM, Carl Leitner <email address hidden> wrote:
> My failure to reproduce on OSX was for both the server + client running
> OSX.
>
> I don't think the issue is with php/apache on OSX -- I had someone using
> chrome+ubuntu to access iHRIS+OSX and it failed.
>
> For comparision, I added
> I2CE::raiseError(print_r($this->page->request(),true))
> to I2CE_SwissFactory->updateValues(). The ouput of trying to set a field node as a limit to the primary form of the facility relationship was:
> [Tue Sep 25 09:50:13 2012] [error] [client ::1]
> Refered by : http://localhost/iHRIS/4_1_dev/manage/CustomReports/edit/relationships/facility
> I2CE: I2CE->raiseError (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/SwissFactory/lib/I2CE_SwissFactory.php:322)
> I2CE_SwissFactory->updateValues (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/CustomReports/lib/I2CE_Page_CustomReports.php:228)
> I2CE_Page_CustomReports->tryFactory (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/CustomReports/lib/I2CE_Page_CustomReports.php:170)
> I2CE_Page_CustomReports->action (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Page.php:513)
> I2CE_Page->displayWeb (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Page.php:466)
> I2CE_Page->display (/Users/litlfred/Dropbox/scubas/thyme/I2CE/modules/Pages/lib/I2CE_Wrangler.php:89)
> I2CE_Wrangler->wrangle (/Users/litlfred/Dropbox/scubas/thyme/ihris-manage/sites/Demo/pages/index.php:60)
> Array
> (
> [swissFactory] => Array
> (
> [path] => /facility
> [values] => Array
> (
> [/facility] => Array
> (
> [display_name] => Facility List
> [description] => Facility information
> )
> [/facility/where] => Array
> (
> [limit_operator] =>
> [limit_type] => limit
> )
> )
> [options] => Array
> (
> [openedLinks] => Array
> (
> [facility] => Array
> (
> [reporting_functions] => Array
> (
> [/open] => 0
> )
> [where] => Array
> (
> [/open] => 1
> )
> ...

Read more...

Revision history for this message
Luke Duncan (lduncan) wrote :

This has been fixed in 4.1-dev rev 3042. There is some strange behavior in Chrome that doesn't make a lot of sense but we have a workaround that fixes this issue.

Changed in i2ce:
assignee: nobody → Luke Duncan (lduncan)
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.