Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feltene står som valgfrie, men det kreves likevel utfylling #1247

Closed
6 tasks done
hanneline opened this issue Mar 8, 2019 · 30 comments
Closed
6 tasks done

Feltene står som valgfrie, men det kreves likevel utfylling #1247

hanneline opened this issue Mar 8, 2019 · 30 comments
Assignees
Labels
area/data-modeling Area: Related to data models - e.g. create, edit, use data models. area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should.
Milestone

Comments

@hanneline
Copy link

hanneline commented Mar 8, 2019

Describe the bug
Feltene står som valgfrie, men det kreves likevel utfylling.
Hva styrer om et felt er valgfri eller ikke?

To Reproduce
Steps to reproduce the behavior:

  1. Gå til tjeneste NyTjeneste (org. hanneline)
  2. Velg Test->Manuell
  3. Velg Id 1398 i meldingsboksen
  4. Alle feltene er valgfri jf ledetekstene
  5. Klikk på feltet organisasjonsnummer
  6. Gå ut av feltet uten å skrive noe i det
  7. Feilmelding Field is required

Expected behavior
For valgfrie felt, kommer det ikke melding om at feltet må fylles ut.
For påkrevde felt står det ikke valgfri ved ledeteksten.

Screenshots
If applicable, add screenshots or animated gif to help explain your problem.
image

Additional info
Windows 10 Pro, Chrome

Tasks

  • Set default value to required
  • Change the rule that sets fields with minOccurs=0 to optional (and can't be changed)
  • Check if xsd is converted properly. If not fix it.
  • Write tests if necessary
  • Test
    • Test that minOccurs=1 sets the field to required
@hanneline hanneline added the kind/bug Used when there is a defect / something is not working as it should. label Mar 8, 2019
@hanneline hanneline changed the title Påkrevd felt står som valgfri Feltene står som valgfrie, men det kreves likevel utfylling Mar 8, 2019
@gudrunvigerustfuru gudrunvigerustfuru added area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. logic & rules labels Mar 12, 2019
@gudrunvigerustfuru gudrunvigerustfuru added this to the MVP milestone Mar 12, 2019
@GGunnar GGunnar modified the milestones: MVP, MVP.2 Mar 14, 2019
@GGunnar
Copy link

GGunnar commented Mar 14, 2019

#1103 is related, it improves this functionality but does not solve it

@malmil
Copy link
Contributor

malmil commented Mar 29, 2019

Pull Request #1415 solves this issue.
Should be tested when the PR has been merged. @trymen

malmil added a commit that referenced this issue Apr 3, 2019
* React updated to support hooks
* #1103 "disabled/locked" view
* solves #1247 .
@trymen
Copy link
Contributor

trymen commented Apr 4, 2019

Retested in dev. Optional field no longer throws an error when it is not filled (tested with input component). Closing this issue.

@trymen trymen closed this as completed Apr 4, 2019
@hanneline
Copy link
Author

@trymen Når kommer denne rettingen i altinn.studio?

@hannekot
Copy link
Contributor

hannekot commented Apr 9, 2019

@hanneline kan oppdatere altinn.studio i morgen tidlig med den endringen

@hanneline
Copy link
Author

Flott, blir det bare denne, eller får vi alle andre også? Skulle hatt i allefall 1103 også. :)

@hannekot
Copy link
Contributor

@hanneline 1103 er med i oppgraderinga. Altinn.studio er nå oppdatert

@hanneline
Copy link
Author

@hannekot Fungerer ikke i altinn.studio

image

@hannekot
Copy link
Contributor

@hanneline prøv å slette elementene og legge de inn på nytt igjen

@hanneline
Copy link
Author

hanneline commented Apr 11, 2019

@hannekot Det blir litt arbeid det, blir det slik hver gang dere legger til nye egenskaper? Må fikse logikken også på nytt da...

@hanneline
Copy link
Author

hanneline commented Apr 11, 2019

@hannekot Egenskapen er ikke der, selv om jeg legger til et nytt felt.
image

@hannekot
Copy link
Contributor

@hanneline legg inn en ny komponent, tykk på den komponenten som er lagt til (komponenten markert med hvit) og trykk på f(x) ikonet på siden så skal du få opp:
image

@hannekot hannekot reopened this Apr 11, 2019
@hannekot
Copy link
Contributor

Det er fortsatt problemer med denne
Funker greit hvis du ikke skriver inn noe og trykker lagre
Men hvis du så skriver inn noe, fjerner og så fjerner det igjen så vil du få beskjed om at feltet er required. Dette er ikke ønsket oppførsel

@hannekot
Copy link
Contributor

@hanneline vi lager en issue på at du må slette komponentene og så legge de inn igjen for å få denne funksjonaliteten til å fungere (@trymen kan du tagge issuet her?)
I teorien så burde dette fungert uten at du måtte lage skjemaet på nytt igjen

@hanneline
Copy link
Author

@hannekot Det var ikke der jeg forventet å finne egenskaper til komponenten.

Mitt problem med valgfri er at SERES XSDene er satt veldig åpne, lite som er må-felter i XSD. Så jeg trenger å sette at de er må-felter i skjema.

@hanneline
Copy link
Author

hanneline commented Apr 11, 2019

@hannekot Får ikke endret Valgfri på komponent i skjema.

Ny komponent, kan endre Valgfri (default er valgfri):
image

Legger inn kobling til datamodell, kan ikke endre Valgfri (hvor systemet har fjernet avkrysning for Valgfri):
image

@hannekot
Copy link
Contributor

@hanneline det skjer nok fordi feltet i datamodellen er required. Man kan ikke overstyre datamodellen i UI-editoren

@Hannott
Copy link

Hannott commented Apr 12, 2019

@hannekot Det er sant med modifikasjoner. I ORXSD er elementer merket minOccurs=0, så de burde være valgfrie, men fordi de inneholder attributter som er required, blir hele feltet required. Dette er en feiltolkning av XSD til JSON, noe man lett kan teste ved å validere en nesten tom XML mot en XSD som altinn.studio mener har alle felter påkrevd.

Eksempel nedenfor, hele gruppen og navn er valgfritt, men hvis det er med, så er orid/gruppeId attributtet påkrevd.

   <xs:sequence>
      <xs:element minOccurs="0" ref="soknad-grp-5663"/>
   </xs:sequence>

    <xs:element name="soknad-grp-5663">
        <xs:complexType>
            <xs:sequence>
                <xs:element minOccurs="0" ref="Kontaktperson-grp-5665"/>
            </xs:sequence>
            <xs:attribute fixed="5663" name="gruppeid" type="xs:positiveInteger" use="required"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="Kontaktperson-grp-5665">
        <xs:complexType>
            <xs:sequence>
                <xs:element minOccurs="0" ref="KontaktpersonNavn-datadef-2">
                </xs:element>
            </xs:sequence>
            <xs:attribute fixed="5665" name="gruppeid" type="xs:positiveInteger" use="required"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="KontaktpersonNavn-datadef-2">
        <xs:complexType>
            <xs:simpleContent>
                <xs:extension base="Tekst150-repformat-13">
                    <xs:attribute fixed="2" name="orid" type="xs:positiveInteger" use="required"/>
                </xs:extension>
            </xs:simpleContent>
        </xs:complexType>
    </xs:element>

    <xs:simpleType name="Tekst150-repformat-13">
        <xs:restriction base="xs:string">
            <xs:minLength value="1"/>
            <xs:maxLength value="150"/>
        </xs:restriction>
    </xs:simpleType>

@hannekot
Copy link
Contributor

