Uploaded image for project: 'Survey'
  1. Survey
  2. SURVEY-198

TraversableAmetysObject.getChildAt and TraversableAmetysObject.getChildPosition use long instead of int

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.8.0
    • None
    • None
    • None
    • 4.4 M1

      org.ametys.plugins.repository.TraversableAmetysObject.getChildAt(int)

      changed to

      org.ametys.plugins.repository.TraversableAmetysObject.getChildAt(long)

      and

      int org.ametys.plugins.repository.TraversableAmetysObject.getChildPosition(AmetysObject)

      changed to

      long org.ametys.plugins.repository.TraversableAmetysObject.getChildPosition(AmetysObject)

       

      org.ametys.plugins.survey.dao.SurveyDAO.moveObject(String, String, String, int)

      should be changed to

      org.ametys.plugins.survey.dao.SurveyDAO.moveObject(String, String, String, long)

      But this will break compatibility with Ametys 4.1

          [SURVEY-198] TraversableAmetysObject.getChildAt and TraversableAmetysObject.getChildPosition use long instead of int

          For testing : test that the move of elements in a survey works.

          Pierre Gros (Inactive) added a comment - For testing : test that the move of elements in a survey works.

          no more 4.1 compatible. go for it

          Raphaël Franchet added a comment - no more 4.1 compatible. go for it

          This will break compatibility with 4.1
          So wait and see for the moment

          Raphaël Franchet added a comment - This will break compatibility with 4.1 So wait and see for the moment

            Unassigned Unassigned
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: