JupiterJones / NetWorks

This repository provides public access to the NetWorks project for businesses involved to scrutinise and contribute to the source code. No license or permission is granted for any purpose other than reading source code to confirm correctness of purpose.
0 stars 0 forks source link

Asset title appears as "aNWAsset" on the app #13

Closed JupiterJones closed 6 years ago

JupiterJones commented 6 years ago

Fails during import using the Lend Lease file format. This is a bug left over from where Assets were incorrectly known as Locations. An Asset is now a simple sting containing the id of the asset.

This affects the importer, the web app, the API but not the app. The app is only displaying the incorrect value because the API is trying to send an Asset object (aNWAsset) rather than the name of the asset.

JupiterJones commented 6 years ago

Fixed importer to treat the asset as a string. Currently it's the same as the title which is kind of redundant, however, we're keeping the Asset for now as other clients my specify this separately.