@Hannott parseren som gjør om fra XSD til JSON er ikke fedigutviklet og inneholder feil. Det er ikke prioritert for øyeblikket at dette skal fikses. Men det du kan gjøre er å opprette en bug på det du beskriver her (med mindre du har alt gjort det) så er det nok større sansynlighet at dette blir tatt tak i.

@gudrunvigerustfuru
Copy link
Contributor

@trymen gå over å se om alle bugs nevnt i tråden er opprettet

matsgm pushed a commit to matsgm/altinn-studio that referenced this issue Apr 25, 2019
* 216 navigation tabletview (#543)

* Profile menu with logout. Default Material-UI menu with keyboard navigation. Added minor styling.

* Added drawer component for tablet view

* Initial commit.

* Styled tablet menu button.

* Moved routing to config file.

* Added key to child in array.

* Fixed MuiThemeProvider in Service-Development.

* alphabetized imports, removed unused imports

* Added code to  show/hide menu on "meny" click in app bar

* Updated routes with english text for the menu selection, added code to mark the active menu in left drawer menu

* Font and color changes for the appbar and leftdrawer menu

* Added exact path to routes.

* Updated material-ui package versions to fix docker build errors

* Updated material-ui package version

* Updated theme file to fix merge errors

* Upgraded React version.

* Created interface for state, created interfaces for menu object

* Fixed some code in appBar.tsx.

* Fixed PR comments, added altinn standard colours in altinnstudiotheme,adjusted tablet menu styles

* Renamed index to key, changed object to styles

* Add textarea input for paragraph, cleanup (#559)

* Add textarea input for paragraph, cleanup

* remove unnecessary method

* added Dashboard  (#539)

* started with dashboard

* added styling

* added filter to dashboard

* added fetch langauge saga to dashboard

* added language saga

* added organizations

* added format date

* ran npm install

* added moment and new service btn

* added search

* cleanup

* Added you have no services text and fetch current user

* Cleanup and moved componentes to shared, also added theme

* made serviceCard

* fixed some issues

* trying to rename folder

* renamed

* removed org

* added org to card

* fix sonarqube

* fixed some issues

* removed roboto

* Learna add material-ui@3.6.1 to all applications. Defined react-redux-versions. Installed missing Immutability-helper and Axios.

* fixed styling and changed truncation module

* fix filter and searchfield

* made card clickable and tabable

* fixed some pr comments

* renaming

* added null check

* removed hardcoded string

* removed unnecessary code

* removed connection to store

* removed unused code

* fixed pr comment

* removed unused code

* changed to using react 16.6.3

* removed typeface roboto

* removed comma that makes the build break

* fixed version for material-ui

* fix language file

* fixed typography

* merge

* added altinn palette

* Added new test reporters for react apps, changed test discovery regexes (#561)

* Added jest-junit, changed test discovery regex

* added jest-junit to dashboard and service development, changed test discovery regex for those apps as well

* Gulp task 'default' bug (#565)

* Fixed multiple dashboard.

* Fixed default task crashing.

* #216 Testing Main Header in Service-Development (AppBarComponent) (#566)

* Added tests for AppBarComponent.

* Added @types/jest to shared.

* Cleaned up test for AppBarComponent. Fixed theming. Installed and updated dependencies.

* Added more variables to tests.

* First version of loopable configuration rendering test. (#589)

* Feature/issue 335 sync api (#581)

* Added source controll to repository controller

* Added status

* Added new API for status

* Added API for pull and push

* 216 test profilemenu (#592)

* Initial test of ProfileMenuComponent.

* Replaced renderer with shallow.

* Removed todo.

* Removed a duplicate test.

* Fixed tests and updated snapshots.

* jest tests of dashboard feature (#593)

* started with dashboard

* added styling

* added filter to dashboard

* added fetch langauge saga to dashboard

* added language saga

* added organizations

* added format date

* ran npm install

* added moment and new service btn

* added search

* cleanup

* Added you have no services text and fetch current user

* Cleanup and moved componentes to shared, also added theme

* made serviceCard

* fixed some issues

* trying to rename folder

* renamed

* removed org

* added org to card

* fix sonarqube

* fixed some issues

* removed roboto

* Learna add material-ui@3.6.1 to all applications. Defined react-redux-versions. Installed missing Immutability-helper and Axios.

* fixed styling and changed truncation module

* fix filter and searchfield

* made card clickable and tabable

* fixed some pr comments

* renaming

* added null check

* removed hardcoded string

* removed unnecessary code

* removed connection to store

* removed unused code

* fixed pr comment

* removed unused code

* changed to using react 16.6.3

* removed typeface roboto

* removed comma that makes the build break

* fixed version for material-ui

* fix language file

* fixed typography

* merge

* added altinn palette

* added snapshot tests

* added more tests

* added tests for shared components

* added snapshots

* fixed sonarqube stuff

* fix codesmell

* added menu to dashboard

* fixed color of navmenu

* fix pr

* codesmell

* Jest tests for left drawer menu (#567)

* Added test for left drawer menu and refactored left drawer menu code so that the negative tests pass

* Fix sonar cloud bug

* Added more positive tests

* Fixed PR comments

* removed comment

* Fixed PR comments

* Fixed PR comments

* Fix typescript exact version (#602)

* First version of loopable configuration rendering test.

* Exact version of Typescript in all package.json.

* Added tests for tablet menu (#603)

* Initial commit for tabletdrawer menu

* Removed screen resolution setttings and added test to verify the tablet menu component

* Added tests for tablet drawer menu

* Added import Jest to test to remove red underline.

* Fix sbl layout with small screen and/or large form (#607)

* Removed the navmenu drawer that is no longer used (#601)

* fix layout for paragraph component in sbl (#616)

* 216 header review fixes (#612)

* First version of loopable configuration rendering test.

* Exact version of Typescript in all package.json. Removed Typescript from Lerna root.

* Commit.

* Added showBreadcrumbOnTablet prop to AppBarComponent. Refactored tests.

* Modified TabletDrawerMenu to show logoutButton when in tabletmode, if prop is set.

* Fixed linting errors.

* Fixed linting errors.

* Make drag n drop great again (#609)

* implement autosave (#621)

* added jest-junit, added no-ci hoist script (#613)

* added jest-junit, added no-ci hoist script

* Fixed typescript version, added back jsdom dependency

* fix versioning in package-lock-files

* Added no-ci hoist script (#628)

* built a new loadbalancer - bumped versions in kubernetes deploy files (#625)

* Fixes for tablet drawer menu after design review comments (#622)

* Fixed issues raised after design review, fixed tests

* Fixed test for AppBar.

* fix for sonar cloud code smell

* Fixes for sidemenu based on design review comments (#619)

* Initial commit for style changes

* Added onMouse events to ListItem with setting iconColor to state and passing as prop.

* Fixed state for iconColor in LeftDrawerMenu.

* Fix for sonar cloud tslint errors

* PR comment, update the lock from master

* 216 subheader underline hover (#630)

* Modified subheader hover. Removed bold, added underline.

* Fixed test compared to other branch.

* Created a API for creating a APP token. (#599)

* Created a API for creating a APP token.
Possible a temporary solution.

* Stylecop fix

* Fixed structure

* Fixed minor style issues  (#631)

* Fixed minor style issues

* Added trailing comma to fix tslint error

* Basic snapshot test of App.tsx from Service-Development. (#634)

* Add auto-save when adding, updating and deleting rules (#636)

* Forgot to add auto-save when adding, updating and deleting rules

* add auto-save for conditional rendering rules aswell

* fix sonarcloud warning

* Commited changes in package.json and lock. (#635)

* add check if sagas have been initialized (#638)

* updated header-test (#639)

* Implemented fetchLanguage in Service-Development. Updated tests. (#717)

* Sync code to master (#637)

* addedversion control header

* added components for fetch and pull

* Test ja

* added text

* Added API for branches

* updates

* updated with more stuff

* refactor

* Added API for Commit and Push

* Fixed input values and response object for pull

* Added merge conflict status

* fix stuff

* made commit work

* fixed lint

* added theme

* rename and fix hover/focus

* Added API for log of commits. Uses APP key and GIT interface.

* rename component

* fixed moreThanAnHourSinceLastPush

* removed unused

* added versionControlHeader to all react pages

* added _isMounted constant

* fixed cs

* fix code smell

* fix code smell

* Added repostatus conflicted if merge conflict

* Added boolean for merge conflicts for easy json stuff

* Added axios and fixed text

* dashboard: better text when filtered (#741)

* Issue #351 & #355 (#735)

Fixed functionality and design for check boxes and radio buttons, both for Studio and SBL.

* Updated snapshots for the drawer menu tests (#746)

* gitea:Added endpoints for discarding local changes (#744)

* Added endpoints for discarding local changes and keeping the master version of specific or all files

* Updated summary for the soruce control methods

* Removed save button. (#739)

* Uncommented the Navbar. (#742)

* Fix for bug #724 (#743)

Fix for bug #724

* Removed posibility to create text from ui-editor. (#753)

* 62 bug import of xsd must handle encoding (#758)

* Changed to XmlReader instead of StreamReader which did not handle character encodings well

* Added some guards to avoid null-pointer exception. Instead throws ApplicationError

* Added latin1 (iso-8859-1) test file and ModelController test to upload the file

* Added missing nullcheck. (#761)

* added disabled to form submit intput. Removed disable on submit and secondaryFiles. User cannot upload emtpy fil, only when primary file is select user can select additional files. (#763)

* Sync to master (#733)

* addedversion control header

* added components for fetch and pull

* Test ja

* added text

* Added API for branches

* updates

* updated with more stuff

* refactor

* Added API for Commit and Push

* Fixed input values and response object for pull

* Added merge conflict status

* fix stuff

* made commit work

* fixed lint

* added theme

* rename and fix hover/focus

* Added API for log of commits. Uses APP key and GIT interface.

* rename component

* fixed moreThanAnHourSinceLastPush

* removed unused

* added versionControlHeader to all react pages

* added _isMounted constant

* fixed cs

* fix code smell

* fix code smell

* Added repostatus conflicted if merge conflict

* Added boolean for merge conflicts for easy json stuff

* Added axios and fixed text

* updated with mergeconflict text on shareChanges

* Updated with check status from uieditor

* added jest tests for share changes

* added jest tests

* VersionControlHeaderSnapshot test

* css fix

* removed appBar snapshot

* fixed typo and tests

* Bug issue 351 (#766)

* Added missing nullcheck.

* Missing nullcheck.

* 501 xsd to jsonschema and back (#745)

* initial test of JsonSchemaToXsd

* JsonSchema2XsdSchema - almost there

* Refactored

* simple type now handles

* Convert XSD to Json Schema

* Upgraded xsd parser and json metadata parser to handle recursive types.

* More tests, and added NJsonSchema and NJsonSchema.CodeGeneration.CSharp

* Upgraded json schema parser. Reads first object type and treats it as the root element

* Minor refactoring

* More refactoring

* Refactored anonymous type name

* StyleCop

* Fixed stylecop JsonSchemaToXsd

* StyleCop

* More stylecop stuff and added missing file

* Added reference to xml schema and json schema and display in json-metadata

* Model designer now shows cardinality and type in tree-view

* added cardinality and type visualisation in react app

* Added support for xsd:choice in XSD.  Added support for overriding restrictions from supertype. Added XSD files from Skatteataten to unit tests to ensure that we support them.

* Code no longer cuts element names after first dash '-', instead dash is ignored. Also better handling of conflicts. Code now actually stores the generated random in JSON file

* Renamed attribute from JsonSchemaReference to JsonSchemaPointer to better explain that it is a Pointer

* Renamed attribute XmlScheamReference to XmlSchemaXPath to better explain that it is an XPath

* XSD to Json Schema WIP

* Borking code because of StyleCop

* Commented out XsdToJson tests

* Prototype JsonSchemaInstance generator to handle automatic generation of old JSON Metadata file

* Increased magic number MaxOccurs 99999

* Fixed test error caused by Manatee StringFormat ctor concurrency problem

* Reactivated disabled tests

* Reformated and updated code based on review comments

* Added code to copy project file template into service repository on creating a new service, updated dockerfile to copy project file into service container (#767)

* Select, group and delete components (#751)

* theme override deleted, ..and a bug was found and fixed

* new redux instance for list of active components

* selecting elements functionality

* merge fixes

* grouping with border

* delete components from activelist

* grouping works almost. Not when moving elements around

* fixed a select error

* merge fix

* rm unnecessary files

* copy from master...

* review fixes

* interface deleted

* yargs-parser missing in lock file

* yargs-parser missing in lock file 2

* type error

* build fail fix

* sonar cube fix

* sonar cube fixes + interface added in arrayLogic

* sonar qube fixes

* users can use tabbing

* fix for #688

* review fixes

* store was commented out

* Added code to restrict developers from  empty commit (#777)

* Implementation - Address Component (#768)

* Added seperate scrollbar for components. (#781)

* #701 - Missing authentication on controllers (#775)

* Added authrorization.

* Unwanted char

* Auth at controller level not individual endpoints.

* Update README.md (#780)

npm run gulp builds the necessary react applications.

* Modified configuration for designer project to copy the templates with subdirectory (#785)

* title set to Altinn Studio (#787)

* add autosave again (#796)

* Feature/issue590 upgrade gitea (#789)

* Upgrade GITEA and changes how the APIS are used because of changes in GITEA.
Also added Creation of AppToken with HTML screen scraping.  (yeah)

* Updated unit tests

* Changed signature of service use in runtime

* Fixed configuration used

* Removed def info

* Refactored and added some logging

* Fixed count for paging

* Reverted to earlier versjon

* Fixed retriavel of url

* Fixed bug for rule and conditional rendering. (#807)

* Fixed bug in traversal of anonymous types (#790)

* Fixed bug in traversal of anonymous types

* Set XmlReader to ignore whitespaces which handles texts correctly

* Feature/issue590 debug (#803)

* Added debug info

* Added more debug

* Added internal host config

* updated cookie with correct value

* use new version of build gitea image

* Remnoved debug from service

* Added custom signup header templates for gitea user registration (#810)

* Added custom signup header templates for gitea user registration

* minor design fixes for signup template

* added minor fixes for signup template

* text resource fix

* PR fix for text resource

* Create new service (#794)

* Added modal

* AltinnButton added

* Updated with post create service and get organizations

* update

* Fix popper for validation

* Added regex check

* rename file

* added functionality to suggest reponame

* Service named saved to textfile

* Added spinner

* codesmell fix

* merge master

* trying to fix failing unit tests

* fix jest tests

* Pull request fixes

* reorganized folders

* Added displaystring to simpleContent orid and simplify orid-names (#813)

* Added displaystring to simpleContent orid and simplify orid-names

* fixed unittest

* 531 monaco editor (#815)

* Added basic code editor component

* Added logic editor view to ux-editor

* updated webpack config for monaco to manual

* Add file name header for logic editor

* got basic syntax highlighting working

* update build

* save local changes

* Add support for fetching file content from server

* Move LogicEditor to shared and rename

* Small fixes

* Add support for saving file content to server from editor

* cleanup

* Add new built files for service development to gitignore

* more cleanup

* updated package-lock files

* Remove console.logs

* Revert "Remove console.logs"

This reverts commit 4dbc60d4a43e0110388c7d24ad05de1b3e1b2d80.

* Fix incorrect commit

* Fix failing build

* stylecop fix

* Update for PR comments

* Revert package.json to master

* Added code to return a httpresponsemessage for discard changes (#801)

* Added templates for linking account and registering a github account on first time login (#830)

* Small fixes (#826)

* formElements elements tabable #804

* console errors for missing keys fixed

* metrics for kubernetes cluster (#834)

* React upgrade (#829)

* Added modal

* AltinnButton added

* Updated with post create service and get organizations

* update

* Fix popper for validation

* Added regex check

* rename file

* added functionality to suggest reponame

* Service named saved to textfile

* Added spinner

* codesmell fix

* merge master

* trying to fix failing unit tests

* fix jest tests

* Pull request fixes

* reorganized folders

* added scroll to modal

* upgraded react

* ran lerna hoist

* updated snapshot

* Added altinnSpinner

* fixed jest tests

* Removed possibility to add text from paragraph. (#837)

* gitea templates (#840)

* improved metrics (#841)

* code no longer generates DataBindingName for group elements. Also fixed jsonSchema pointer strings (#852)

* removed "skriv inn" from texts as this is no longer an option (#855)

* Added iterating over all pages to retrieve full sett of repostires (#862)

* updated templates and text resource to match new sketch (#853)

* use secrets for altinn-repositories (#863)

* Feature/issue590 deletation of app kehys (#851)

* Added deleation of old App Keys.

* Updated login

* Added URL

* Removed authoirze attribute to allow call between  runtime and desigenr

* Added authentication cookies between runtime and desigenr

* Fixed pull request comments.

* removed versionControlHeader from preview (#867)

* Service not cloned (#866)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Updated so all files related to init service is pushed to gitea upon creating a service (#869)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Changed the way a service is created

* fix build fail

* 530 service logic view (#825)

* added service logic menu

* rightMenu is implemented. Missing buttons

* posibility for tabbing added

* temp btn added

* removed unused mat ui component

* map state to prop removed

* Add support for editing dynamics from logic menu

* icon added, new fort awesome kit added, font awesome removed from view

* menu scrollable fix

* sonar qube fix

* Move dynamics connections from toolbar to logic menu

* Fix bug when uploading data model

* Disable snapshot test for service-development

* make test results more readable

* Update comment

* Corrected summary comments

* more comment fixes

* Better solution for importing module files in dev

* _state deleted, fx-button zindex fix

* component delete fix (#888)

* Can now add items from toolbarmenu using keyboard only. (#889)

* Missed the guitarist from guns and roses (#890)

Missed the guitarist from guns and roses

* Modified projectfiel to use nuget package for service library (#887)

* 531 monaco editor bugfix (#891)

* Fix dockerfiles to get all built service-development modules

* fix weird diff

* #563 Adress Component SBL POC (#827)

* Can now connect each field to individual data model fields.

* Changes based on code review.

* Language update, and fix for onblur on api-call.

* Datamodel field is now a nested structure.

* Share common const for default key.

* Text resources now nested. Some changes to reflect new datamodelbindings.

* Bugfix.

* Added a null-check to prevent old formlayouts from crashing.

* Null checks to avoid crash on old formlayouts.

* All working, except API and RULES.

* API-calls and rules now work.

* Cleanup.

* Removed console.logs

* Can now add text-resource binding for adress-field to validate POC.

* Cleanup.

* Undo gulpfile changes.

* All works fine.

* Removed console.log

* Removed console.logs and updated validation on submit form

* Validation on form submit

* Label-key fix for select

* Typo

* Updated fileupload test.

* Updated snapshot.

* Added jest tests for service not cloned and create new service (#894)

* added route and text

* added store

* added check for if repo is cloned

* updated with breadcrumbs and last commit

* added jest test and spinner

* fix some styling issues

* changed null check

* uncommented test for now

* Changed the way a service is created

* fix build fail

* Added jest tests for clone service

* fixed breaking jest tests

* updated to use utc format on moment

* updated with createNewService tests

* fix build

* added _isMounted to get

* removed snapshot

* Modified gitea configuration to show registration button. added favicon.ico in startpage and index page to fix favicon error (#897)

* Update altinncore-deployment.yaml (#901)

* Dummy design system landing page (#907)

* Added a dummy landing page for design system.

* Import fix.

* New selectors for designer page and testcafe tests for Issue #216 (#902)

* Added npm start script to package.json

* ACTUALLY added npm start script to package.json

* Added xunit output file

* test script in package.json

* New nagivation tests

* New tests, switched to headless mode, xUnit reporter file

* changed test script to dev env

* spelling error in reporter

* Switched to junit reporter, changed testdata to automation user and email, updated tests with new testdata

* updated with correct hover state on filter (#903)

* minor style fix for header (#908)

* Added missing cookie domain for runtime kubernetes (#919)

* Added missing cookie domain for runtime kubernetes

* Critical fix

* Bump those numbers (#922)

* 127 calculations (#884)

* added service logic menu

* rightMenu is implemented. Missing buttons

* posibility for tabbing added

* temp btn added

* removed unused mat ui component

* map state to prop removed

* Add support for editing dynamics from logic menu

* icon added, new fort awesome kit added, font awesome removed from view

* menu scrollable fix

* sonar qube fix

* Move dynamics connections from toolbar to logic menu

* Fix bug when uploading data model

* Disable snapshot test for service-development

* make test results more readable

* Update comment

* Corrected summary comments

* calculation added

* more comment fixes

* zIndex fix, sonar qube fix

* merge conflict comments deleted

* merge conflict comments deleted. sonar qube fix

* Closing brace should be followed by blank line fix

* key error fix, + review fixes

* new function for getCalculationFiles

* this.props.closeFileEditor added back in

* added calculation folder to path (#925)

* added calculation folder to path

* not a constant

* Fixed component not mounted bug on api-call (#929)

* Update altinncore-deployment.yaml (#933)

Updated with correct name for designer internal host

* Minor styling fixes for logic editor (#932)

* 336 handle merge conflict with monaco (#895)

* Added basic code editor component

* Added logic editor view to ux-editor

* updated webpack config for monaco to manual

* Initial commit.

* Made styling and grid for HandleMergeConflict. Small fixes in overflow and scrolling.

* Add file name header for logic editor

* got basic syntax highlighting working

* Initial commit.

* update build

* Changes.

* save local changes

* Add support for fetching file content from server

* Move LogicEditor to shared and rename

* Added discard button and popover. Added AltinnPopover shared component.

* Small fixes

* First commit with Validate changes.

* Removed unused module.

* Add support for saving file content to server from editor

* cleanup

* Add new built files for service development to gitignore

* more cleanup

* updated package-lock files

* Remove console.logs

* Revert "Remove console.logs"

This reverts commit 4dbc60d4a43e0110388c7d24ad05de1b3e1b2d80.

* Fix incorrect commit

* Fix failing build

* stylecop fix

* Update for PR comments

* Revert package.json to master

* Some small changes.

* Added loading of one file in fileeditor.

* Overall new design and Lagre Fil button.

* Added api for staging changes to a specific file

* Fix for stylecop exception

* Routing works. Redirect in VersionControlHeader. API returns result. Design changes. More.

* HandleMergeConflictValidateChanges modifications.

* All done except - Avslutt uten å løse konflikt - functions.

* Fixed mode prop number to string, merge error.

* Updated Snapshots.

* Fix for stylecop

* Small fixes. Added text to language api.

* Fixed stylecop issue

* First tests. Do not pass.

* Tests...

* Added api to abort merge operation

* Added abortMerge.

* fixed abortmerge to remove the conflict tags. Fixed url problem in handlemergeconfit page

* Fix for stylecop issue

* Removed console.log in handleMergeConflictReducer.

* Fixed test in progress.

* Removed unused IDs.

* Docummentation summary -PR fix

* Fixed commented code. Console.error. Moved some packages to devDeps. Executed lerna bootstrap hoist.

* removed httpresponse return type from service

* Update altinncore-deployment.yaml (#939)

updated with internal urls intead of external

* Uppgrade SeresXsdParser to handle XSD better (#935)

Multiple work on SeresXsdParser with accompanying xsd2json and json2xsd conversion
* Attribute enum and top-level annotations
* Cleaned up name handling
* Support <choice><sequence>.., and added datatype xs:long
* Made XSD conversion tests more generic
* More datatypes
* Don't fail when trying to parse minLength/maxLength
* xs:attribute on xs:simpleContent should create a special Value attribute for xs:extension base type
* Fixed minInclusive and maxInclusive. No type given is xs:anyType => JsonSchemaType.String, and minor tweaks to special value property.
* Support namespaces
* Support attribute refs
* Support xsd:any
* When appending type for referenced object, look at referencing object for cardinality.
* added existing texts so that we can run SeresXsdParser with mocked repository. Fixed a few missing cardinalities. Renamed InstanceModelGenerator
* orid may be required, value is required
* added restrictions
* Attribute parsing should work prettty decent now
* Added support for xs:list
* Added support for minExclusive/maxExclusive, added @type for xmlAny and fixed typo
* Prevent multiple Minimum and/or Maximum entries
* Expand AttributeGroup
* Added limited support for xs:list, xs:any, fixed name simplification collisions, added support for data types Base64Binary and AnyURI
* Improved attribute ref and added support for simpleContent restriction
* Support for simpleContent restriction with base type and attributes
* Handle missing objects (from imported xsds?)
* Added logging, cleaned up some debug code and fixed last known XSD parse bug
* All known XSDs can be converted now!
* Use the TestLogger
* Changed element naming from cutting name after - , to only remove -
* Added tests to for jsonSchema to xml schema conversion

* Add workflow file (#931)

* Added workflow to createService++

* fix for add/update workflow file

* fixed workflow model

* fix build error

* fix before pr

* Update AltinnFilterChip.tsx (#938)

Added box-shadow

* Sync service to master upgraded (#916)

* updated with correct hover state on filter

* updated with fixes for sync bar

* updated text

* Small translation fixes.

* Small textual fixes.

* Make tests great again (#955)

* 736 datamodel intellisense (#960)

* created working poc for data model intellisense

* Improve intellisense behaviour

* update naming

* Clarkt/708 fix dnd (#900)

* possible halfway fix, with console logs

* updated dropItem function

* components working, now to fix containers

* update redux-store with internal state

* fixed wierd bug

* commit with no console logs, components working, containers not working

* updated package lock files

* fixed errors with variable declared but not used

* updated package-lock

* fixed failing test, expected string[] but got string

* updated package-lock.json files

* Added information card component to display work in progress page on all under construction pages (#964)

* Added informationcard template component

* added text resources for english

* Made the language as optional parameter

* Modified code to pass language object to the subapp. added css for different breakpoints

* Added props in router for the information card

* Added tests for AltinnInformationCard component

* Update en.ini

Small changes.

* Update nb.ini

Minor textual changes.

* 918 jest test handlemergeconflict (#966)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Helm charts for altinn.studio (#968)

* Added reading of workflow file in runtime (#971)

* Added workflow to createService++

* fix for add/update workflow file

* fixed workflow model

* fix build error

* fix before pr

* Added functionality for moving service instance forward in workflow

* Fix for vertical alignment (#980)

* Fix for vertical alignment

* Updated snapshot for AltinnInformationCard

* i would like good charts, please (#994)

* hardcode true for gitea install lock (#1001)

* fix deployment templates (#1004)

* 918 handlemergeconflict outstanding tasks (#992)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Added white background and shadow on entire fileEditor grid container, if shadow prop is true.

* Hiding VersionControlHeader when hasMergeConflict is true.

* Removed menu prop on mergeconflict in routes, hiding leftDrawerMenu.

* Updating fileEditor height on resize.

* Merge conflict OK green messageBox centered. SubTitle text on two rows minimum.

* Added stagefile flag to stage changes and modified code for the same

* Minor text fix.

* Added spinner when during file load in monacoEditor.

* Fixed bug when text breaks over two lines in <span>.

* Fix for stylecop issues

* Update HandleMergeConflictContainer.tsx

Fixed consecutive lines.

* 501 xsd to jsonschema (#1019)

New XSD-parser and Json Schema-parser, so we can go full circle XSD->Json Schema->XSD->Json Schema

* #892 fix (#1028)

* 918 handlemergeconflict api and stagefix (#1021)

* Added tests for AbortMerge and DiscardMerge buttons.

* Minor modification of mock code.

* Added tests. Fixed bug when repoStatus.contentStatus was null.

* Removed slash in Appbar when activeSubHeaderSelection is null.

* Added white background and shadow on entire fileEditor grid container, if shadow prop is true.

* Hiding VersionControlHeader when hasMergeConflict is true.

* Removed menu prop on mergeconflict in routes, hiding leftDrawerMenu.

* Updating fileEditor height on resize.

* Merge conflict OK green messageBox centered. SubTitle text on two rows minimum.

* Added stagefile flag to stage changes and modified code for the same

* Minor text fix.

* Added spinner when during file load in monacoEditor.

* Fixed bug when text breaks over two lines in <span>.

* First test.

* Update HandleMergeConflictContainer.tsx

Removed consecutive lines

* Fixed some white space. Removed unused queryParameter in saveServiceFile.

* Modified saveservice and getservice to avoid passing '..'

* Fixed API usage and render logic.

* Fixed coding style.

* Removed unused styling.

* Logic editor fix (#1030)

* fix logic editor layout

* remove unnecessary calc in css

* Fix Cannot access closed stream error (#1036)

* Update README.md (#1063)

* add selectors for charts (#1061)

* fix for #804 deselecting elements (#1055)

* fix for #804 deselecting elements

* Object.keys instead of Object.entries

* id not needed

* tsconfig.json change not needed

* 627 validationmessages (#1046)

* Added basic error report

* Fix layout for error report header

* remove console.log

* use correct icon and colour

* Updated mock state and snapshot for unit test

* Sanitize top-level element type names (#1066)

* 945 rulehandler (#1070)

* fix for #804 deselecting elements

* Object.keys instead of Object.entries

* id not needed

* tsconfig.json change not needed

* add dynamics into path to find RuleHandler.js

* build fix

* no hard coded values

* Added github url for altinn studio for work in progress pages (#1079)

* Stylecop rule setting changes (#1075)

* stylecop rule setting change for documentation rules

* stylecop rule setting changes for layout and maintainability rules

* sylecop rule setting changes for spacing rules, readability rules

* 749 serverside validation (#1077)

* Make language api available for Runtime

* Update repsonse format for validation errors/warnings for repsonse to client

* 804 jump around (#1076)

* border frames the elements without chaning their size

* css fixes

* fixing bug + clean up

* jumping on select fix

* css fix

* fix after design review

* disable containers and allow text-marking when editing components (#1084)

* bugfix for datamodel intellisense for seres xsd (#1089)

* Fixed delete URL. Added Break to foreach. (#1081)

* Update validation file location in service repo (#1091)

* Quick fix for demo of validation errors (#1093)

* Refinement and label

* Update bug_report.md

* Added label and assignee

* Create analysis.md

* Update analysis.md

* Added serilog logging to designer and runtime projects (#1094)

* Changed so ServiceName is used in FormFIller (#1111)

* Added Languages folder to Runtime build (#1124)

* Minor update

* Better badges

* About page (#1097)

* initial commit

* more admin stuff

* added methods for get and set description in servicemetadata file

* added option of editing description

* fix scroll

* Clean up

* forgotten fix

* clean up

* some fixes

* Fixed focus on btn and fixed unit tests

* added moment

* fixed pr comments

* added tests

* fixed snapshot

* fixed broken test

* #342 navigate to receipt page (#1098)

* Started work on reciept page.

* Started work on reciept page in react app.

* Moved reciept and submit steps to be part of the SPA.

* Now updates workflow step when api-call is done.

* Moved check before redirect check.

* Fixes for stylecop.

* Fixes for stylecop - the refixening

* Updated fix for import.

* Works on build locally. Lets see..

* Fixed casing issue. Thanks Jesper.

* Removed unused controller method.

* Updated disbaled checks for save and submit.

* Fixed after code review.

* Updates after code review.

* Fixes after code review.

* Now uses getLanguageForKey for text.

* Now fetches language using getLanguageFromKey

* Updated test.

* Reversed scroll change.

* Clarkt/1006 scrolling (#1128)

* updated package-lock.files

* before master merged

* updated package versions, removed deprecated packages

* scrolling, height and position fixed for rightdrawer

* updated snapshot because of failing test

* updated code where developers do not follow the maximum code line length rule

* updated package-lock.json files throughout the application

* 750 single field validation (#1114)

* Added support for single field validation server side

* Added support for setting a field to trigger validation front-end

* Fix naming

* remove unnecessary default value

* fix duplicate check

* Added gui option for triggering single field validation

* move ValidationTriggerField to header

* merge with master - missing file

* Remove validation trigger switch after design discussion

* Fix failing build

* added md for known Issues (#1120)

* Feature/1117 create runtime react app (#1146)

* Renamed ux-editor to runtime

* Git magic to keep file history on copied files

* Git magic to keep file history on copied files

* Updated runtime webpack name, and what app is loaded in runtime.

* Added build script to package.json

* Updated gitignore with new app.

* Updated package name for runtime

* Updated gulpfile.

* Copied gulpfile from Designer to runtime.

* Updated docker, gulp, and package files. Updated readme.

* Removed runtime tasks from Designer gulpfile.

* Fixed typo.

* Added runtime app as dependency

* Typo - removed dep

* Trigger pipelines.

* Updates after code review.

* Update runtime src (#1151)

* Updated src in runtime

* Git magic to persist file history

* Magic to persist file history

* Rename runtime react app (#1154)

* Renamed to react-app.js to avoid breaking old services.

* Typo.

* About page (#1147)

* initial commit

* more admin stuff

* added methods for get and set description in servicemetadata file

* added option of editing description

* fix scroll

* Clean up

* forgotten fix

* clean up

* some fixes

* Fixed focus on btn and fixed unit tests

* added moment

* fixed pr comments

* added tests

* fixed snapshot

* fixed broken test

* Added serviceId, and save to config file

* removed some margin added post

* fix after remove margin

* fixed jest tests

* Updated texts

* pr fixes

* ran hoist

* Added github pull request extension to projecy (#1165)

* bug fix 899 and 1122 (#1155)

* bug fix 899 and 1122

* fix tests

* added test for create new repo

* fixed test description text

* The parametername owner in the operations GetServiceName and SetServiceName is incorrect (#1175)

* 1033 replace seresxsdparser (#1160)

* Removed use of SeresXsdParser (except for in a few unit tests)
* Use XmlReader for xsd document (it handles encoding automatically).
* Enable new XSD parser:  XsdToJsonSchema and JsonInstanceModelGenerator

* 1005 3rd party components fix (#1143)

* updated package-lock.files

* 3rd party fix for designer

* stuff

* before master merged

* updated package versions, removed deprecated packages

* scrolling, height and position fixed for rightdrawer

* updated snapshot because of failing test

* updated code where developers do not follow the maximum code line length rule

* 3rd in designer fixed

* thirdparty in runtime

* if needed in for in-loop fix

* deleted console.log

* merge with master + moved from designer to runtime

* ..props added

* removing thirdparty (for designer) from runtime

* sonarcube fix

* render error fix

* build fix

* ignoring eval

* deleted some more

* sonarclound fix

* Added gulp-develop-dashboard (#1169)

* Will now remove eventListeners on unMount. (#1198)

* feature/1082-text-area (#1170)

* Added text area for ux-editor and runtime.

* Removed onDataChange to avoid rerender on each keystroke.

* OnDataChange now updates local state. This is persisted onBlur.

* Added some tests and updated snapshot.

* Fix for sonarcloud.

* Updated color of editModal labels.

* Updates after design review.

* Updated snapshot.

* Created a shared check box component.

* Moved readOnly to optional prop on all components.

* fix deploy (#1203)

* Feature/734 soft validations (#1185)

* Added validation message component

* Update form components to use new message component

* updated validation message format

* Added generic validation message rendering to address component

* updated api response format for validation result to client

* small fixes

* Mapping from api format to redux format for validations. Removed eval from validations

* updated tests, added unit test for validation mapping logic

* Add id to message component

* cleanup

* does this fix sonarqube analysis?

* change validation test to ts file

* test changing encoding of file

* revert encoding

* might help to fix the correct file...

* fix sonarqube issues

* removed console.log statement

* fix code smell, trigger new build

* added es7 to build libs for runtime

* Bugfix. (#1207)

* update message type for warning messages (#1213)

* Feature/1197 fix build pipeline (#1211)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Added new solution for altinn platform and project for data storage (#1214)

* Added new solution for altinn platform and project for data storage

* Added Altinnplatform project to docker ignore

* feature/975-escape-editor (#1180)

* escape editor on esc

* align

* queryselector not needed and it's slower than getElementById

* sonarcloud fixes

* build fix

* typo fix

* build fix, typo..

* react fixes

* mergeconflict adjustments for escaping on esc

* tabbing and esc is now possible

* ts fix + code smell fix

* alphabetically ordered props

* feature/1023-remove-old-navigation-header (#1217)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Removed old navigation header

* fix jest tests

* fix sonarqube build

* trying to fix build

* Feature/1197 fix build pipeline (#1225)

* Fix deploy to support updated build

* fix environment variable

* added deploy token to cookie

* fix unit test

* Removed old navigation header

* fix jest tests

* fix sonarqube build

* trying to fix build

* added link to dashboard in img

* fix jest tests

* fix so that dashboard atlest loads if api fails (#1245)

* Added code to set organisation and service parameters to test a service (#1248)

* Removed existing runtime db project (#1222)

* 311 db integration tests (#1224)

* Enable run locally agains cosmos and blob storage

* Added integration tests to db code

* Integration tests use same configuration settings as platform storage

* Changed namespace

* Renamed dataservice to platform storage

* downgraded dotnetcore to 2.1.0

* Corrected some typos (#1268)

* Bug/1096 - fix dashboard not loading (#1260)

* fix so that dashboard atlest loads if api fails

* Added logging to app ley creation

* Feature/1199-fix deploy pipeline (#1256)

* added flag for should deploy pipelien

* fix build

* Connected runtime to correct claim (#1269)

* Feature/374 datepicker (#1208)

* added datepicker as component

* removed unnecessary package-lock file

* added datepicker component to runtime

* datepicker for runtime added. settings for it in .cshtml file.

* removed obsolete plus

* removed classname used for debug purpose

* removed console.log statement

* renamed state and props for datepicker

* changes do we use description instead of title for rendering description

* removed console.log and simplified switch statement

* added filter for filtering out codelist repos (#1275)

* added filter for filtering out codelist repos

* Update servicesOverview.tsx

fix pr

* bug/Runtime-caches-build-of-service-implementation-files (#1271)

* fix to only cache when reloading page.

* Feature/290 binary attachment studio view (#1255)

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Sorted our languge ini files in alphabetical order.

* Fixes after code review.

* added log on delete app key (#1290)

* Bug/1096 add more logging (#1297)

* added log on delete app key

* Added code so add key waits for deletion of key

* Feature/291 binary attachment (#1294)

* quick test with react-dropzone

* added server side handling of file upload

* cleanup

* Revert FileUploadComponent back to original

* Fix api for file upload

* add newline to end of file

* revert unneccesary changes

* add missing newline at end

* remove var declarations

* fix stylecop errors

* Update README.md

* Updated label

* removed stopPropagation (#1314)

* Feature/1177 fetch runtime js from runtime pod (#1287)

* added runtime app to runtime image build

* rename react-app and removed from create service

* Fix gulp with renaming

* git ignore

* remove wwwroot content

* added endpoint for fetching runtime files

* added endpoint for fetching runtime resources

* clean up

* fix stylecop

* trying to fix build

* new trying to fix build

* Fix groupings in gitignore

* added exclusion of webpack files

* Create question.md

* Update analysis.md

* Update bug_report.md

* Update question.md

* Update feature_request.md

* Update user-story.md

* fixed url in runtime to return to service page (#1317)

* Feature/1125 update altinn apps helm charts traefik (#1352)

* Modified and moved Helm charts for Altinn Apps.

* Fixed more delpoyment config.

* Removed repository placeholder in values.yml and made required. Modified som text.

* Feature/1177 rename react app (#1356)

* rename to ui-editor and removed from wwwroot

* ran npm install

* removed unused stuff

* Fix test that trows error

* Feature/1193 update platform storage rest api (#1357)

* Updated data model according to altinn.docs

* Updated instance model and controller

* Added metadata classes to be used by dataController

* changed from array to dictionary on data in instance

* compoiler error fixed

* Updated instance tests, controller and model

* Updated platform storage test

* compiler error fix

* Upload data initially works

* Added support for multipart mime message.

* Upload data is async streams, download not quite working yet

* Uppgraded rest api. now works get file

* sjekker inn siste kode.

* Ensure that partitionKey is a string, otherwise readOne will fail

* Deleted attachementcontroller. It is replaced with dataController

* removed "only in norwegian"

* Feature/632 improve design on components (#1358)

* Feature/632 improve design on components (#1397)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* 311 service implementation (#1374)

* added service implementation for instance

* Updated instance implementation with return type and added instance model

* Modified controller, model to used guid as datatype for instance id. Modified parameter names

* Updated instanceid with guid in authorization, removed org and service GetNewInstanceId

* Added new implementation for saving instance odcument in disk, Modified the format of form data storage in disk

* stylecop fix

* Not required

* Changed var to instance object

* Added htmlwebpack plugin package, modified the path for update curren… (#1403)

* Added htmlwebpack plugin package, modified the path for update current state

* Reverted the package json changes

* Trying to fix dashboard by changing from void to task in method (#1408)

* Please work

* fix

* Feature/1126 storage in the cloud (#1404)

* Added debug controller

* trying to fix db sln

* removed unnecessary settings

* trying to fix loading of key vault values

* fix base path

* readded app settings

* fix appsettingsfile

* deleted debug controller

* removed stuff

* Removed unecessary getDerivedStateFromProps. (#1411)

* Update user-story.md (#1401)

* "Test i testmiljø" page (#1419)

* Initial commit.

* Added button to open manual testing.

* Removed consecutive linefeeds.

* Service Implementation - Updated (#1423)

* Added service implementation to save form data in blob

* Updated instancesilocaldev to use IInstance itnerface, updated startup with dependency injection for apps modus, removed the servicemode property from request context

* Added api url for development environment

* Updated hardcoded url with configuration

* Modified runtime mode to "AltinnStudio" (#1454)

* Feature/291 binary attachement sbl (#1407)

* quick test with react-dropzone

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Custom styling for list and component.

* Styling improvements and added language support.

* Removed duplicate language keys

* Language cleanup.

* Created attachmentUpload saga

* Added fileuploader component and basic attachment APIs

* Fixed duble slash on CSS call.

* Updated attachment apis to reflect new instanceId guid format

* StyleCop review fix.

* Brutal stylecop.

* Code review fixes.

* Code review v2

* Language update.

* Fixed after code review.

* StyleCop fix.

* Renamed deleteAttachment to deleteAttachmentSaga

* Moved saga logic to util and added test.

* Added register component (#1443)

* Added register component and updated storage to dotnet core 2.2

* Trying to trigger build

* trying to fix dockerfile

* added docker file and updated docker compose

* Bug/1096 stupid dashboard (#1460)

* Please work

* fix

* updated with more logging

* added logging to gitea api

* fixed stupid logging

* removed some logging

* bug/binary-attachment-url (#1461)

* quick test with react-dropzone

* Added fileUpload designer view. Created some shared components.

* Updated value and onChange functions.

* Updated snapshot.

* Removed unused method.

* Custom styling for list and component.

* Styling improvements and added language support.

* Removed duplicate language keys

* Language cleanup.

* Created attachmentUpload saga

* Added fileuploader component and basic attachment APIs

* Fixed duble slash on CSS call.

* Updated attachment apis to reflect new instanceId guid format

* StyleCop review fix.

* Brutal stylecop.

* Code review fixes.

* Code review v2

* Language update.

* Fixed after code review.

* StyleCop fix.

* Renamed deleteAttachment to deleteAttachmentSaga

* Moved saga logic to util and added test.

* Added altinn studio endpoint as a general setting.

* Fixed after code review.

* Feature/632 improve design on components (#1420)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* replaced svg with fort awesome icon

* used title attr for component to get icon, which changed when you changed the title...

* updated toolbar styling for hover and pointer

* updated how we get value from datepicker field, and how we push changes to store

* removed unnecessary semicolon

* correced incorrect camelcasing on

* Feature/1193 query time test (#1449)

* Added test class to measure cosmos db queries

* added more applicaiton owners

* added more application ids

* Finalized test queries

* Added application insights

* Fixed merge errors and added pickup of application insights instrumentationkey

* added delete operations for instances and deletes. As well as tests and cleanup of repository.

* Fixed compilation errors

* updated program to call correct directory. increased version of application insights to 2.2.0

* Feature/1278 create register component (#1466)

* Added register component and updated storage to dotnet core 2.2

* Trying to trigger build

* trying to fix dockerfile

* added docker file and updated docker compose

* Added models

* Updated register with wrapper and models

* Using serviceLibrary models instead

* fix build failed

* updated service library with missing model values

* fixed endpoints

* added readme file for Register component

* updated project files with ini-parser-netstandard (#1475)

* Moved register out from platform and renamed platform (#1478)

* Feature/1103-disabled-lock-view (#1415)

* React updated to support hooks
* #1103 "disabled/locked" view
* solves #1247 .

* bug/1351-unable-to-fetch-language

* Updated loggin messages, fixed bug in reading of config file (#1505)

* Feature/632 improve design on components (#1497)

* added icons for components and updated texts

* removed right aligned text label for added component

* updated references to a lot of icons.

* updated icons to point to correct icon set

* updated color for icon that is dragged into formEditor

* updated tests and snapshots

* removed unnecesssary id

* changed comma to semicolon

* fixed tslint:disable rule not working

* updated path to lint-json, and fixed linting error

* cleaned up a lot of linting errors

* removed unnecessary code that was commented out

* added interface for componentIcons

* shrank icons in right toolbar slightly

* replaced svg with fort awesome icon

* used title attr for component to get icon, which changed when you changed the title...

* updated toolbar styling for hover and pointer

* updated how we get value from datepicker field, and how we push changes to store

* removed unnecessary semicolon

* correced incorrect camelcasing on

* removed unused collapse for All components, changed icon for collapsible in toolbar, and changed color

* removed unused import

* Added mock files to register component (#1487)

* Moved register out from platform and renamed platform

* updated nuget package

* Added mock to register component

* fix endpoint

* fix read me

* making in acctually work

* changed to not found

* changed to a bool

* trigger build

* trying not to trigger build

* bug/file-upload-component (#1529)

* Minor fixes after test feedback.

* Fix for test.

* Feature/1508 create profile component (#1526)

* Added profile sln

* added more stuff to profile

* added missing setting in docker file

* Fix broken build

* fix users controller

* fixing profile component

* added mock to profile comp

* trying to debug

* log all the way

* log log log

* parse to bool

* trying again

* trying to fix value read from kubernetes

* here we go again

* clean up

* pr fixes

* updated with instuctions for profile

* added testdata info

* Update service library with user type enum and updated nuget package (#1547)

* updated service library

* updated service library

* fix build

* fixed testdata (#1553)

* Update appsettings.json (#1558)

* feature/1396-modify-deploy-controller (#1552)

* Removed old deploy razor view + changed client routing.

* Added deployment models, changed some logic.

* Minor cleanup.

* Minor minor cleanup.

* Code review.

* Fixed after code review.

* StyleCop you slut

* STYLE ME UP INSIDE

* Simplified status check.

* Minor fix.

* Null check for deploy response. (#1573)

* Removed old deploy razor view + changed client routing.

* Added deployment models, changed some logic.

* Minor cleanup.

* Minor minor cleanup.

* Code review.

* Fixed after code review.

* StyleCop you slut

* STYLE ME UP INSIDE

* Simplified status check.

* Minor fix.

* Added a simple null check.

* Fixed C# warnings and added some structure to ServiceLibrary (#1575)

* No more warnings

* fix enums

* fix models.workflow

* fixed a lot of things

* fixed more stuff

* fixed all models

* fixed services

* fixed some references

* Update ZipArchiveExtensions.cs

removed an extra the

* Fix so newest nuget package is used when creating service (#1576)

* No more warnings

* fix enums

* fix models.workflow

* fixed a lot of things

* fixed more stuff

* fixed all models

* fixed services

* fixed some references

* Update ZipArchiveExtensions.cs

removed an extra the

* trying to fix service templates

* Updated data api to not  handle formId other than in creation (#1571)

* Updated data api to not  handle formId only in creation

* created new project for interface classes

* fixed bug in storageclient

* refactored and renamed storage interface

* updated api to start with api/storage/v1

* Renamed TEst to Storage.IntegrationTest

* Returnes more appropriate status codes on failure. (#1583)

* Feature/1276 create authentication component (#1584)

* Added authentication component to Platform

* Added comments to startup to comply with stylecop

* Updated ReadMe with information on authentication component

* feature/1399-cluster-information-application (#1524)

* Created application skeleton.

* Simple pod controller with DI for our kubernetes api wrapper.

* Dockerized application.

* Renamed to deploymentsController

* Added dummy endpoint

* Helm charts.

* Added debug info.

* Added cors + helm template setup with values

* Removed unused controller.

* StyleCop compliant.

* Keeping role, rolebiding and SA as own files as of now.

* Fixes after code review.

* Trying to add stylecop.

* Stylecop now working.

* Added solution files.

* Updated xml file path.

* feature/1398-csharp-compile-api (#1587)

* Added compile controller.

* Added auth, changed to POST

* Created a shared compile helper class for reuse.

* Some cleanup for stylecop.

* Only models.

* Only Models.

* Doc.

* Feature/1276 create authentication component (#1590)

* Added reference to Altinn3 rulest and documentation file i project.

* removed auto generated code

* Added a debug controller and updated readme

* Updated comment

* Feature/1166 create authorization component (#1591)

* Initial commit

* Implemented the authorization component with a debug controller

* Simplified configureservices
@gudrunvigerustfuru gudrunvigerustfuru modified the milestones: MVP.2, MVP Jun 6, 2019
@lvbachmann lvbachmann added the area/data-modeling Area: Related to data models - e.g. create, edit, use data models. label Jun 11, 2019
@lvbachmann
Copy link
Contributor

@helenekri @Febakke Den mest fornuftige måten å løse dette på er å si at felter i utgangspunktet er obligatoriske - dvs. standardverdien for "Valgfri" er at det ikke er avhuket. Er dette noe dere fra funksjonell side vil protestere på at er lurt?

@lvbachmann lvbachmann modified the milestones: MVP, MVP.2 Jun 11, 2019
@Febakke
Copy link
Member

Febakke commented Jun 11, 2019

@lvbachmann Ja, det er mer naturlig at default verdien er obligatorisk. (Eller ikke valgfri)

@GGunnar
Copy link

GGunnar commented Jun 13, 2019

#1943 må ses i sammenheng når man ser på denne feilen.

@malmil malmil self-assigned this Jul 16, 2019
@malmil
Copy link
Contributor

malmil commented Jul 18, 2019

Nå er dette issuet løst ved at:

  • Om datamodellfeltet har minOccurs sjekkes et nivå opp.
  • Hvis ikke minOccurs er satt er defaultverdien obligatiorisk.
  • Man kan overskrive valgfri/obligatorisk satt i datamodellen i tjenestelogikkmenyen

@jeevananthank
Copy link
Contributor

@malmil
I have tested this with https://dev.altinn.studio/designer/newtestuser/newservice1007#/uieditor

  1. An input field has been set as 'valgfri' in the Tjenestelogikk menu
  2. A new instance is created and the same field is shown as 'required' field

@malmil
Copy link
Contributor

malmil commented Jul 18, 2019

@jeevananthank
Have you created a new service?
I just tested it in dev.altinn.studio and it works as expected. Fields set to "valgfri" get the "valgfri"-text, and the required once does not.

@malmil
Copy link
Contributor

malmil commented Jul 19, 2019

@malmil
I have tested this with https://dev.altinn.studio/designer/newtestuser/newservice1007#/uieditor

  1. An input field has been set as 'valgfri' in the Tjenestelogikk menu
  2. A new instance is created and the same field is shown as 'required' field

Found the error. Fixing it now 👍

@malmil malmil removed their assignment Jul 22, 2019
@jeevananthank jeevananthank self-assigned this Jul 22, 2019
@jeevananthank
Copy link
Contributor

The fix is tested OK.

@acn-sbuad acn-sbuad modified the milestones: MVP.2, v2019.30 Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/data-modeling Area: Related to data models - e.g. create, edit, use data models. area/ui-editor Area: Related to the designer tool for assembling app UI in Altinn Studio. kind/bug Used when there is a defect / something is not working as it should.
Projects
None yet
Development

No branches or pull requests