Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-801

Check that all configuration variables being used

    XMLWordPrintable

    Details

    • Additional information:
      Hide

      Plan:
      1. create a unix script to perform automatic check
      2. export all configuration variable names into one file in one variable per line format
      3. use that file as input for a unix command "find" command
      4. this way "find" command will be called on all project files for each config variable separately and will output what's been found
      5. there is surely a way to report only variables, that were not found at all

      Idea is to automate process maximally.

      Please inspect all modules.

      Following configuration variables need to be implemented:
      =========================================================
      Category_ShowPick - show editor's pick categories above other categories when enabled
      SocketBlockingMode - set socket blocking mode for all curl requests
      Comm_City, Comm_Contacts_Additional, Comm_ZIP - show on all templates, where Comm_AddressLine1 configuration variable is used (e.g. orders_blocks.tpl in In-Commerce)

      What is need to be done too:
      ============================
      1. remember in order record (before user sends request to payment gateway; usually in ord:OnCompleteOrder event):

      • currency (that was selected on front-end)
      • totalamount of order in selected currency
      Show
      Plan: 1. create a unix script to perform automatic check 2. export all configuration variable names into one file in one variable per line format 3. use that file as input for a unix command "find" command 4. this way "find" command will be called on all project files for each config variable separately and will output what's been found 5. there is surely a way to report only variables, that were not found at all Idea is to automate process maximally. Please inspect all modules. Following configuration variables need to be implemented: ========================================================= Category_ShowPick - show editor's pick categories above other categories when enabled SocketBlockingMode - set socket blocking mode for all curl requests Comm_City, Comm_Contacts_Additional, Comm_ZIP - show on all templates, where Comm_AddressLine1 configuration variable is used (e.g. orders_blocks.tpl in In-Commerce) What is need to be done too: ============================ 1. remember in order record (before user sends request to payment gateway; usually in ord:OnCompleteOrder event): currency (that was selected on front-end) totalamount of order in selected currency
    • Change Log Message:
      Checked all configuration variables are actually used
    • Story Points:
      1
    • External issue ID:
      990
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In-Portal as 326 configuration settings, that can be changed in various configuration sections in all system parts.

      It's time to check if all of these variable change does have impact on the system or not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: