bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Metadata Standard.
Other
6 stars 0 forks source link

Importing CSV does not automatically activate publish options #387

Closed CraigClark closed 3 months ago

CraigClark commented 3 months ago

OP timer

https://openplus.monday.com/boards/4092908516/pulses/6290204756


Describe the bug

When I import a csv, I am automatically taken back to the build page. In the side bar, I do not see the option to publish this change and record what type of update it is. I suspect the build options are triggered by saving a section, but the csv import is bypassing that.

This could confuse users because they have made a significant change, however the publishing options they see with any other change are not there.

To reproduce

Steps to reproduce the behaviour:

  1. Download test-data-dictionary-import-columns.csv
  2. Go to https://dv14.openplus.ca/node/74/build
  3. Click on Edit beside Section 6: Data dictionary
  4. Click Import/export data columns button
  5. Import the file downloaded in step 1
  6. See that after you import the csv you are taken to the build page and there are no options to publish the change

Expected behaviour

After I make a change to an MR, I can publish it.

Possible solution

Maybe the easiest fix is to be directed back to /edit?display=section_6 after an import.

CraigClark commented 3 months ago

Tested and approved on dv14