Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #9437 Fatal error when updating manual value of of a computed field in AD card
    Infos
    #9437
    Marie Ange Garnier (marieange)
    2016-09-19 18:18
    2016-08-31 11:44
    9717
    Details
    Fatal error when updating manual value of of a computed field in AD card
    Given a semantic defined on a computed field,
    When you try to update the computed value directly on the card (no modal access)
    a fatal error is raised:

    ( ! ) Catchable fatal error: Argument 1 passed to Tracker_FormElement_Field_Computed::getStorableValue() must be an array, string given, called in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php on line 977 and defined in /usr/share/tuleap/plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php on line 982
    Call Stack
    #TimeMemoryFunctionLocation
    10.0000647592{main}( )../index.php:0
    20.06829931816TrackerManager->process( )../index.php:33
    30.06839932072TrackerManager->processSubElement( )../TrackerManager.class.php:128
    40.076012722888Tracker_Artifact->process( )../TrackerManager.class.php:90
    50.076212758400Tracker_Action_UpdateArtifact->process( )../Tracker_Artifact.class.php:751
    60.078713691648Tracker_Artifact->createNewChangeset( )../UpdateArtifact.class.php:61
    70.083214665256Tracker_Artifact_Changeset_NewChangesetCreatorBase->create( )../Tracker_Artifact.class.php:1119
    80.108115724040Tracker_Artifact_Changeset_NewChangesetCreatorBase->storeFieldsValues( )../NewChangesetCreatorBase.class.php:101
    90.113915810864Tracker_Artifact_Changeset_NewChangesetCreator->saveNewChangesetForField( )../NewChangesetCreatorBase.class.php:159
    100.114115810960Tracker_FormElement_Field->saveNewChangeset( )../NewChangesetCreator.class.php:63
    110.114615812128Tracker_FormElement_Field_Computed->saveValue( )../Tracker_FormElement_Field.class.php:1116
    120.114915812128Tracker_FormElement_Field_Computed->getStorableValue( )../Tracker_FormElement_Field_Computed.class.php:977


    Trackers
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Marie Ange Garnier (marieange)
    Closed
    2016-09-07
    Attachments
    Empty
    References
    Referenced by request #9437

    Follow-ups